Change Gateway: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
To change the gateway addressedit the following file:
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. Reboot the server to see the change.
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.


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.