ipv6 / rtadv problem
pluknet at gmail.com
Mon Mar 28 15:28:55 UTC 2011
On 28 March 2011 16:55, Daniel O'Connor <darius at dons.net.au> wrote:
> I am trying to get a -CURRENT box to get an IPv6 address via RTADV, however I am not having any luck.
> I have tried the following in rc.conf :-
> (the last one I haven't seen before but it didn't seem to have an effect anyway)
> ifconfig shows..
> em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:25:90:32:09:1e
> inet6 fe80::225:90ff:fe32:91e%em0 prefixlen 64 scopeid 0x2
> inet 184.108.40.206 netmask 0xffffffc0 broadcast 220.127.116.11
> nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> I see rtadv packets on the network :-
> 12:50:46.444380 IP6 fe80::204:61ff:fe79:276f > ff02::1: ICMP6, router advertisement, length 56
> Other hosts can obtain a prefix just fine. This is the only 9.0 one, I have other FreeBSD boxes but they are 8.x ish.
1) ipv6_enable is obsolete in HEAD, see UPDATING.
2) Normally hosts ignore rtadv packets if ipv6_gateway_enable is also
set (as per rfc4861).
All you need is something like ifconfig_em0_ipv6="inet6 accept_rtadv"
More information about the freebsd-current