Re: Setting default address for box with multiple IP addresses

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux