Example below:
# netstat -nr
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.19.12.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 172.19.12.1 0.0.0.0 UG 0 0 0 eth0
Change Your Default Gateway
you'll need to update your /etc/sysconfig/network file to reflect the change. This file is used to configure your default gateway each time Linux boots.
NETWORKING=yes
HOSTNAME=bigboy
GATEWAY=192.168.1.1
0 comments:
Post a Comment