Date: Fri, 14 May 2010 12:30:28 +0200 From: Spil Oss <spil.oss@gmail.com> To: freebsd-stable@freebsd.org Subject: Re: ipv6_ifconfig_<interface>_alias<n> not working Message-ID: <AANLkTil9pzbfrjcpB37AxJV3CmIU34zd28-IKpPlabUx@mail.gmail.com> In-Reply-To: <4BED1A9A.10706@infracaninophile.co.uk> References: <AANLkTik2nuzYVfOXPbUyqxM4M2lDGOBaP5GZ6RDEt__Z@mail.gmail.com> <4BED1A9A.10706@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the hints Matthew!
Cleaning up my config I found the culprit..... Copied
ipv6_network_interfaces="gif0"
from some guide which off course defeated all my efforts to configure
ipv6 on the other interfaces.
The ipv6_addrs_<interface> knob doesn't seem to work (this is 8.0-p2),
can't find any references to it in the subr files either. Saw that
there's quite a bit of changes in -head though....
Kind regards,
Spil.
On Fri, May 14, 2010 at 11:40 AM, Matthew Seaman
<m.seaman@infracaninophile.co.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14/05/2010 10:07:23, Spil Oss wrote:
>
>> I'm trying to set ipv6 aliases for my jails in my rc.conf but it
>> doesn't seem to work as advertised. I have a /48 range assigned to me
>> (for this example 2001:dead:beef) and am trying to assign ipv6
>> addresses to a jail. The jails will all have ipv6 addresses in the
>> 2001:dead:beef:1 range.
>>
>>>From man rc.conf "Aliases should be set as ipv6_ifconfig_<interface>_alias<n>"
>>
>> My bge0 config in /etc/rc.conf:
>> ifconfig_bge0=
>> ipv4_addrs_bge0="10.10.2.1/24 10.10.2.2/24 10.10.2.3/24 10.10.2.5/24
>> 10.10.2.6/24"
>> ipv6_ifconfig_bge0_alias0="
>> rtadvd_interfaces="wlan0 bge0"
>>
>> Additional ipv6 config in /etc/rc.conf
>> ipv6_enable="YES"
>> ipv6_gateway_enable="YES"
>>
>> The "2001:dead:beef:1::5/64" address is not assigned to bge0.
>> There must be some stupid mistake I'm making in my config. Is it
>> perhaps the ifconfig_bge0 line that screws up my config?
>
> Hmmm... for consistencies' sake you should probably be using:
>
> ipv6_ifconfig_bge0="2001:dead:beef:2222::1/64"
> ipv6_ifconfig_bge0_alias0="2001:dead:beef:1::5/64"
>
> or, to make things absolutely parallel to your IPv4 settings:
>
> ipv6_addrs_bge0="2001:dead:beef:2222::1/64 2001:dead:beef:1::5/64"
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkvtGpoACgkQ8Mjk52CukIyauACeIVpsDf2VfGT0IpJXf0DQ2wLc
> ROQAoIomIPblYcDCtYDU1pjDakzHMbWN
> =OwJ5
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTil9pzbfrjcpB37AxJV3CmIU34zd28-IKpPlabUx>
