Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 12:19:14 -0600
From:      Mark Felder <feld@feld.me>
To:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   accepting rtadv broken on 9-STABLE, re driver?
Message-ID:  <op.v7oc6cmg34t2sn@tech304>

next in thread | raw e-mail | index | archive | help
Hi guys,

I upgraded my desktop at work just around christmas to 9-PRERELEASE =
builds =20
and ipv6 has been broken since then. I've been too busy at work to fix =
it =20
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 =20
r229703M: Fri Jan  6 11:01:58 CST 2012     =20
root@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC  amd64

and my ipv6 is not working. In rc.conf I have =20
ipv6_enable_all_interfaces=3D"YES" which sets the link local and I had =20
net.inet6.ip6.accept_rtadv=3D1 in sysctl.conf. I can confirm that it was =
=20
indeed activated in sysctl, but ifconfig didn't think so:

re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
         options=3D209b<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=3D23<PERFORMNUD,AUTO_LINKLOCAL>    ## Where's the =20
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 =
=20
finds no clues. Is this broken for everyone, for the re driver, or am I =20
just crazy?


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

re0@pci0:4:0:0: class=3D0x020000 card=3D0x04f51028 chip=3D0x816810ec =
rev=3D0x06 =20
hdr=3D0x00
     vendor     =3D 'Realtek Semiconductor Co., Ltd.'
     device     =3D 'RTL8111/8168B PCI Express Gigabit Ethernet controlle=
r'
     class      =3D network
     subclass   =3D ethernet




Thanks,



Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.v7oc6cmg34t2sn>