I am trying to check my whether my ethernet network interface is working properly or not. I have two PC's and they are connected directly(without a switch). In one PC I tried to ping the other one with IP assigned but I'm getting 'Destination Host Unreachable'. I checked wireshark and there I am getting both ARP request to and reply from the second PC( I am checking in 2nd PC). Then I checked the otherway around and found that my first PC is not replying to any ARP requests. Any idea of what is causing this error?
My settings: PC 1
ink encap:Ethernet HWaddr 6c:b3:11:52:12:a5
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::66b3:11ff:fe52:2a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
PC 2
ink encap:Ethernet HWaddr 6c:b3:11:52:72:a0
inet addr:10.0.0.3 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::66b3:12ff:fe52:2a9/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:284 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (480.0 B) TX bytes:0 (34.4 KB)
From PC 1 , I tried ip route ls and I got
10.0.0.0/24 dev enp1s0 proto kernel scope link src 10.0.0.2
Saw some comments on firewall but heres what I get when I check
home# cat /etc/sysconfig/iptables
cat: /etc/sysconfig/iptables: No such file or directory
EDIT 1 : Result of ip route on PC2
home$ip route ls
default via 172.16.0.1 dev eth0 proto static
10.0.0.0/24 dev eth1 proto kernel scoope link src 10.0.0.3 metric 1
172.16.0.0/16 dev eth0 proto kernel scope link src 172.16.2.3 metric 1
Tried ping6 fe80::66b3:11ff:fe52:2a9 -I eth1
got Destination unreachable, address unreachable
error
Same result for otherway around
Note : (In case if its relevent) In PC2 I have two NICs and I am trying to communicate through eth1
ip route
on PC 2? Can you try to ping the machines via their link-local IPv6 addresses (as shown in the output ofifconfig
). On older Ubuntu releases you need to use theping6
tool for that sinceping
doesn't support IPv4 there yet.