Setting default address for box with multiple IP addresses

Craig White craigwhite at azapple.com
Tue Jul 20 17:30:34 UTC 2004


On Tue, 2004-07-20 at 10:17, Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 20 July 2004 16:47, Bryan White wrote:
> > Andy Green wrote:
> > > I think the route app is responsible to show you the default routes and
> > > to set them.  Just run route without args first to see what your
> > > situation is.
> 
> > I don't see anything the the route command man page that suggests it has
> > anything to do with selecting the default source address of a outbound
> > connection.
> 
> You're right, I missed your point.  Still, the route output was interesting.
----
remove any gateway addresses from
/etc/sysconfig/network-scripts/ifcfg-eth0 (and 0:0 and 0:1)

put gateway address and gateway device in /etc/sysconfig/network
like
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=phoenix.mullenpr.com
GATEWAY=64.3.90.1
GATEWAYDEV=eth1

Craig





More information about the fedora-list mailing list