Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How do you interact with the echo server in the pcap example #9

Open
dongcarl opened this issue Nov 27, 2022 · 2 comments
Open

Comments

@dongcarl
Copy link

In the pcap example, an echo server is created on the last step, but I can't seem to interact with it at all... My invocation:

$ cargo build --example pcap && sudo RUST_BACKTRACE=1 ./target/debug/examples/pcap eth0 --gateway 192.168.0.1 --ip-addr 192.168.0.240/24
$ telnet 192.168.0.240 12345
Trying 192.168.0.240...
telnet: Unable to connect to remote host: No route to host
@spacemeowx2
Copy link
Owner

Can you provide the results returned by the ip route and ip a commands? Maybe it's a routing problem or a promiscuous mode problem.

@spacemeowx2
Copy link
Owner

You can try to assign ethernet_addr the same value as your eth0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants