Linux : How to add a network static route
Here is the traditional way to set static route on Linux OS. route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 The best way to make it permanent, is to add the gateway directly to the interface by editing the interface script : /etc/sysconfig/networking/devices/ifcfg-eth0 add : GATEWAY=192.168.1.1 To remove a static route : route del -net… Read More »