[Click] Click debugging

Li, W David w.david.li at lmco.com
Thu Aug 23 13:59:25 EDT 2007


Hi,

 

I am trying a simple ping application from one host to another host on
the same LAN using the following scripts:

 

 

Client:

 

ICMPPingSource(x.y.z.a, x,y,z,b)

            ->IPPrint(ping-sent-from-crais)

            ->EnsureEther(0x0800)

            ->ToDevice(eth0)

 

Server:

 

FromDevice(eth0)

            ->Classifier(12/0800)

            ->Strip(14)

            ->CheckIPHeader

            ->IPFilter(allow icmp && icmp type echo)

            ->IPPrint(received:)

            ->Discard

 

However the server never got anything. How do I debug this? 

 

Thanks.

 

- David

 

 



More information about the click mailing list