[Click] click - ping utility

Eddie Kohler kohler at cs.ucla.edu
Wed Feb 24 15:13:38 EST 2010


Hi Kostas,

Ha, more than 18 months later.  You have the wrong EtherEncap type I think; 
you probably meant 0x0800, which is IP, not 0x8000, which is something else.

E


Kostas Pelechrinis wrote:
> Hi all,
> 
> I am pretty new to using click so this question might seem simple to some people :) and I would like to ask your help for this.  I am trying to create my own ping utility using click.  I want to use the wireless interface ath0 in order to ping another wireless node.  I have written the following configuration file
> 
> ICMPPingSource(192.168.1.34,192.168.1.33,INTERVAL 1,LIMIT 10)
> -> AddSeqno()
> -> EtherEncap(0x8000, 00:02:6F:3E:2F:6D, 00:02:6F:3E:2F:5B)
> -> WifiEncap(0x00, 0:0:0:0:0:0)
> -> SetTXPower(63)
> -> AthdescEncap()
> -> ToDevice(ath0)
> 
> It seems that the source is sending out packets but when I am doing tcpdump at the receiver the packets do not seem to be icmp type.  As a result i don't get any ICMP_ECHO_REPLY back.  What I wanted to ask you is if I need to write any specific configuration for the receiver as well.  Also how can I print the statistics at the sender side as well?
> 
> Thanks a lot for your help on this,
> Kostas
> 
> 
> 
> 
>       
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list