Required help in IPTables
HI all, Im newbie in iptables, I want help for something.. I have two NICs(eth0 & eth1) installed in my Server. One is connected to Network A and other to Network B.
When the application in my Server sends any packet to outer world through eth0 it should also be duplicated to eth1 and sent.. and viceversa..
In short any packet going out of eth0 should also be sent to eth1 and any packet from eth1 should also go through eth0.. I dont knw wheter this can be done or not.. and scared if this packet forwarding will go in a circular loop..
Adding to the above, Im sending the duplicated packets using the two interfaces. Now the reciever has the chance of getting the duplicated packets. Is there any option in linux kernel or using iptables stuff. to remove the duplicate packets from the same transmitting sender.
I hope you understand the situation..
Please help me with the necesary iptable stuff. I need this very urgently..
Thanks in advance,