Re: IPv6: How does one have the system use a prefix gotten from rtsol with a static host part?

From: Michael Sierchio <kudzu_at_tenebras.com>
Date: Sat, 12 Mar 2022 00:55:12 UTC
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"