Date: Thu, 07 Jan 2010 16:13:09 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Steve Bertrand <steve@ibctech.ca> Cc: Bogdan Webb <bogdan@pgn.ro>, freebsd-questions@freebsd.org Subject: Re: FreeBSD ipv6 rc.conf settings issue Message-ID: <4B460815.1040306@infracaninophile.co.uk> In-Reply-To: <4B4604CF.2040404@ibctech.ca> References: <c81e6afd1001070059h698fc0d2g629977802276c1b9@mail.gmail.com> <4B45F643.9000809@ibctech.ca> <4B46021F.906@infracaninophile.co.uk> <4B4604CF.2040404@ibctech.ca>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAktGCBwACgkQ8Mjk52CukIwSkQCdGjMA/XT0KIFb8qcxYqX881Bx
m8IAnjMxs3Amft2Za6XY+CHpneS+wwmH
=hqWx
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B460815.1040306>
