NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: High latency for IPv6 on netbsd-8



Thank you very much for your kind response.

> If there is some other LL IPv6 on your net it might
> be worth testing that one as well
I have only one IPv6 network.

> Actually, is that exactly what you are typing ( "ping6 fe80::1" ) ?
ping6 -c 3 fe80::1

> If so, there's no interface specified, and it might be using the one other
> than where your default route goes, so try
> ping6 fe80::1%wm0
It still works pretty fine.

> That suggests more a routing problem,
> Can you show an actual ping6 command failing?
I show you both ping6 and ping...

lim@netbsd:~% ping6 -c 3 -n www.netbsd.org
PING6(56=40+8+8 bytes) 2405:9800:b550:2939:f234:69d6:e0bf:8ebf --> 2001:470:a085:999::80

--- www.netbsd.org ping6 statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
lim@netbsd:~% 
lim@netbsd:~% ping6 -c 3 -n 2001:470:a085:999::80
PING6(56=40+8+8 bytes) 2405:9800:b550:2939:f234:69d6:e0bf:8ebf --> 2001:470:a085:999::80

--- 2001:470:a085:999::80 ping6 statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
lim@netbsd:~% 
lim@netbsd:~% ping -c -3 -n www.netbsd.org
PING www.netbsd.org (199.233.217.205): 56 data bytes
64 bytes from 199.233.217.205: icmp_seq=0 ttl=237 time=201.145478 ms
64 bytes from 199.233.217.205: icmp_seq=1 ttl=237 time=207.884080 ms
64 bytes from 199.233.217.205: icmp_seq=2 ttl=237 time=218.964536 ms

----www.netbsd.org PING Statistics----
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 201.145478/209.331365/218.964536/8.997260 ms

> And the IPv6 routing table, which you can get by
> netstat -r -n -f inet6
> or
> route -n show -inet6
# netstat -r -n -f inet6
Routing tables

Internet6:
Destination                             Gateway                        Flags    Refs      Use    Mtu Interface
::/104                                  ::1                            UGRS        -        -  33624  lo0
::/96                                   ::1                            UGRS        -        -  33624  lo0
default                                 fe80::1                        UGS         -        -   1500  wm0
::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
2405:9800:b550:2939::/64                link#1                         UCS         -        -   1500  wm0
2405:9800:b550:2939:8638:35ff:fe48:5720 link#1                         UHl         -        -      -  lo0
2405:9800:b550:2939:f234:69d6:e0bf:8ebf link#1                         UHl         -        -      -  lo0
fe80::/10                               ::1                            UGRS        -        -  33624  lo0
fe80::%wm0/64                           link#1                         UC          -        -      -  wm0
fe80::a00:27ff:fe2b:3226                link#1                         UHl         -        -      -  lo0
fe80::%wm1/64                           link#2                         UC          -        -      -  wm1
fe80::a00:27ff:fefd:a0e3                link#2                         UHl         -        -      -  lo0
fe80::%lo0/64                           fe80::1                        U           -        -      -  lo0
fe80::1                                 lo0                            UHl         -        -      -  lo0
ff01:1::/32                             link#1                         UC          -        -      -  wm0
ff01:2::/32                             link#2                         UC          -        -      -  wm1
ff01:3::/32                             ::1                            UC          -        -  33624  lo0
ff02::%wm0/32                           link#1                         UC          -        -      -  wm0
ff02::%wm1/32                           link#2                         UC          -        -      -  wm1
ff02::%lo0/32                           ::1                            UC          -        -  33624  lo0
fe80::1                                 8c:e1:17:c8:1b:fe              UHL         -        -      -  wm0
2405:9800:b550:2939:a583:e134:5cda:5b24 84:38:35:48:57:20              UHL         -        -      -  wm0

> There is no need to use pastebin.com - just including the output from one of
> those in e-mail should work.
I always avoid long message.
Long message does not interest people. :-p
The message at the bottom usually gets hidden and left unread by people.

