duanjp8617 / rpkt

User-space packet processing in Rust
Apache License 2.0
31 stars 10 forks source link

Issue with Promiscuous Mode in EC2 c5n Instance #2

Open kodecraft-herald opened 1 month ago

kodecraft-herald commented 1 month ago

I am currently on an EC2 c5n instance and have encountered an issue related to promiscuous mode. As per the discussion in this GitHub issue, the ENA driver does not support promiscuous mode on these instances.

To work around this, I manually disabled promiscuous mode in the source code. While I am able to successfully transmit packets, I am unable to receive any. I attempted to run the traffic_gen.rs example, but it still fails to receive packets.

Could you please provide guidance on how I might resolve this issue or whether there is an alternative solution to ensure packet reception without relying on promiscuous mode?

Promiscuous mode enabled: image

Promiscuous mode disabled: image