Change Gateway: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
To change the gateway | To change the gateway address edit the following file: | ||
<pre> | <pre> | ||
vi /etc/sysconfig/network-scripts/ifcfg-eth0 | vi /etc/sysconfig/network-scripts/ifcfg-eth0 | ||
</pre> | </pre> | ||
and change GATEWAY= to your preferred server name. | and change GATEWAY= to your preferred server name. 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]] |
Latest revision as of 00:31, 9 February 2009
To change the gateway address edit the following file:
vi /etc/sysconfig/network-scripts/ifcfg-eth0
and change GATEWAY= to your preferred server name. After the change has been made you will need to restart the network card for the change to take effect.