Change Gateway: Difference between revisions

From KlavoWiki
Jump to navigationJump to search
New page: To change the gateway addressedit the following file: <pre> nano /etc/sysconfig/network </pre> and change GATEWAY= to your preferred server name. Reboot the server to see the change. [[...
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
To change the gateway addressedit the following file:
To change the gateway address edit the following file:
<pre>
<pre>
nano /etc/sysconfig/network
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.


[[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.