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

From: Larry Rosenman <>
Date: Sat, 12 Mar 2022 01:06:56 UTC

On 03/11/2022 6:55 pm, Michael Sierchio wrote:

> On Fri, Mar 11, 2022 at 4:45 PM Larry Rosenman <> 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           
Phone: +1 214-642-9640                 E-Mail:
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106