I connected my Ubuntu machine to a custom hardware (which is also running an integrated Linux) and was trying to configure Ethernet communication. IP addresses are following
Ubuntu - 192.168.2.1, Mask: 255.255.255.0 Custom HW - 192.168.2.2, Mask: 255.255.255.0
When I ping the board from ubuntu, I get
ping -I enx8cae4cf4b95a 192.168.2.2 PING 192.168.2.2 (192.168.2.2) of 192.168.2.1 enx8cae4cf4b95a: 56 (84) bytes of data. From 192.168.2.1 icmp_seq = 20 Unreachable host destination
Then I ping from the HW and I looked for tcpdump on my Ubuntu and here are the ARP messages
# tcpdump tcpdump: deleted verbose output, use -v or -vv to decode the full protocol listen in enx8cae4cf4b95a, link type EN10MB (Ethernet), capture size 262144 bytes 17: 52: 38.577654 ARP, who-has request 192.168.2.1 tell 192.168.2.2, length 48 17: 52: 38.577709 ARP, Answer 192.168.2.1 is-at 8c: ae: 4c: f4: b9: 5a (oui Unknown), length 28 17: 52: 39.637262 ARP, who-has request 192.168.2.1 tell 192.168.2.2, length 48 17: 52: 39.637307 ARP, Answer 192.168.2.1 is-at 8c: ae: 4c: f4: b9: 5a (oui Unknown), length 28
Looking at some of the answers for similar questions, I checked the ARP table and here is the result:
# ip -4 neigh 10.64.208.10 dev eno1 FAILED 192.168.2.2 dev enx8cae4cf4b95a lladdr 2e: 11: 22: 33: 44: 55 PROBE
He checked the MAC ID of the board and it is correct.
None of them is connected to the internet. I even tried to disable the firewall in Ubuntu to see if it changes something and it does not.
What am I missing?