Re: IPv6 accept_rtadv + bfe0

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Wed, 19 Oct 2011 07:39:52 +0000
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.
Received on Wed Oct 19 2011 - 05:39:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:19 UTC