Setting default address for box with multiple IP addresses

Bryan White bryan at arcamax.com
Tue Jul 20 18:10:23 UTC 2004


Craig White wrote:

> 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

I have done that.  It cleaned up the route nicely.  Also the original 
problem seems to be fixed now (outbound connections are now from the ip 
address of the first defined IP address.

Thanks to all.

-- 
Bryan White, ArcaMax Inc.





More information about the fedora-list mailing list