accepting rtadv broken on 9-STABLE, re driver?

Mark Felder feld at feld.me
Fri Jan 6 18:19:22 UTC 2012


Hi guys,

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  
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?


Here's pciconf for the device -- let me know if any further info would be  
useful:

re0 at pci0:4:0:0: class=0x020000 card=0x04f51028 chip=0x816810ec rev=0x06  
hdr=0x00
     vendor     = 'Realtek Semiconductor Co., Ltd.'
     device     = 'RTL8111/8168B PCI Express Gigabit Ethernet controller'
     class      = network
     subclass   = ethernet




Thanks,



Mark


More information about the freebsd-stable mailing list