[CentOS] route question
Eero Volotinen
eero.volotinen at iki.fi
Fri May 14 18:56:37 UTC 2010
2010/5/14 Jerry Geis <geisj at pagestation.com>:
> My current route for a box shows this:
>
> route -n
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 24.123.23.168 0.0.0.0 255.255.255.248 U 0 0 0 eth2
> 74.223.8.176 0.0.0.0 255.255.255.240 U 0 0 0 eth1
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
> 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth2
> 0.0.0.0 24.123.23.169 0.0.0.0 UG 0 0 0 eth2
>
> How do I setup the 74.223.8.176 route so on boot the gateway will
> automatically be
> set to 74.223.8.177
GATEWAY=74.223.8.177 on /etc/sysconfig/network file ?
--
Eero
More information about the CentOS
mailing list