Date: Fri, 14 Oct 2011 10:26:30 +0200 From: Thomas Steen Rasmussen <thomas@gibfest.dk> To: hrs@FreeBSD.org Cc: freebsd-current@freebsd.org Subject: Re: 9.0-beta3 preferring ipv4 over ipv6 with ipv6_activate_all_interfaces="YES" Message-ID: <4E97F236.8040203@gibfest.dk> In-Reply-To: <20111014.170911.2032702506326503484.hrs@allbsd.org> References: <4E97CFFC.5020900@gibfest.dk> <20111014.151402.1498559224124829567.hrs@allbsd.org> <4E97D9F3.4020308@gibfest.dk> <20111014.170911.2032702506326503484.hrs@allbsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 14-10-2011 10:09, Hiroki Sato wrote: > Thanks. There is no problem with the source address selection. The > last questions are: > > % route get -inet www.freebsd.org [tykling@tykburk ~]$ route get -inet www.freebsd.org route to: red.freebsd.org destination: default mask: default gateway: fitfw interface: re0 flags: <UP,GATEWAY,DONE,STATIC> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 > % route get -inet6 www.freebsd.org [tykling@tykburk ~]$ route get -inet6 www.freebsd.org route to: red.freebsd.org destination: :: mask: default gateway: fe80::20d:f0ff:fe8d:4d23%re0 interface: re0 flags: <UP,GATEWAY,DONE> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 > % netstat -nrf inet6 [tykling@tykburk ~]$ netstat -nrf inet6 Routing tables Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRS lo0 => default fe80::20d:f0ff:fe8d:4d23%re0 UG re0 ::1 ::1 UH lo0 ::ffff:0.0.0.0/96 ::1 UGRS lo0 2002:d947:452:1::/64 link#5 U re0 2002:d947:452:1:224:8cff:fe02:de01 link#5 UHS lo0 fe80::/10 ::1 UGRS lo0 fe80::%re0/64 link#5 U re0 fe80::224:8cff:fe02:de01%re0 link#5 UHS lo0 fe80::%fwe0/64 link#6 U fwe0 fe80::1e:8cff:feb6:377b%fwe0 link#6 UHS lo0 fe80::%fwip0/64 link#7 U fwip0 fe80::21e:8c00:1b6:377b%fwip0 link#7 UHS lo0 fe80::%em0/64 link#12 U em0 fe80::21b:21ff:fe32:fe80%em0 link#12 UHS lo0 fe80::%lo0/64 link#13 U lo0 ff01::%re0/32 fe80::224:8cff:fe02:de01%re0 U re0 ff01::%fwe0/32 fe80::1e:8cff:feb6:377b%fwe0 U fwe0 ff01::%fwip0/32 fe80::21e:8c00:1b6:377b%fwip0 U fwip0 ff01::%em0/32 fe80::21b:21ff:fe32:fe80%em0 U em0 ff01::%lo0/32 ::1 U lo0 ff02::/16 ::1 UGRS lo0 ff02::%re0/32 fe80::224:8cff:fe02:de01%re0 U re0 ff02::%fwe0/32 fe80::1e:8cff:feb6:377b%fwe0 U fwe0 ff02::%fwip0/32 fe80::21e:8c00:1b6:377b%fwip0 U fwip0 ff02::%em0/32 fe80::21b:21ff:fe32:fe80%em0 U em0 ff02::%lo0/32 ::1 U lo0 > % ndp -r [tykling@tykburk ~]$ ndp -r fe80::20d:f0ff:fe8d:4d23%re0 if=re0, flags=, pref=medium, expire=28m15s > I guess the second one returns "route: writing to routing socket: No > such process" on your box. Is it correct? No, it returns the route to red.freebsd.org / 2001:4f8:fff6::22 (which is the default route of course). Extra info: [tykling@tykburk ~]$ telnet -6 www.freebsd.org 80 < /dev/null Trying 2001:4f8:fff6::22... Connected to red.freebsd.org. Escape character is '^]'. Connection closed by foreign host. Thanks, Thomas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E97F236.8040203>