Netstat -nr Problem

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Thu Mar 11 00:01:36 UTC 2004


Am Do, den 11.03.2004 schrieb Chris Miller um 00:43:
> Hi,
> 
> 
> I seem to have a problem with the network scripts.  If I have ifcfg-eth0
> , ifcfg-eth0:100 and ifcfg-eth0:243.  When the interfaces are uped if
> you do a netstat -nr I will have 3 default gateways all being the
> gateway in ifcfg-eth0.   Ifcfg-eth0:100 and ifcfg-eth0:243 do not have
> gateways but yet they get added as the one in ifcfg-eth0.  Even if
> ifcfg-eth0 is in a different network.  Is that right?  I have never seen
> that work that way before.  Under redhat if you don't set a gateway in
> the ifcfg script then it will not add one.  I do that to send traffic
> from the box out different gateways.

> Thank You for any help
> Chris Miller
cmiller at gammae.com

For previous Redhat release I can confirm your experience. You might try
GATEWAY=none in the aliases device configuration files.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 00:59:33 up 2 days, 1:19, load average: 0.01, 0.04, 0.06 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars






More information about the fedora-list mailing list