Setting Gateway In Linux

view story

http://serverfault.com – i am having Ubuntu box with two nic,eth0:for private and eth1 for public with static ip assigned. on eth0: 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 network and Public Ips. route default x.x.106.1 iface eth1 x.x.106.0 * eth1 * eth0 How to solve this,can some one tell me what is the difference in making gw through eth0 and eth1 (HowTos)