Add persistent route in ubuntu
sudo vi /etc/network/interfaces add route there as up route add -net 192.168.0.0 netmask 255.255.0.0 gw 10.0.0.1 dev eth0 then restart the network using sudo /etc/init.d/networking restart thanks to ubuntu forum link is http://www.stumbleupon.com/toolbar/#url=http%253A%252F%252Fubuntuforums.org%252Fshowthread.php%253Fp%253D217263