[LARTC] How can i send the same traffic to 2 different interface

Tóth Nándor nug@sch.bme.hu
Thu Feb 17 12:50:09 CET 2005


Hi!

Kenneth Kalmer wrote:
> On Wed, 16 Feb 2005 15:05:19 -0300 (EST), favero@grad.ufsc.br
> <favero@grad.ufsc.br> wrote:
> 
>>Hi! I am making some tests here, and i wanna miror all the
>>traffic going to a ip from one interface to another ip.
>>example:
>>all packets going to 64.223.167.100 should be transmitted by
>>ppp0 to internet and by eth2 to the adress 192.168.1.100.
>>Someone know how can i do it using iptables or ip route/ip
>>rule?

-j MIRROR

> Correct if I'm wrong, I'm still learning. Wouldn't this break IP at
> protocol level? The host 192.168.1.100 will disregard the traffic
> because it's not the intended destination... I'm not sure but it seems
> impossible.

Yes, you are right too. See this thread:
http://lists.debian.org/debian-security/2001/11/msg00152.html

Maybe he would like to sniff in the traffic.

-- 
Udv,
   Nandor



More information about the LARTC mailing list