[Click] need help with click
Manan Chandra
manan at nyu.edu
Tue Apr 24 15:35:32 EDT 2007
hello Dr. Kohler,
I am a graduate student at New York University. I was wondering if you can answer my questions regarding Click modular router.
I want to run a click program on an NFS client machine to capture packets meant for the NFS server, and then after some delay sends them to the server.
Below is the short code that I am using.
tun0::KernelTun(137.99.10.193/31, MTU 1500, DEV_NAME wan0);
tun0->NotifierQueue->ToDevice(eth0)
the IP address of the server is 137.99.10.192 .
this is the output of route
Destination Gateway Genmask Flags Metric Ref Use Iface
137.99.10.192 * 255.255.255.254 U 0 0 0 wan0
137.99.1.0 * 255.255.255.0 U 0 0 0 eth0
default 137.99.1.1 0.0.0.0 UG 0 0 0 eth0
But I am not getting any response from the server. It would be of great
help if you could tell me how to trap the packets meant for the server
with IP address 137.99.10.192, store them in a click element for delaying
them. And then sending the packets to the server over the network such
that the client recieves the reply correctly.
Sincerely,
Manan
More information about the click
mailing list