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
Line 1: Line 1:
To change the gateway addressedit the following file:
To change the gateway addressedit the following file:
<pre>
<pre>
nano /etc/sysconfig/network
vi /etc/sysconfig/network-scripts/ifcfg-eth0
</pre>
</pre>



Revision as of 07:21, 3 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.