Linux - Setting a Default Gateway
Sunday, 10 August 2008 18:01

First of all run the command to enter the default gateway,

route add default gw 10.10.10.100

Then to make sure it survives a reboot, edit the file '/etc/sysconfig/network' and add the line below. Of course changing the IP address to your default gateway - GATEWAY=10.10.10.100



 
We have 24 guests online