GOOGLE Search

Google
 

Tuesday, February 19, 2008

Linux Tip No. 20: Change your Default Gateway

How to Change Your Default Gateway

Temporary
[root@jepoy /]# route add default gw 192.168.1.1 eth0


Permanent

Config file: /etc/sysconfig/network

NETWORKING=yes
HOSTNAME=jepoy
GATEWAY=192.168.1.1

No comments: