Results 1 to 2 of 2
so I'm trying to move away from using /etc/rc.local for adding routes
I've added
IPADDRESS0=xxx.xxx.xxx.xxx
NETMASK0=xxx.xxx.xxx.xxx
GATEWAY0=xxx.xxx.xxx.xxx
to /etc/sysconfig/network/network-scripts/route-eth0
after doing 'service network restart' I'm do see the
new route ...
- 02-01-2010 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 9
route-eth....how to add default route??
so I'm trying to move away from using /etc/rc.local for adding routes
I've added
IPADDRESS0=xxx.xxx.xxx.xxx
NETMASK0=xxx.xxx.xxx.xxx
GATEWAY0=xxx.xxx.xxx.xxx
to /etc/sysconfig/network/network-scripts/route-eth0
after doing 'service network restart' I'm do see the
new route as described by directive above. However, I still do
not see the default gateway that's supposed to be on my box.
Where/how do I define the default gateway using the route-ethX
method above?
thanks
- 02-02-2010 #2
Your default gw should be set in /etc/sysconfig/network.
Google is your friend.


Reply With Quote