-
Notifications
You must be signed in to change notification settings - Fork 321
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
Unable to use fake ip router program to work #170
Comments
Can you post a minimal click config please? There are two halves to each interface, the device side and the host side. For tcpdump to work, you need to make sure the packets reach the host side. |
InfiniteSource(DATA <
I am trying to foward udp packets from eth0 to eth1. I wrote this as a test program to check whether I can foward them by using infinite source. |
So, this config generates 600000 packets, cuts off the ethernet header, checks the IP header, performs RED, and then sends the packets to the eth1 MAC. If you want to see them via tcpdump, you need to send them to the host interface, i.e. ToHost(eth1). You should also look into whether it would be appropriate to set the SNIFFERS flag. |
Hi,
I doing my thesis on click with kernel mode and I cannot foward packets within two interfaces (eth0, eth1). I also tried to use Infinite source to generate packets from one source (eth0) to another interface. Nothing works. Whenever I use dmesg I can see packets are created but if I use tcpdump or wireshark like programs I have no packets to my other device (eth1). Do anyone have any suggestions. I tried different sources for tutoring me about Click but I end up at http://www.read.cs.ucla.edu/click/ as root source. I dont understand why there is only a single source for tutorials. Also I request Kohler or developers to make more detailed manual pages. Any programmer new (like me) to kernel programming cannot understand the manual pages.
The text was updated successfully, but these errors were encountered: