Two network cards - routing and iptables

Clemens Eisserer linuxhippy at
Fri Aug 26 16:55:47 CEST 2005

Hi there,

I've just discovered the power of iptables and it just works well in
my selfbuilt isdn router. However now I also want to route between two
subnets and it just does not work.

I've two network cards in the pc:
eth0 -
eth1 -

when I try to ping another computer connected to
everything works fine, however I cannot ping my access-point in (which works from a stand-alone computer withought any

This are my routes:
LKLET021.highwa *      UH    0      0        0 ippp0     *        U     0      0        0 eth1     *        U     0      0        0 eth0
default         LKLET021.highwa          UG    0      0        0 ippp0

Furthermore it would be great if I could use this computer as a
gateway for all computers in and so that
each computer in this net could reach each other. I tried to configure
iptables a bit, but withought any success :-(

It would be great if anybody could help me, I know those are
newbie-questions, sorry.

Thank you in advance, lg Clemens

More information about the netfilter mailing list