Date: Fri, 11 Mar 2022 16:55:12 -0800 From: Michael Sierchio <kudzu@tenebras.com> To: Larry Rosenman <ler@lerctr.org> 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: <CAHu1Y71AP6cn2f5zyqU_ud-wyrQYXufM1TF=M6ssYFodxEKSNQ@mail.gmail.com> In-Reply-To: <d6a474ebfda77c4c8a678044d87b51ee@lerctr.org> References: <d6a474ebfda77c4c8a678044d87b51ee@lerctr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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" [-- Attachment #2 --] <div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 11, 2022 at 4:45 PM Larry Rosenman <<a href="mailto:ler@lerctr.org">ler@lerctr.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);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><br></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="gmail-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:rgb(0,0,0)"><span class="gmail-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="gmail-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:rgb(0,0,0)"> </p><p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ifconfig_eth1_ipv6="inet6 -accept_rtadv"</span></p><p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ipv6_gateway_enable="YES"</span></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">ipv6_activate_all_interfaces="YES"</span></p> <p class="gmail-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:rgb(0,0,0);min-height:15px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">rtadvd_enable="YES"</span></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">rtadvd_interfaces="eth1"</span></p> <p class="gmail-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:rgb(0,0,0);min-height:15px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">dhcp6c_enable="YES"</span></p> <p class="gmail-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:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">dhcp6c_interfaces="eth0"</span></p> <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:"Roboto Mono";font-size:11px">ipv6_default_interface="eth1"</span> </div></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHu1Y71AP6cn2f5zyqU_ud-wyrQYXufM1TF=M6ssYFodxEKSNQ>
