Setting default address for box with multiple IP addresses
Craig White
craigwhite at azapple.com
Tue Jul 20 18:24:24 UTC 2004
On Tue, 2004-07-20 at 11:10, Bryan White wrote:
> 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.
----
I neglected to mention that after doing that, you need to 'service network restart'
glad it works
Craig
More information about the fedora-list
mailing list