[Click] How to hand packet to linux stack

Harald Schiöberg harald at net.t-labs.tu-berlin.de
Tue Dec 8 11:15:44 EST 2009


Roberto Riggio wrote:
> Hi,
> 
> i'm trying to hand packets generated by click to the standard linux
> stack. For example I have the following script:
> 
> InfiniteSource(DATASIZE 1000)
> ->UDPIPEncap(2.0.0.2, 6666, 1.0.0.2, 7777)
> ->KernelTun(2.0.0.1/8)
> ->Discard();
> 
> However, if i run another click instace with the following script:
> 
> KernelTun(1.0.0.1/8)
> ->Print()
> ->Discard();
> 
> I do not get any output.

do you have Linux' routing enabled
( echo 1 > /proc/sys/net/ipv4/ip_forward ) ?

	Harald


More information about the click mailing list