[WBEL-users] 2 addresses on a NIC and default route problem

Craig White craigwhite at azapple.com
Wed Feb 2 10:27:51 CST 2005


On Wed, 2005-02-02 at 11:05 -0500, Robert Moskowitz wrote:
> At 09:18 AM 2/2/2005, Craig White wrote:
> >On Wed, 2005-02-02 at 08:41 -0500, Robert Moskowitz wrote:
> > > At 03:06 PM 2/1/2005, Robert Moskowitz wrote:
> > > >At 10:05 AM 2/1/2005, Craig White wrote:
> > > >
> > > >>----
> > > >>I am no expert on these things but when I am setting up multiple
> > > >>addresses on a system I never put the gatewayaddress on a nic via ifcfg-
> > > >>ethx
> > > >>
> > > >>I always set
> > > >>GATEWAYDEV=ethx
> > > >>GATEWAY=xxx.xxx.xxx.xxx
> > > >>
> > > >>in /etc/sysconfig/network
> > > >>
> > > >>YMMV
> > > >
> > > >Seems to be varying, as I get the default route, but no gateway address.
> > >
> > > I removed the GATEWAYDEV statement and now I have a proper default 
> > route....
> > >
> > > I guess my mileage really DID vary!
> >----
> >my guess is that you have an entry somewhere else - either in one of the
> >ifcfg-ethx scripts or in some static-route entry
> 
> where do these 'live'?  I could not find any such files
----
#cat /etc/sysconfig/static-routes

#locate ifcfg-eth
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/networking/devices/ifcfg-eth0
/etc/sysconfig/networking/profiles/default/ifcfg-eth0

# grep GATEWAY /etc/sysconfig/network-scripts/ifcfg*

# grep GATEWAY /etc/sysconfig/networking/devices/ifcfg*

# grep GATEWAY /etc/sysconfig/networking/profiles/default/ifcfg*

Craig



More information about the Whitebox-users mailing list