Popular
Latest Articles
- How to Secure your Cisco Router
- Creating CLI Views on a Cisco Router
- Configuring TACACS+ on a Cisco Router
- How to enable SDM on your router
- Build a Samba Server on Redhat / CentOS
- How to set the Time / Date and Timezone in CentOS
- How to install SSH on Solaris 10 x86
- ESX4 - How do I turn on/off a Virtual Machine from the command line ?
Linux - Setting a Default Gateway
Sunday, 10 August 2008 18:01
UNIX / Linux - Redhat / Fedora
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 19 guests online