September 5, 2010

one gateway and two other networks (subnets)

Forums: 

Hi all,

I have a server thats got 3 nics , eth2 internet, eth0, 1 are the different subnets and each of the subnet connections have a different dhcp scope which works fine. I have tried to route the gateway connection to the other two nics via the route and ip route command plus turning on the ip_forwarding but the clients on the different subnets can not get the internet, but i can ping the gateway ip of each subnet fine, it just wont forward the traffic though to the clients.

Do i have to use iptables etc to route the traffic aswell as using route and ip route command

Any help on this will be great

Many thanks

Click Here!