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
[-- Attachment #1 --] 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 [-- Attachment #2 --] <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Arial,Helvetica,sans-serif'> <p id="reply-intro">On 03/11/2022 6:55 pm, Michael Sierchio wrote:</p> <blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"> <div id="replybody1"> <div dir="ltr"> <div dir="ltr"> </div> <div class="v1gmail_quote"> <div class="v1gmail_attr" dir="ltr">On Fri, Mar 11, 2022 at 4:45 PM Larry Rosenman <<a href="mailto:ler@lerctr.org" rel="noreferrer">ler@lerctr.org</a>> wrote:</div> <blockquote class="v1gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left: 1px solid #cccccc; padding-left: 1ex;">Greetings,<br /> 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 FireWall, 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 host. <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 / ports) to get a delegated /64 for my internal networks. <br /><br /> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">ifconfig_eth0_ipv6="inet6 </span><span style="font-variant-ligatures: no-common-ligatures;">2001:558:6045:52:b85f:5149:d333:a02a prefixlen 128 </span><span style="font-variant-ligatures: no-common-ligatures;">accept_rtadv</span><span style="font-variant-ligatures: no-common-ligatures;">"</span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"> </p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">ifconfig_eth1_ipv6="inet6 -accept_rtadv"</span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;"> </span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">ipv6_gateway_enable="YES"</span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">ipv6_activate_all_interfaces="YES"</span></p> <p class="v1gmail-p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000; min-height: 15px;"> </p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">rtadvd_enable="YES"</span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">rtadvd_interfaces="eth1"</span></p> <p class="v1gmail-p2" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000; min-height: 15px;"> </p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">dhcp6c_enable="YES"</span></p> <p class="v1gmail-p1" style="margin: 0px; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 11px; line-height: normal; font-family: 'Roboto Mono'; color: #000000;"><span class="v1gmail-s1" style="font-variant-ligatures: no-common-ligatures;">dhcp6c_interfaces="eth0"</span></p> <span style="font-variant-ligatures: no-common-ligatures; color: #000000; font-family: 'Roboto Mono'; font-size: 11px;">ipv6_default_interface="eth1"</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 />addresses 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 make that happen?</p> <div id="signature"> <div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span class="sig">-- <br />Larry Rosenman <a href="http://www.lerctr.org/~ler" target="_blank" rel="noopener noreferrer">http://www.lerctr.org/~ler</a><br />Phone: +1 214-642-9640 E-Mail: <a href="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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9d7847539e02bfb55e2739cb67f02ee2>
