FreeBSD ipv6 rc.conf settings issue

Matthew Seaman m.seaman at
Thu Jan 7 16:13:22 UTC 2010

Steve Bertrand wrote:

> Hmmm. This config does not work:
> ifconfig_re0="inet netmask"
> ifconfig_re0_alias0="inet netmask"
> ifconfig_re0_alias1="inet6 2607:f118::b6 prefixlen 64"
> ifconfig_re0_alias2="inet6 2607:f118::b7 prefixlen 64"

Yep.  Try it like this:

ifconfig_re0="inet netmask"
ifconfig_re0_alias0="inet netmask"
ipv6_ifconfig_re0="2607:f118::b6 prefixlen 64"
ipv6_ifconfig_re0_alias0="2607:f118::b7 prefixlen 64"

or, even better, like this:

ipv6_addrs_re0="2607:f118::b6/64 2607:f118::b7/64"

You can make the 2nd address in each case a /32 or /128 if you want,
but the requirement for having 2nd and subsequent addresses from a
netblock have a different netmask than the initial address on that NIC
has gone away.



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP:     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-questions mailing list