Jump to Navigation

269 - Setup default gateway

To setup default gateway :

1. Modifying the /etc/sysconfig/network.

# vi /etc/sysconfig/network

* Setup GATEWAY={Router-IP}

===================================================

GATEWAY=192.168.10.1

===================================================

2. Save and close the file.

NETWORKING=yes
NETWORKING_IPV6=yes
HOSTNAME=myserver.mycompany.net
GATEWAY=192.168.10.1

3. Start network server.

# service network restart

or

# /etc/init.d/network restart

 

 



Main menu 2

Story | by Dr. Radut