Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jan 2012 21:49:45 +0300
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        Mark Felder <feld@feld.me>
Cc:        freebsd-hackers@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: accepting rtadv broken on 9-STABLE, re driver?
Message-ID:  <CAE-mSOL3PEvxFwfyEs7V5tx689vQJpAhjyPJPSHh-axXU-QAmg@mail.gmail.com>
In-Reply-To: <op.v7oc6cmg34t2sn@tech304>
References:  <op.v7oc6cmg34t2sn@tech304>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 January 2012 22:19, Mark Felder <feld@feld.me> wrote:
> Hi guys,
>

Hi,

> I upgraded my desktop at work just around christmas to 9-PRERELEASE build=
s
> 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 =A06 11:01:58 CST 2012
> root@tech304.office.supranet.net:/usr/obj/tank/svn/sys/GENERIC =A0amd64
>
> and my ipv6 is not working. In rc.conf I have
> ipv6_enable_all_interfaces=3D"YES" which sets the link local and I had

You mean ipv6_activate_all_interfaces=3D"YES" ?

> net.inet6.ip6.accept_rtadv=3D1 in sysctl.conf. I can confirm that it was
> indeed activated in sysctl, but ifconfig didn't think so:
>
> re0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
>
> =A0options=3D209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_M=
AGIC>
> =A0 =A0 =A0 =A0ether d0:67:e5:17:e1:32
> =A0 =A0 =A0 =A0inet6 fe80::d267:e5ff:fe17:e132%re0 prefixlen 64 scopeid 0=
x2
> =A0 =A0 =A0 =A0inet 192.168.93.23 netmask 0xffffff00 broadcast 192.168.93=
.255
> =A0 =A0 =A0 =A0nd6 options=3D23<PERFORMNUD,AUTO_LINKLOCAL> =A0 =A0## Wher=
e's the
> ACCEPT_RTADV???
> =A0 =A0 =A0 =A0media: Ethernet autoselect (100baseTX <full-duplex>)
> =A0 =A0 =A0 =A0status: 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 j=
ust
> 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=3D"inet6 accept_rtadv=
"
without additional tweaks. Consult with rc.conf(5).

HTH,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOL3PEvxFwfyEs7V5tx689vQJpAhjyPJPSHh-axXU-QAmg>