i am having Ubuntu box with two nic,eth0:for private and eth1 for public with static ip assigned.
on eth0:192.168.30.1 eth1:x.x.106.111
I want to set this box as Default gateway for all the other machines and wan to do NAT ing on it.
But after assigning Ip address in eth1 i am not able to ping 192.168.30.0 network and Public Ips.
default x.x.106.1 iface eth1 x.x.106.0 * 255.255.255.0 eth1 192.168.30.0 * 255.255.255.0 eth0
How to solve this,can some one tell me what is the difference in making gw through eth0 and eth1