> Oh, also include the output from ifconfig -a
# ifconfig -a
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: 08:00:27:2b:32:26
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.1.108/24 broadcast 192.168.1.255 flags 0x0
inet6 fe80::a00:27ff:fe2b:3226%wm0/64 flags 0x0 scopeid 0x1
inet6 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64 flags 0x0
inet6 2405:9800:b550:2939:8638:35ff:fe48:5720/128 flags 0x0
wm1: 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: 08:00:27:fd:a0:e3
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.56.56/24 broadcast 192.168.56.255 flags 0x0
inet 169.254.246.230/16 broadcast 169.254.255.255 flags 0x0
inet6 fe80::a00:27ff:fefd:a0e3%wm1/64 flags 0x0 scopeid 0x2
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 0x3

> If pinging the address fails (and you have the correct address)
I simply copy and paste.

> Last (after collecting the routing table, and ifconfig output while the
> v6 address is not working correctly) wait until it "fixes itself" and do
> those commands again (use the same method to get the v6 routing
> table so it is possible to diff the two rationally...) and send that as well.
My post will be too long, then. :-p
The followings are information while it is working.

% ping6 -c 3 -n www.netbsd.org
PING6(56=40+8+8 bytes) 2405:9800:b550:2939:f234:69d6:e0bf:8ebf --> 2001:470:a085:999::80
16 bytes from 2001:470:a085:999::80, icmp_seq=0 hlim=51 time=322.542 ms
16 bytes from 2001:470:a085:999::80, icmp_seq=1 hlim=51 time=323.701 ms
16 bytes from 2001:470:a085:999::80, icmp_seq=2 hlim=51 time=359.085 ms

--- www.netbsd.org ping6 statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 322.542/335.109/359.085/20.772 ms

# netstat -r -n -f inet6
Routing tables

Internet6:
Destination                             Gateway                        Flags    Refs      Use    Mtu Interface
::/104                                  ::1                            UGRS        -        -  33624  lo0
::/96                                   ::1                            UGRS        -        -  33624  lo0
default                                 fe80::1                        UGS         -        -   1500  wm0
::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
2405:9800:b550:2939::/64                link#1                         UCS         -        -   1990  wm0
2405:9800:b550:2939:f234:69d6:e0bf:8ebf link#1                         UHl         -        -      -  lo0
fe80::/10                               ::1                            UGRS        -        -  33624  lo0
fe80::%wm0/64                           link#1                         UC          -        -      -  wm0
fe80::a00:27ff:fe2b:3226                link#1                         UHl         -        -      -  lo0
fe80::%wm1/64                           link#2                         UC          -        -      -  wm1
fe80::a00:27ff:fefd:a0e3                link#2                         UHl         -        -      -  lo0
fe80::%lo0/64                           fe80::1                        U           -        -      -  lo0
fe80::1                                 lo0                            UHl         -        -      -  lo0
ff01:1::/32                             link#1                         UC          -        -      -  wm0
ff01:2::/32                             link#2                         UC          -        -      -  wm1
ff01:3::/32                             ::1                            UC          -        -  33624  lo0
ff02::%wm0/32                           link#1                         UC          -        -      -  wm0
ff02::%wm1/32                           link#2                         UC          -        -      -  wm1
ff02::%lo0/32                           ::1                            UC          -        -  33624  lo0
fe80::1                                 8c:e1:17:c8:1b:fe              UHL         -        -      -  wm0

# ifconfig -a
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: 08:00:27:2b:32:26
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.1.108/24 broadcast 192.168.1.255 flags 0x0
inet6 fe80::a00:27ff:fe2b:3226%wm0/64 flags 0x0 scopeid 0x1
inet6 2405:9800:b550:2939:f234:69d6:e0bf:8ebf/64 flags 0x0
wm1: 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: 08:00:27:fd:a0:e3
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 192.168.56.56/24 broadcast 192.168.56.255 flags 0x0
inet 169.254.246.230/16 broadcast 169.254.255.255 flags 0x0
inet6 fe80::a00:27ff:fefd:a0e3%wm1/64 flags 0x0 scopeid 0x2
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 0x3
npflog0: flags=0x1<UP>

Thank you,

-- 
Gua Chung Lim
 
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie


Home | Main Index | Thread Index | Old Index