IPv6 accept_rtadv + bfe0

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Wed Oct 19 07:39:56 UTC 2011


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.



More information about the freebsd-current mailing list