Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2011 07:39:52 +0000
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        Mattia Rossi <mrossi@swin.edu.au>
Cc:        Johann Hugo <jhugo@meraka.csir.co.za>, current@freebsd.org
Subject:   Re: IPv6 accept_rtadv + bfe0
Message-ID:  <E7790831-E97E-4FC9-ABEF-BBE4B25828C2@lists.zabbadoz.net>
In-Reply-To: <4E9DFE11.2070203@swin.edu.au>
References:  <201110182200.19244.jhugo@meraka.csir.co.za> <0BF0188F-777F-4FC3-9DB3-48FE22ACC31A@lists.zabbadoz.net> <4E9DFE11.2070203@swin.edu.au>

index | next in thread | previous in thread | raw e-mail

On 18. Oct 2011, at 22:30 , Mattia Rossi wrote:

> On 19/10/2011 08:16, Bjoern A. Zeeb wrote:
>> 
>> On 18. Oct 2011, at 20:00 , Johann Hugo wrote:
>> 
>>> Hi
>>> 
>>> The only way that I can get bfe0 to enable ACCEPT_RTADV is to manually do it
>>> with ifconfig bfe0 inet6 accept_rtadv. Even if I add it to ifconfig_bge0 in
>>> rc.conf it does nothing.
>>> 
>>> grep bfe /etc/rc.conf
>>> ifconfig_bfe0="DHCP accept_rtadv"
>> 
>> ifconfig_bfe0="DHCP"
>> ifconfig_bfe0_ipv6="inet6 accept_rtadv"
>> 
>> 
> So the _ipv6 bit doesn't take care of passing "inet6" to ifconfig automatically?
> 
> Does passing two options work, or do I have to pass them separately?
> E.g.:
> 
> ifconfig_bfe0_ipv6="inet6 accept_rtadv -ifdisable"
> 

yes

> or
> 
> ifconfig_bfe0_ipv6="inet6 accept_rtadv"
> ifconfig_bfe0_ipv6="inet6 -ifdisable"

Just to also answer this: rc.conf is shell; the 2nd variable assignment would just overwrite any former one.

-- 
Bjoern A. Zeeb                                 You have to have visions!
         Stop bit received. Insert coin for new address family.



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7790831-E97E-4FC9-ABEF-BBE4B25828C2>