Date: Fri, 11 Mar 2022 19:06:56 -0600 From: Larry Rosenman <ler@lerctr.org> To: Michael Sierchio <kudzu@tenebras.com> Cc: Freebsd net <freebsd-net@freebsd.org> Subject: Re: IPv6: How does one have the system use a prefix gotten from rtsol with a static host part? Message-ID: <9d7847539e02bfb55e2739cb67f02ee2@lerctr.org> In-Reply-To: <CAHu1Y71AP6cn2f5zyqU_ud-wyrQYXufM1TF=M6ssYFodxEKSNQ@mail.gmail.com> References: <d6a474ebfda77c4c8a678044d87b51ee@lerctr.org> <CAHu1Y71AP6cn2f5zyqU_ud-wyrQYXufM1TF=M6ssYFodxEKSNQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_05cd0c5f5b1c1537694d2c1d93944e80 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 03/11/2022 6:55 pm, Michael Sierchio wrote: > On Fri, Mar 11, 2022 at 4:45 PM Larry Rosenman <ler@lerctr.org> wrote: > >> Greetings, >> I'm moving my colo to a new provider, and was wondering what the >> /etc/rc.conf looks like for >> getting a prefix-delegation via my FireWall, and then using a static >> host part on the interface? >> >> I.E., im a purely static setup, I have <prefix>::53:1 set for a host. >> What do I put in /etc/rc.conf >> to use the prefix that I get from my router, but using the ::53:1 host >> address? > > I have a fixed ipv6 address on my firewall, but use dhcp6c (pkg / > ports) to get a delegated /64 for my internal networks. > > ifconfig_eth0_ipv6="inet6 2001:558:6045:52:b85f:5149:d333:a02a > prefixlen 128 accept_rtadv" > > ifconfig_eth1_ipv6="inet6 -accept_rtadv" > > ipv6_gateway_enable="YES" > > ipv6_activate_all_interfaces="YES" > > rtadvd_enable="YES" > > rtadvd_interfaces="eth1" > > dhcp6c_enable="YES" > > dhcp6c_interfaces="eth0" ipv6_default_interface="eth1" that's not exactly what I want. I'll be getting a prefix delegated to my UniFi USG, and I want the FreeBSD host to be able to assign addresses in that Prefix (not SLAAC, but static host part). I don't know that what I want is possible, but figured I'd ask. I.E. the router assigns 2001:aa:bb:cc::/64 as the prefix, an I want the host to wind up at 2001:aa:bb:cc::53:1 what do I need to do to make that happen? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106 --=_05cd0c5f5b1c1537694d2c1d93944e80 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Arial,Helve= tica,sans-serif'> <p id=3D"reply-intro">On 03/11/2022 6:55 pm, Michael Sierchio wrote:</p> <blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2= px solid; margin: 0"> <div id=3D"replybody1"> <div dir=3D"ltr"> <div dir=3D"ltr"> </div> <div class=3D"v1gmail_quote"> <div class=3D"v1gmail_attr" dir=3D"ltr">On Fri, Mar 11, 2022 at 4:45 PM Lar= ry Rosenman <<a href=3D"mailto:ler@lerctr.org" rel=3D"noreferrer">ler@le= rctr.org</a>> wrote:</div> <blockquote class=3D"v1gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; bor= der-left: 1px solid #cccccc; padding-left: 1ex;">Greetings,<br /> &nb= sp; I'm moving my colo to a new provider, and was wondering what the = <br />/etc/rc.conf looks like for<br />getting a prefix-delegation via my F= ireWall, and then using a static <br />host part on the interface?<br /><br= />I.E., im a purely static setup, I have <prefix>::53:1 set for a ho= st. <br />What do I put in /etc/rc.conf<br />to use the prefix that I= get from my router, but using the ::53:1 host <br />address?</blockquote> <div> </div> <div>I have a fixed ipv6 address on my firewall, but use dhcp6c (pkg / port= s) to get a delegated /64 for my internal networks. <br /><br /> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">ifco= nfig_eth0_ipv6=3D"inet6 </span><span style=3D"font-variant-ligatures: no-co= mmon-ligatures;">2001:558:6045:52:b85f:5149:d333:a02a prefixlen 128 </= span><span style=3D"font-variant-ligatures: no-common-ligatures;">accept_rt= adv</span><span style=3D"font-variant-ligatures: no-common-ligatures;">"</s= pan></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"> </p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">ifco= nfig_eth1_ipv6=3D"inet6 -accept_rtadv"</span></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">&nbs= p;</span></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">ipv6= _gateway_enable=3D"YES"</span></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">ipv6= _activate_all_interfaces=3D"YES"</span></p> <p class=3D"v1gmail-p2" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000; min-height: = 15px;"> </p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">rtad= vd_enable=3D"YES"</span></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">rtad= vd_interfaces=3D"eth1"</span></p> <p class=3D"v1gmail-p2" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000; min-height: = 15px;"> </p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">dhcp= 6c_enable=3D"YES"</span></p> <p class=3D"v1gmail-p1" style=3D"margin: 0px; font-variant-numeric: normal;= font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; li= ne-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class= =3D"v1gmail-s1" style=3D"font-variant-ligatures: no-common-ligatures;">dhcp= 6c_interfaces=3D"eth0"</span></p> <span style=3D"font-variant-ligatures: no-common-ligatures; color: #000000;= font-family: 'Roboto Mono'; font-size: 11px;">ipv6_default_interface=3D"et= h1"</span> </div> </div> </div> </div> </blockquote> <p>that's not exactly what I want. I'll be getting a prefix delegated= to my UniFi USG, and I want the FreeBSD host to be able to assign<br />add= resses in that Prefix (not SLAAC, but static host part).</p> <p>I don't know that what I want is possible, but figured I'd ask.</p> <p>I.E. the router assigns 2001:aa:bb:cc::/64 as the prefix, an I want the = host to wind up at 2001:aa:bb:cc::53:1 <br />what do I need to do to m= ake that happen?</p> <div id=3D"signature"> <div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">= <span class=3D"sig">-- <br />Larry Rosenman &n= bsp;  = ; <a href=3D"http://www.lerctr.org/~ler" target=3D"_blank"= rel=3D"noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 = 214-642-9640 &n= bsp; E-Mail: <a href=3D"mailto:ler@lerctr.org"= >ler@lerctr.org</a><br />US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106= <br /></span></div> </div> </body></html> --=_05cd0c5f5b1c1537694d2c1d93944e80--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d7847539e02bfb55e2739cb67f02ee2>