Tugger the SLUGger!SLUG Mailing List Archives

RE: [SLUG] Routing with two Ethernet cards


From: Marshall, Joshua [mailto:marshallj@xxxxxxxxxxxxxxx]
>
>Hi,
>
>I have two ethernet cards in my firewall, one on 10.0.5.x network and
>one on 10.10.10.x network. I have set the routes like this:
>
>10.10.10.0 >> eth0
>10.0.5.0 >> eth1
>
>I have set ipchains to allow forwarding between the two, by doing:
>
>ipchains -A forward -s 10.0.0.0/8 -d 10.0.0.0/8 -j ACCEPT
>
>The input and output chains are similar.
>
>From the firewall I can ping hosts on both networks, but I can't ping
>through the firewall, ie from one network to the other.
>
>Does anyone know what I've overlooked?

Do you have IP Forwarding turned on in the kernel?
What are the netmasks of eth0 and eth1?

John Wiltshire