NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/52554: IPv6 connections not routing to default gateway
The following reply was made to PR kern/52554; it has been noted by GNATS.
From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
To: Roy Bixler <rcbixler%nyx.net@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/52554: IPv6 connections not routing to default gateway
Date: Thu, 28 Sep 2017 12:52:05 +0900
On Tue, Sep 26, 2017 at 10:53 PM, Roy Bixler <rcbixler%nyx.net@localhost> wrote:
> On Tue, Sep 26, 2017 at 02:40:01AM +0000, Ryota Ozaki wrote:
>> The following reply was made to PR kern/52554; it has been noted by GNATS.
>>
>> From: Ryota Ozaki <ozaki-r%netbsd.org@localhost>
>> To: rcbixler%nyx.net@localhost
>> Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>, kern-bug-people%netbsd.org@localhost,
>> gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
>> Subject: Re: kern/52554: IPv6 connections not routing to default gateway
>> Date: Tue, 26 Sep 2017 11:34:49 +0900
>>
>> Can you show me
>> - netstat -nr -f inet6
>> - ifconfig
>> on both NetBSD 7.1 and NetBSD 8?
>>
>> Thanks,
>> ozaki-r
>
> Here you are. Note that the default gateways are different -- this is
> because of the "multiple default IPv6 routers with equal weights"
> architecture.
Thanks!
>
> NetBSD 7.1
>
> wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
> capabilities=2bf80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx>
> capabilities=2bf80<UDP6CSUM_Tx>
> enabled=0
> ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
> ec_enabled=0
> address: 52:54:00:12:34:57
> media: Ethernet autoselect (1000baseT full-duplex)
> status: active
> inet 10.217.128.49 netmask 0xfffff800 broadcast 10.217.135.255
> inet6 fe80::5054:ff:fe12:3457%wm0 prefixlen 64 scopeid 0x1
> inet6 2620:105:c000:3:9ae2:df9b:70eb:1894 prefixlen 64
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33648
> inet 127.0.0.1 netmask 0xff000000
> inet6 ::1 prefixlen 128
> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>
> Routing tables
>
> Internet6:
> Destination Gateway Flags Refs Use Mtu Interface
> ::/104 ::1 UGRS - - - lo0
> ::/96 ::1 UGRS - - - lo0
> default fe80::ec4:7aff:feda:2df3 UGS - - - wm0
> ::1 ::1 UH - - 33648 lo0
> ::127.0.0.0/104 ::1 UGRS - - - lo0
> ::224.0.0.0/100 ::1 UGRS - - - lo0
> ::255.0.0.0/104 ::1 UGRS - - - lo0
> ::ffff:0.0.0.0/96 ::1 UGRS - - - lo0
> 2001:db8::/32 ::1 UGRS - - - lo0
> 2002::/24 ::1 UGRS - - - lo0
> 2002:7f00::/24 ::1 UGRS - - - lo0
> 2002:e000::/20 ::1 UGRS - - - lo0
> 2002:ff00::/24 ::1 UGRS - - - lo0
> 2620:105:c000:3::/64 link#1 UC - - - wm0
> 2620:105:c000:3:9ae2:df9b:70eb:1894 52:54:00:12:34:57 UHL - - - lo0
> fe80::/10 ::1 UGRS - - - lo0
> fe80::%wm0/64 link#1 UC - - - wm0
> fe80::ec4:7aff:feda:2d5b link#1 UHLc - - - wm0
> fe80::ec4:7aff:feda:2df3 0c:c4:7a:da:2d:f3 UHLc - - - wm0
> fe80::ec4:7aff:feda:2e47 link#1 UHLc - - - wm0
> fe80::5054:ff:fe12:3457 52:54:00:12:34:57 UHL - - - lo0
> fe80::%lo0/64 fe80::1 U - - - lo0
> fe80::1 link#2 UHL - - - lo0
> ff01:1::/32 link#1 UC - - - wm0
> ff01:2::/32 ::1 UC - - - lo0
> ff02::%wm0/32 link#1 UC - - - wm0
> ff02::%lo0/32 ::1 UC - - - lo0
>
> NetBSD 8_BETA (GENERIC.201709141550Z)
>
> lo0: flags=0x8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33624
> inet 127.0.0.1/8 flags 0x0
> inet6 ::1/128 flags 0x20<NODAD>
> inet6 fe80::1%lo0/64 flags 0x0 scopeid 0x1
> wm0: flags=0x8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> capabilities=2bf80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx>
> capabilities=2bf80<TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Tx>
> capabilities=2bf80<UDP6CSUM_Tx>
> enabled=0
> ec_capabilities=7<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU>
> ec_enabled=0
> address: 52:54:00:12:34:57
> media: Ethernet autoselect (1000baseT full-duplex)
> status: active
> inet 10.217.128.44/21 broadcast 10.217.135.255 flags 0x0
> inet6 fe80::5054:ff:fe12:3457%wm0/64 flags 0x0 scopeid 0x2
> inet6 2620:105:c000:3:58a4:a8c:71ce:44f9/64 flags 0x0
>
> Routing tables
>
> Internet6:
> Destination Gateway Flags Refs Use Mtu Interface
> ::/104 ::1 UGRS - - 33624 lo0
> ::/96 ::1 UGRS - - 33624 lo0
> default fe80::ec4:7aff:feda:2e47 UGS - - - wm0
The route looks correct to me.
> ::1 lo0 UHl - - 33624 lo0
> ::127.0.0.0/104 ::1 UGRS - - 33624 lo0
> ::224.0.0.0/100 ::1 UGRS - - 33624 lo0
> ::255.0.0.0/104 ::1 UGRS - - 33624 lo0
> ::ffff:0.0.0.0/96 ::1 UGRS - - 33624 lo0
> 2001:db8::/32 ::1 UGRS - - 33624 lo0
> 2002::/24 ::1 UGRS - - 33624 lo0
> 2002:7f00::/24 ::1 UGRS - - 33624 lo0
> 2002:e000::/20 ::1 UGRS - - 33624 lo0
> 2002:ff00::/24 ::1 UGRS - - 33624 lo0
> 2620:105:c000:3::/64 link#2 UC - - - wm0
> 2620:105:c000:3:58a4:a8c:71ce:44f9 link#2 UHl - - - lo0
> fe80::/10 ::1 UGRS - - 33624 lo0
> fe80::%lo0/64 fe80::1 U - - - lo0
> fe80::1 lo0 UHl - - - lo0
> fe80::%wm0/64 link#2 UC - - - wm0
> fe80::5054:ff:fe12:3457 link#2 UHl - - - lo0
> ff01:1::/32 ::1 UC - - 33624 lo0
> ff01:2::/32 link#2 UC - - - wm0
> ff02::%lo0/32 ::1 UC - - 33624 lo0
> ff02::%wm0/32 link#2 UC - - - wm0
> fe80::ec4:7aff:feda:2e47 0c:c4:7a:da:2e:47 UHL - - - wm0
L2 of the gateway is already resolved and looks correct, so no NS message
is perhaps ok (I don't know when and how it is resolved though).
I tried similar setups but couldn't reproduce the issue. So yet I don't
know what is happening on your environment.
Could you please send outputs of the following commands?
route -n get -inet6 2001:470:a085:999::80
netstat -s >/tmp/bef; ping6 -n -c 1 -X 1 2001:470:a085:999::80;
netstat -s >/tmp/aft; diff -u /tmp/bef /tmp/aft
Thanks,
ozaki-r
Home |
Main Index |
Thread Index |
Old Index