Date: Fri, 28 Oct 2005 16:14:16 -0500 From: Craig Boston <craig@olyun.gank.org> To: SUZUKI Shinsuke <suz@kame.net> Cc: freebsd-net@freebsd.org Subject: Re: 6.0-RC1 IPv6 losing local subnet route Message-ID: <20051028211416.GA59989@nowhere> In-Reply-To: <x7r7a5of6y.wl%suz@alaxala.net> References: <20051028012957.GA50419@nowhere> <x7wtjynvlm.wl%suz@alaxala.net> <20051028040901.GA47012@nowhere> <x7u0f2nm7q.wl%suz@alaxala.net> <x7r7a5of6y.wl%suz@alaxala.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 29, 2005 at 12:04:53AM +0900, SUZUKI Shinsuke wrote: > I tried the same test using my PC with fxp drivers, but your phenomena > did not happen in my environment (at least for five hours). > > Maybe the configured prefix was regarded as off-link by some reason. > (it is theoretically possible in IPv6, but I'm not sure whether it > really happens in your case) I don't think this is the case, ndp looks normal: 2002:abcd:ef01:5555::/64 if=em1 flags=LO vltime=infinity, pltime=infinity, expire=Never, ref=0 No advertising router [ followed by a whole bunch of link local addresses from all my vlans on a different interface ] However, I think I've isolated the trigger. I noticed that on bootup, the route was _always_ missing. There was also duplicate ifconfig output -- once from rc.d/netif and once from devd upon getting "link up". Knowing that, I can cause it to happen on command by manually re-configuring an interface with an address it already has: With em1 up but not configured yet: # ifconfig em1 inet6 2002:abcd:ef01:5555::20 (routes are all normal) # ifconfig em1 inet6 2002:abcd:ef01:5555::20 (prefix route disappears) It's also been a lot more stable today than yesterday. However yesterday I was moving some cables around so there were lots of link down / up events. My guess is that devd was dutifully reconfiguring the interface on link up and causing the random drops. There is a slight delay between the second ifconfig and the route disappearing -- less than 0.5s. During that window I managed to capture the following seemingly inconsistent output fron ndp -p: 2002:abcd:ef01:5555::/64 if=em1 flags=LO vltime=infinity, pltime=infinity, expired, ref=0 No advertising router -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051028211416.GA59989>