On 5 Nov 2005 07:22:00 -0800, Monroe_Buffalo wrote:
> I am setting up a firewall with Shorewall, and routing with static
> routes, and when I set the default route, it doesn't save. my box has
> three nics Eth0,1,2 I want the default route to point to 0 but it keeps
> pointing back to 2.
Have not done rh in awhile. /etc/sysconfig/network used to have the
default gateway device.
cat /etc/sysconfig/network
HOSTNAME=wb.home.invalid
NETWORKING=yes
NETWORKING_IPV6=no
GATEWAYDEV=eth0 <============
GATEWAY=192.168.2.1
What you might do is
cd /etc/sysconfig/network-scripts/
grep GATEWAYDEV eth*
to if directive has moved into a nic config file.
Do post a followup as to where it was set.
Add SOLUTION to the subject line for the benifit of others using a
search engine.
|