accepting rtadv broken on 9-STABLE, re driver?

Sergey Kandaurov pluknet at gmail.com
Fri Jan 6 18:49:46 UTC 2012


On 6 January 2012 22:19, Mark Felder <feld at feld.me> wrote:
> Hi guys,
>

Hi,

> I upgraded my desktop at work just around christmas to 9-PRERELEASE builds
> and ipv6 has been broken since then. I've been too busy at work to fix it
> but today I finally had the chance to figure it out.
>
> Currently I'm running:
>
> 12:11:15 tech304:~ > uname -a
> FreeBSD tech304.office.supranet.net 9.0-STABLE FreeBSD 9.0-STABLE #2
> r229703M: Fri Jan  6 11:01:58 CST 2012
> root at tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC  amd64
>
> and my ipv6 is not working. In rc.conf I have
> ipv6_enable_all_interfaces="YES" which sets the link local and I had

You mean ipv6_activate_all_interfaces="YES" ?

> net.inet6.ip6.accept_rtadv=1 in sysctl.conf. I can confirm that it was
> indeed activated in sysctl, but ifconfig didn't think so:
>
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>
>  options=209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC>
>        ether d0:67:e5:17:e1:32
>        inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0x2
>        inet 192.168.93.23 netmask 0xffffff00 broadcast 192.168.93.255
>        nd6 options=23<PERFORMNUD,AUTO_LINKLOCAL>    ## Where's the
> ACCEPT_RTADV???
>        media: Ethernet autoselect (100baseTX <full-duplex>)
>        status: active
>
> I have to manually do
>
> # ifconfig re0 inet6 accept_rtadv
>
> to get it to work. Am I missing something? Grepping /etc/rc.d/ for rtadv
> finds no clues. Is this broken for everyone, for the re driver, or am I just
> crazy?

What is in your rc.conf? Do you have "inet6 accept_rtadv" keyword in it?
IIRC it should be enough to specify ifconfig_re0_ipv6="inet6 accept_rtadv"
without additional tweaks. Consult with rc.conf(5).

HTH,
pluknet


More information about the freebsd-stable mailing list