I have several computers but it only ever happens between two computers intermittently (lets call them A and B). I am able to ssh from A to another computer C and then able to ping/ssh into B.
I am not sure what is happening and I wanted help to troubleshoot the issue?
Also, A is on wifi while B,C are on wired. When i connect A to wire, connectivity is normal.
In the next segments,
A = 10.0.0.13
B = 10.0.0.5
My ipconfig/ip/route/neigh for A is below:
Code: Select all
root@turtle:~# ping 10.0.0.5
PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.
^C
--- 10.0.0.5 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2046ms
root@turtle:~# ip neigh
10.0.0.6 dev wlan0 lladdr 00:1e:06:30:be:82 STALE
10.0.0.1 dev wlan0 lladdr 04:a1:51:d3:19:5e REACHABLE
10.0.0.5 dev wlan0 lladdr 6c:62:6d:0a:bd:19 REACHABLE
169.254.0.2 dev wlan0 FAILED
10.0.0.8 dev wlan0 lladdr 44:80:eb:6b:4f:2e STALE
169.254.0.1 dev wlan0 FAILED
10.0.0.20 dev wlan0 lladdr b8:27:eb:1d:a8:e1 STALE
169.254.0.0 dev wlan0 FAILED
fe80::69ab:e2ec:5732:7766 dev wlan0 lladdr 00:21:00:d0:be:40 STALE
fe80::21e:6ff:fe30:be82 dev wlan0 lladdr 00:1e:06:30:be:82 STALE
fe80::4680:ebff:fe6b:4f2e dev wlan0 lladdr 44:80:eb:6b:4f:2e STALE
root@turtle:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 80:fa:5b:1d:99:c4 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 1000 (Local Loopback)
RX packets 4591989 bytes 521533402 (497.3 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4591989 bytes 521533402 (497.3 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.13 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::a16d:a4e:4251:d1d9 prefixlen 64 scopeid 0x20<link>
ether 00:26:b6:f5:f3:26 txqueuelen 1000 (Ethernet)
RX packets 24631732 bytes 29570946632 (27.5 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 13731301 bytes 2190771668 (2.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@turtle:~# ip route
default via 10.0.0.1 dev wlan0 proto dhcp metric 600
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.13 metric 600
169.254.0.0/16 dev wlan0 scope link metric 1000
root@turtle:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 600 0 0 wlan0
10.0.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
Code: Select all
root@kraft:~# ping 10.0.0.13
PING 10.0.0.13 (10.0.0.13) 56(84) bytes of data.
^C
--- 10.0.0.13 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5112ms
root@kraft:~# ip neigh
10.0.0.6 dev enp6s0 lladdr 00:1e:06:30:be:82 REACHABLE
10.0.0.13 dev enp6s0 lladdr 00:26:b6:f5:f3:26 REACHABLE
10.0.0.2 dev enp6s0 lladdr 00:26:b6:f5:f3:26 STALE
10.0.0.8 dev enp6s0 lladdr 44:80:eb:6b:4f:2e STALE
10.0.0.1 dev enp6s0 lladdr 04:a1:51:d3:19:5e STALE
root@kraft:~# ifconfig -a
enp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.5 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::6e62:6dff:fe0a:bd19 prefixlen 64 scopeid 0x20<link>
ether 6c:62:6d:0a:bd:19 txqueuelen 1000 (Ethernet)
RX packets 1858518718 bytes 2810368402880 (2.5 TiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 502279682 bytes 34361766023 (32.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enp7s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 6c:62:6d:0a:bd:1a txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 176 bytes 13944 (13.6 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 176 bytes 13944 (13.6 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp4s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 2a:60:a2:a8:d4:d5 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@kraft:~# ip route
default via 10.0.0.1 dev enp6s0 proto static metric 100
10.0.0.0/24 dev enp6s0 proto kernel scope link src 10.0.0.5 metric 100
root@kraft:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 100 0 0 enp6s0
10.0.0.0 0.0.0.0 255.255.255.0 U 100 0 0 enp6s0
Code: Select all
sync0:~$ ping 10.0.0.5
PING 10.0.0.5 (10.0.0.5) 56(84) bytes of data.
64 bytes from 10.0.0.5: icmp_seq=1 ttl=64 time=0.484 ms
64 bytes from 10.0.0.5: icmp_seq=2 ttl=64 time=0.479 ms
^C
--- 10.0.0.5 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1004ms
rtt min/avg/max/mdev = 0.479/0.481/0.484/0.022 ms
sync0:~$ sudo ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.6 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::21e:6ff:fe30:be82 prefixlen 64 scopeid 0x20<link>
ether 00:1e:06:30:be:82 txqueuelen 1000 (Ethernet)
RX packets 30539203 bytes 1550850481 (1.4 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 14420119 bytes 3237965135 (3.0 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1 (Local Loopback)
RX packets 15304574 bytes 3006465356 (2.7 GiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 15304574 bytes 3006465356 (2.7 GiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sync0:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:1e:06:30:be:82 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.6/24 brd 10.0.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::21e:6ff:fe30:be82/64 scope link
valid_lft forever preferred_lft forever
sync0:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.0.1 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
sync0:~$ ip neigh
10.0.0.13 dev eth0 lladdr 00:26:b6:f5:f3:26 DELAY
10.0.0.8 dev eth0 lladdr 44:80:eb:6b:4f:2e STALE
10.0.0.5 dev eth0 lladdr 6c:62:6d:0a:bd:19 STALE
10.0.0.1 dev eth0 lladdr 04:a1:51:d3:19:5e REACHABLE
fe80::69ab:e2ec:5732:7766 dev eth0 lladdr 00:21:00:d0:be:40 STALE
fe80::a16d:a4e:4251:d1d9 dev eth0 lladdr 00:26:b6:f5:f3:26 STALE
fe80::4680:ebff:fe6b:4f2e dev eth0 lladdr 44:80:eb:6b:4f:2e STALE