Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2010 09:25:04 -0500
From:      David Horn <dhorn2000@gmail.com>
To:        Fernando Gont <fernando@gont.com.ar>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Processing IPv6 Router Advertisements
Message-ID:  <25ff90d61001190625m224c0aaco83ff65a1a28f28d0@mail.gmail.com>
In-Reply-To: <4B559EBC.9060502@gont.com.ar>
References:  <4B559EBC.9060502@gont.com.ar>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 19, 2010 at 6:59 AM, Fernando Gont <fernando@gont.com.ar> wrote:
> Hello, folks,
>
> I'm running FreeBSD 6.2-Release in one of my boxes, and there seems to
> be a bug in the processing of Router Advertisement messages.
>
> RA messages seem to be required to have a Source Address in the
> fe80::/32 prefix, rather than in the fe80::/10 prefix. That is, the
> first 32 bits of the IPv6 Source address must be fe80:0000, or else the
> message is dropped (at least, no changes are made to the destination
> cache or the neighbor cache).
>
> Can anybody confirm this one, or correct me if I am wrong?

A cursory look at the netinet6/nd6_rtr.c code looks like it is using
IN6_IS_ADDR_LINKLOCAL from netinet6/in6.h which should be smart enough
to just look at fe80::/10.

Try setting net.inet6.icmp6.nd6_debug=1 in /etc/sysctl.conf and reboot
to see if there is anything interesting coming out of debug logging.
(will show in dmesg and /var/log/messages)

Out of curiousity, what device is using a non EUI-64 for link-local,
or is this a manually configured link-local situation ?

Good Luck.

---Dave Horn



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