Article 58PDX Communication with a simple echo server works with RPi but not desktop Ubuntu

Communication with a simple echo server works with RPi but not desktop Ubuntu

by
hamsterpoop
from LinuxQuestions.org on (#58PDX)
Hi guys.

I have been stuck on this problem for quite a while now and I humbly ask for your advice.

OS: Ubuntu 18.04.1
HW: Dell Precision 5820

I have a simple example ethernet echo server running on a FPGA evaluation board. The problem is that I am not able to communicate with it from my desktop running Ubuntu 18.04.1. I am, however, able to communicate with it from my Raspberry Pi.

The echo server aquires, without DHCP, an IP of 192.168.1.10, when connecting my RPi directly to the evaluation board I can type
"ping 192.168.1.10" and I observe packets sent back and forth on Wireshark.

My desktop has 2 ethernet interfaces, en0 and enp2s0. en0 is connected to the internet. When I simply type
"ping 192.168.1.10" the OS uses the en0 interface and we get, obviously, no response. I tried updating the ip route table by doing:
"sudo ip route add 192.168.1.10 dev enp2s0" but this had no effect.

What did have an effect was specifing what interface to use with ping:
"ping -I enp2s0 192.168.1.10" makes the ping requests go over the enp2s0 interface, But still there is no response. Inspecting the packet trace in Wireshark on both desktop and RPi reveals nothing. The message exchange seems identical except that the RPi gets a response and the desktop doesnt.

Any ideas for how to debug this further? This is, unfortunately, only one of many issues I am having with Ubuntu 18.04.1 which lends to the question if I should just wipe the computer and try Ubuntu 18.04.4 or maybe 20.04?

Thanks for your helplatest?d=yIl2AUoC8zA latest?i=9sf2Wmxgttw:HtCo-Vbf4Qk:F7zBnMy latest?i=9sf2Wmxgttw:HtCo-Vbf4Qk:V_sGLiP latest?d=qj6IDK7rITs latest?i=9sf2Wmxgttw:HtCo-Vbf4Qk:gIN9vFw9sf2Wmxgttw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments