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
On Thu, Sep 28, 2017 at 03:55:01AM +0000, Ryota Ozaki wrote:
> Could you please send outputs of the following commands?
>
> route -n get -inet6 2001:470:a085:999::80
$ route -n get -inet6 2001:470:a085:999::80
route to: 2001:470:a085:999::80
destination: ::
mask: default
gateway: fe80::ec4:7aff:feda:2d5b%wm0
local addr: fe80::5054:ff:fe12:3457%wm0
interface: wm0
flags: <UP,GATEWAY,DONE,STATIC>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 0 0
> netstat -s >/tmp/bef; ping6 -n -c 1 -X 1 2001:470:a085:999::80;
Yes, oddly enough, ping6 works:
$ netstat -s >/tmp/bef; ping6 -n -c 1 -X 1 2001:470:a085:999::80;
PING6(56=40+8+8 bytes) 2620:105:c000:3:58a4:a8c:71ce:44f9 --> 2001:470:a085:999::80
16 bytes from 2001:470:a085:999::80, icmp_seq=0 hlim=48 time=53.904 ms
--- 2001:470:a085:999::80 ping6 statistics ---
1 packets transmitted, 1 packets received, 0.0% packet loss
round-trip min/avg/max/std-dev = 53.904/53.904/53.904/0.000 ms
> netstat -s >/tmp/aft; diff -u /tmp/bef /tmp/aft
I also show the "telnet" command below to confirm the problem is still
there.
$ netstat -s >/tmp/aft; diff -u /tmp/bef /tmp/aft
--- /tmp/bef 2017-09-28 13:24:08.012733738 +0000
+++ /tmp/aft 2017-09-28 13:25:19.317597517 +0000
@@ -22,20 +22,20 @@
0 membership reports received for groups to which we belong
0 membership reports sent
tcp:
- 58 packets sent
- 55 data packets (5706 bytes)
+ 67 packets sent
+ 64 data packets (6374 bytes)
0 data packets (0 bytes) retransmitted
- 3 ack-only packets (25 delayed)
+ 3 ack-only packets (27 delayed)
0 URG only packets
0 window probe packets
0 window update packets
0 control packets
0 send attempts resulted in self-quench
- 68 packets received
- 47 acks (for 5707 bytes)
+ 79 packets received
+ 56 acks (for 6375 bytes)
0 duplicate acks
0 acks for unsent data
- 26 packets (3799 bytes) received in-sequence
+ 28 packets (3903 bytes) received in-sequence
0 completely duplicate packets (0 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
@@ -53,7 +53,7 @@
60 connections closed (including 0 drops)
0 embryonic connections dropped
0 delayed frees of tcpcb
- 47 segments updated rtt (of 45 attempts)
+ 56 segments updated rtt (of 54 attempts)
0 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts (resulting in 0 dropped connections)
@@ -61,7 +61,7 @@
0 keepalive probes sent
0 connections dropped by keepalive
0 correct ACK header predictions
- 20 correct data packet header predictions
+ 22 correct data packet header predictions
2 PCB hash misses
0 dropped due to no socket
0 connections drained due to memory shortage
@@ -86,18 +86,18 @@
0 packets with ECN CE bit
0 packets ECN ECT(0) bit
udp:
- 34 datagrams received
+ 52 datagrams received
0 with incomplete header
0 with bad data length field
0 with bad checksum
0 dropped due to no socket
- 34 broadcast/multicast datagrams dropped due to no socket
+ 52 broadcast/multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 delivered
- 34 PCB hash misses
+ 52 PCB hash misses
0 datagrams output
ip:
- 896 total packets received
+ 1160 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
@@ -112,13 +112,13 @@
0 malformed fragments dropped
0 fragments dropped after timeout
0 packets reassembled ok
- 107 packets for this host
+ 136 packets for this host
0 packets for unknown/unsupported protocol
0 packets forwarded (0 packets fast forwarded)
- 789 packets not forwardable
+ 1024 packets not forwardable
0 redirects sent
0 packets no matching gif found
- 58 packets sent from this host
+ 67 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
@@ -210,7 +210,7 @@
0 ipcomp input bytes
0 ipcomp output bytes
ip6:
- 14 total packets received
+ 22 total packets received
0 with size smaller than minimum
0 with data size < data length
0 with bad options
@@ -220,13 +220,13 @@
0 fragments dropped after timeout
0 fragments that exceeded limit
0 packets reassembled ok
- 14 packets for this host
+ 20 packets for this host
0 packets forwarded
0 packets fast forwarded
0 fast forward flows
0 packets not forwardable
0 redirects sent
- 16 packets sent from this host
+ 21 packets sent from this host
0 packets sent with fabricated ip header
0 output packets dropped due to no bufs, etc.
0 output packets discarded due to no route
@@ -236,31 +236,36 @@
0 packets that violated scope rules
0 multicast packets which we don't join
Input packet histogram:
- ICMP6: 14
+ ICMP6: 22
Mbuf statistics:
0 one mbufs
- 14 one ext mbufs
+ 22 one ext mbufs
0 two or more ext mbufs
0 packets whose headers are not continuous
0 tunneling packets that can't find gif
0 packets discarded due to too many headers
0 failures of source address selection
- 0 forward cache hit
- 0 forward cache miss
+ 2 forward cache hit
+ 1 forward cache miss
icmp6:
0 calls to icmp6_error
0 errors not generated because old message was icmp6 or so
0 errors not generated because of rate limitation
Output packet histogram:
+ echo: 1
multicast listener report: 5
router solicitation: 1
- neighbor solicitation: 2
+ neighbor solicitation: 3
+ neighbor advertisement: 2
0 messages with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input packet histogram:
- router advertisement: 14
+ echo reply: 1
+ router advertisement: 18
+ neighbor solicitation: 2
+ neighbor advertisement: 1
Histogram of error messages to be generated:
0 no route
0 administratively prohibited
@@ -286,20 +291,20 @@
0 bad redirect messages
0 path MTU changes
tcp6:
- 58 packets sent
- 55 data packets (5706 bytes)
+ 67 packets sent
+ 64 data packets (6374 bytes)
0 data packets (0 bytes) retransmitted
- 3 ack-only packets (25 delayed)
+ 3 ack-only packets (27 delayed)
0 URG only packets
0 window probe packets
0 window update packets
0 control packets
0 send attempts resulted in self-quench
- 68 packets received
- 47 acks (for 5707 bytes)
+ 79 packets received
+ 56 acks (for 6375 bytes)
0 duplicate acks
0 acks for unsent data
- 26 packets (3799 bytes) received in-sequence
+ 28 packets (3903 bytes) received in-sequence
0 completely duplicate packets (0 bytes)
0 old duplicate packets
0 packets with some dup. data (0 bytes duped)
@@ -317,7 +322,7 @@
60 connections closed (including 0 drops)
0 embryonic connections dropped
0 delayed frees of tcpcb
- 47 segments updated rtt (of 45 attempts)
+ 56 segments updated rtt (of 54 attempts)
0 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts (resulting in 0 dropped connections)
@@ -325,7 +330,7 @@
0 keepalive probes sent
0 connections dropped by keepalive
0 correct ACK header predictions
- 20 correct data packet header predictions
+ 22 correct data packet header predictions
2 PCB hash misses
0 dropped due to no socket
0 connections drained due to memory shortage
@@ -359,7 +364,7 @@
0 multicast datagrams dropped due to no socket
0 dropped due to full socket buffers
0 delivered
- 8 datagrams output
+ 9 datagrams output
(Fast) IPsec:
0 no SA found (output)
0 no memory available (output)
@@ -464,10 +469,10 @@
6 packets sent
1 reply packet
5 request packets
- 167 packets received
+ 229 packets received
0 reply packets
- 161 valid request packets
- 167 broadcast/multicast packets
+ 223 valid request packets
+ 229 broadcast/multicast packets
0 packets with unknown protocol type
0 packets with bad (short) length
0 packets with null target IP address
$ telnet netbsd.org www
Trying 2001:470:a085:999::80...
telnet: connect to address 2001:470:a085:999::80: Connection timed out
Trying 199.233.217.205...
Connected to netbsd.org.
Escape character is '^]'.
^]quit
telnet> quit
Connection closed.
--
Roy Bixler <rcbixler%nyx.net@localhost>
"The fundamental principle of science, the definition almost, is this: the
sole test of the validity of any idea is experiment."
-- Richard P. Feynman
Home |
Main Index |
Thread Index |
Old Index