[Click] click-align gives incorrect output
Eddie Kohler
kohler at cs.ucla.edu
Sun Jul 20 14:10:22 EDT 2008
Hi Tom,
I believe that in any tunnel opened with either KernelTun or KernelTap on
Linux, Linux will respond to the primary IP address. That's the nature of the
beast. Try userlevel FromDevice or ToDevice if you want full control of the
device.
Eddie
Tom Parker wrote:
> 2008/7/16 Eddie Kohler <kohler at cs.ucla.edu>:
>> I think you might be confused. In "fromhost_cl[0]" it is allowed to omit
>> the "[0]", so your "fromhost_cl[0] -> ARPResponder at 3" connection is still
>> there, fourth line from the bottom. The configuration looks totally valid
>> to me. Note that in your input config fromhost_cl[0] -> ... -> tap0 ->
>> fromhost_cl.
>
> Ah... ok, that makes much more sense now. Haven't been using click for
> very long, and didn't know you could omit [0].
>
> On a related note regarding the config itself and what I was trying to
> do, I want to setup a KernelTap that will receive all of the Ethernet
> packets sent to a particular IP address. However, for some reason
> attempting to ping 1.0.0.1 with a KernelTap(1.0.0.1/24) gets the
> kernel responding, but pinging 1.0.0.2 sends the packet to Click... is
> there any way I can get Click to intercept packets sent to 1.0.0.1 as
> well? The KernelTun documentation says this is the expected behaviour,
> but I'd hoped that things would be different for KernelTap. I've also
> tried setting up tun/tap devices manually, but it doesn't appear to
> help.
>
> Tom
More information about the click
mailing list