I've worked on this for a whole day. I have 2 Manjaro/Arch computers - an older workstation A and a laptop B. A work will be without regular network connectivity and I will weekly connect via crossover with my laptop to offload data. A has static IP
192.168.0.1/24 set via
netctl and B has IP
192.168.0.10/24 set via a NetworkManager profile in GUI. For A the mobo ethernet port did not seem to work and I installed a PCI NIC whihc has a link light. I tried connect A and B them with a crossover cable. The cable worked successfully at home with the same laptop and a RaspberryPi. I also cable-tested the crossover it is all correct. But at work neither computer can ping each other and the error is:
# ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. From 192.168.0.10 icmp_seq=1 Destination Host Unreachable From 192.168.0.10 icmp_seq=2 Destination Host Unreachable
Laptop has a manually set IP:
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.10 netmask 255.255.255.0 broadcast 192.168.0.255 ether f0:76:1c:b9:b8:e6 txqueuelen 1000 (Ethernet) RX packets 853896 bytes 917175985 (874.6 MiB) RX errors 0 dropped 65 overruns 0 frame 0 TX packets 378812 bytes 51523006 (49.1 MiB) TX errors 8 dropped 47 overruns 0 carrier 0 collisions 0
and so has the workstation A except the address is
192.168.0.1; netmask is the same. Link light is on for the network card on workstation A;
ethtool output on A shows the link is detected. Yet there is no ping/connectivity and on B link is not detected (message from
mii-tool outputs. What on earth could be wrong?
Updates according to comments:
Netmask is same on both A and B. I checked interfaces with:
lshw -class network -businfo - I have configured the correct interface on A - the one which belongs to the installed Realtek PCI card. Both addresses are static with the same netmask
255.255.255.0. Cards are 10/100 standard, which is confirmed by
IP route show output on B
[root@zeniba ~]# ip route show default via 192.168.0.1 dev enp3s0 proto static metric 100 192.168.0.0/24 dev enp3s0 proto kernel scope link src 192.168.0.10 metric 100
and similar on A, except the address is different.
arp in non-connected state shows no hw address for the other machine, which makes sense, I guess, if at least one machine thinks there is no link.
Next update: Almost solution: I subsequently found that on computer A
NetworkManager was still running, despite me having disabled it previously. I read up on this and set both
NetworkManager-dispatcher services to
masked - which should totally prevent NM from loading. Upon next reboot everything was working absolutely fine; there was immediate connection via crossover and I could get data as expected and this survived 5 reboots. I breathed a sigh of relief and put computer A on the production-testing site. However later during the day when I tried to connect to it with laptop B I got the same problem again. On A ethernet link light is on, but B shows no link/cable disconnected message. I will try to see if in some odd way
NetworkManager has come to life again, but maybe this is hardware fault? Or any other network service that is interfering with
And thanks very much for all the comments and suggestions. They helped me to get on the right track. I will be posting the answer I came to.