On Tue, 2 Dec 2003 14:40:21 +0100, Christian Vorholt <(E-Mail Removed)> wrote:
> hi folks!
> I've got a strange routing problem between my networks.
> Here's the situation:
>
> ----------
> Linux box
> with iptables v1.2.7a
> eth0 192.168.2.1/255.255.255.0
> eth1 182.168.0.1/255.255.255.0 (ADSL connection, masquerading)
> eth2 192.168.3.1/255.255.255.0
> -----------
>
> eth1 points to the internet.
> At the moment it is possible to reach the internet from eth0 and eth2.
>
> The problem is:
> You can ping hosts on eth0 and eth2 on the linux box,
> but no ping is possible from a host on eth0 to a host on eth2.
You need to insert (-I) rules in your forwarding chain to ALLOW forwarding
both ways between 192.168.2.1/24 and 192.168.3.1/24 networks (before any
masquerading rules).
If you are doing pppoe, your IP on eth0 is not used and should probably be
in one of the other private network ranges (10.x.x.x or 172.16.x.x) just
so it is not confused with your LANs (182.168.0.1 must be a slip of the
fingers).
--
David Efflandt - All spam ignored
http://www.de-srv.com/