Hello,

i'm coding a virtual interface. That virtual interface has to receive packets
coming on eth0. For that purpose, i'm using ipt_ROUTE. That works great, i can
see my packets arriving on red0 (my virtual interface).

But there is a problem..

If i send an icmp request to 10.0.1.1 from another computer:

The icmp request arrives on the physical interface, ROUTE target makes it
arrive on red0

icmp request arriving on red0: 10.0.0.1

The problem is that the destination MAC is the one of eth0, so, it seems the
kernel doesn't really deliver the packet to my driver. I can see it in tcpdump
but my driver receive function is never called.

I tried every -j ROUTE option, --gw or --iif, with --continue, or not..

Any idea?
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to