FreeBSD ipv6 rc.conf settings issue
Matthew Seaman
m.seaman at infracaninophile.co.uk
Thu Jan 7 16:13:22 UTC 2010
Steve Bertrand wrote:
> Hmmm. This config does not work:
>
> ifconfig_re0="inet 208.70.104.210 netmask 255.255.255.192"
> ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255"
> 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 208.70.104.210 netmask 255.255.255.192"
ifconfig_re0_alias0="inet 208.70.104.211 netmask 255.255.255.255"
ipv6_ifconfig_re0="2607:f118::b6 prefixlen 64"
ipv6_ifconfig_re0_alias0="2607:f118::b7 prefixlen 64"
or, even better, like this:
ipv4_addrs_re0="208.70.104.210/26 208.70.104.211/26"
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.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey 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 : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20100107/226e55d6/signature.pgp
More information about the freebsd-questions
mailing list