mtcp-stack / mtcp

mTCP: A Highly Scalable User-level TCP Stack for Multicore Systems
Other
1.98k stars 435 forks source link

The epwget is ARP timeout and the epserver don't receive any packet. #286

Open TobeyJin opened 4 years ago

TobeyJin commented 4 years ago

Hi, I am running epserver and epwget for single-process, multi-threaded usage. The client always has an ARP request timeout error, while the server does not receive any packets.

So how could I can solve this problem? And I would like to know if two hosts using DPDK NICa can ping each other.

TobeyJin commented 4 years ago

And I have turned off the NetworkManager.

vincentmli commented 4 years ago

if you are running epwget on client and epserver on server both on DPDK, and there is no middle router/switches in between the client and server, you can specify the epserver dpdk0 interface MAC on the client config/arp.conf. I have not looked into the mTCP ARP code for dynamically ARP resolving, can't answer on that.

ajamshed commented 4 years ago

@TobeyJin,

I have already replied to this question in Issue #231. If you are able to communicate with static ARP entries, then we can discuss how to set up mTCP client/server with dynamic ARP resolution.

If both client and server machines are using DPDK driver (igb_uio/vfio), then you can't use ping utility to exchange ICMP traffic. You can observe and test ping traffic if one of the two uses Linux driver.