IPv6 aliases on FreeBSD 10

Darren Pilgrim list_freebsd at bluerosetech.com
Sat Oct 25 17:04:50 UTC 2014


On 10/25/2014 9:25 AM, Randal L. Schwartz wrote:
> Here's what works for my ISP (I'm still on 8.4):
>
>      ipv6_enable=YES
>      ipv6_defaultrouter="fe80::1%em0"
>      ipv6_ifconfig_em0="fe80::2/64"
>      ipv6_ifconfig_em0_alias0="2607:f2f8:3080::/64"
>      ipv6_gateway_enable=YES
>
> I own the /48, but they want their leg to me to be the first /64 of
> that.  Unlike most ISPs, they're using link-local addresses for that leg
> for routing... and they send anything for my /48 to fe80::2 on that leg.

+1 For correct use of link-local addressing.  Seems odd they'd also want 
a routable /64 on it, though.

> And yes, I'm using the ::0 address as my primary machine address.  It
> works. :)
>
>      $ host red.stonehenge.com
>      red.stonehenge.com has address 208.79.95.2
>      red.stonehenge.com has IPv6 address 2607:f2f8:3080::

Those are fun.  One of my favourites:

# dig -t AAAA sprint.net +short
2600::



More information about the freebsd-questions mailing list