Change Gateway: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
and change GATEWAY= to your preferred server name. Reboot the server to see the change. | and change GATEWAY= to your preferred server name. Reboot the server to see the change. | ||
After the change has been made you will need to [[Restart_network|restart the network]] card for the change to take effect. | |||
[[Category : Linux]] | [[Category : Linux]] |
Revision as of 23:44, 8 February 2009
To change the gateway addressedit the following file:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and change GATEWAY= to your preferred server name. Reboot the server to see the change.
After the change has been made you will need to restart the network card for the change to take effect.