[Click] How can I route packets to Linux?

Mike Miller michael.g.miller at gmail.com
Mon Feb 28 17:03:28 EST 2011


In my click router, I am creating IP packets destined for the local
computer(that is, the 10.x.x.x address of eth0 on the machine running the
click router). I want the packets to end up routed by Linux as if they came
in over eth0(or any interface, really).

What's the easiest way to hand packets off to the kernel in usermode? I
looked at ToHost, but this also requires a FromHost, which I don't have.
Will I need to create my own element to handle this?

Thanks!
Mike


More information about the click mailing list