Date: Mon, 4 May 2009 10:47:33 +0800 From: Rommel Laranjo <rslaranjo@gmail.com> To: Hiroki Sato <hrs@freebsd.org> Cc: freebsd-net@freebsd.org Subject: Re: Freebsd failed to create routing prefix Message-ID: <f051005f0905031947w8062dc0yc3ca9a615548551e@mail.gmail.com> In-Reply-To: <20090504.103743.232652487.hrs@allbsd.org> References: <f051005f0905021259v7464998ucb63b93d315f3fe9@mail.gmail.com> <20090503.081617.15105360.hrs@allbsd.org> <f051005f0905031731t6cde557l5251caf2ec24f41f@mail.gmail.com> <20090504.103743.232652487.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Hiroki-san, The box I am using is FreeBSD 7.0-Release: # uname -a FreeBSD freebsd7.example.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 On Mon, May 4, 2009 at 9:37 AM, Hiroki Sato <hrs@freebsd.org> wrote: > Rommel Laranjo <rslaranjo@gmail.com> wrote > =A0in <f051005f0905031731t6cde557l5251caf2ec24f41f@mail.gmail.com>: > > rs> Yes, my box has two NICs and I have these lines at my rc.conf. > rs> > rs> ipv6_enable=3D"YES" > rs> ipv6_network_interfaces=3D"AUTO" > > =A0Ah, from 7.1R there seems a regression of handling IPv6 link-level > =A0route on a system with multiple NICs and receiving RAs. =A0When one NI= C > =A0received an RA, another NIC's link-level route (i.e. marked as UC > =A0flag in netstat -r) is removed for some reason and it does not work > =A0even if the route is manually added after the removal (btw, you can > =A0add the route by using "route add -inet6 > =A02001:db8:1234:abcd:20c:27ff:fe3d:63dd/64 -interface em0 -cloning > =A0-nostatic"). I tried this, and it add the expected route for the prefix: 2001:db8:1234:abcd::/64 link#1 UC = em0 But when I pinged the router, I still got no success: # ping6 2001:db8:1234:abcd::fff2 PING6(56=3D40+8+8 bytes) 2001:db8:1234:abcd:20c:27ff:fe3d:63dd --> 2001:db8:1234:abcd::fff2 ping6: sendmsg: Invalid argument ping6: wrote 2001:db8:1234:abcd::fff2 16 chars, ret=3D-1 ping6: sendmsg: Invalid argument ping6: wrote 2001:db8:1234:abcd::fff2 16 chars, ret=3D-1 ^C --- 2001:db8:1234:abcd::fff2 ping6 statistics --- 2 packets transmitted, 0 packets received, 100.0% packet loss I also got this logged at the console: nd6_storelladdr: sdl_alen =3D=3D 0 > > =A0Your procedure looks correct to me and it should work on 7.0R, but on > =A0both 7.1R and 7.2R it does not work at least. =A0While I still have no > =A0idea about a workaround to this symptom at this moment, I think it > =A0will be fixed soon in the source tree. Thanks alot, Romskie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f051005f0905031947w8062dc0yc3ca9a615548551e>