Re: 3 multi-homed




phwashington@xxxxxxxxxxx wrote:
I have 3 network cards on my system and I want to be able to forward
from LAN0 eth0 to LAN1 eth1 and LAN0 eth0 to LAN2 eth2 but not LAN1
eth1 to LAN2 eth2. I added a rule in iptables to stop forwarding from
the IP address on eth1 to eth2.
But I started looking at ethereal packets to determine how I was
getting from LAN1 to LAN2 and the ethereal output indicated that I was
going through eth0.
I'm sure that I can probably fiddle around with iptables until I can
stop this, but is there a way configure routes more explicitly to
prevent this action.

Are you running NAT on this setup? Do you have the default policy set
to Drop? Are you specifiying both interfaces when you are forwarding?

Please post the result from: iptables -v -L FORWARD

.



Relevant Pages

  • Re: 3 multi-homed
    ... eth1 to LAN2 eth2. ... the IP address on eth1 to eth2. ... I'm sure that I can probably fiddle around with iptables until I can ... Your best solution, IMHO, is to use multiple routing tables and route ...
    (comp.os.linux.networking)
  • 3 multi-homed
    ... eth1 to LAN2 eth2. ... the IP address on eth1 to eth2. ... But I started looking at ethereal packets to determine how I was ... I'm sure that I can probably fiddle around with iptables until I can ...
    (comp.os.linux.networking)
  • Re: help me to configure my RH 9 for connection sharing..!!
    ... it seems even ip forwarding doesn't work ... my script for iptables is: ...
    (comp.os.linux.networking)
  • Iptables
    ... via eth1. ... I have everything working correctly except for a forwarding ... for iptables. ... The command line that fails is as follows: ...
    (comp.os.linux.security)
  • Re: Bridging wifi to ethernet
    ... What follows is for Ubuntu Breezy but the issues are the same: ... The iptables in Breezy come unset. ... Forwarding accomplished by: ... However, I had to pull down the Firestarter forwarding/firewall to enable the use of an FTP server on the laptop (again, an Ubuntu box - I did get dual boot on FC4 on this box yesterday but have not tried the NAT thing on FC4 there yet) on its ethernet path to another desktop FC4 box on the ethernet wire. ...
    (Fedora)