Netstat -nr Problem

Chris Miller cmiller at gammae.com
Thu Mar 11 23:45:40 UTC 2004


Well I found one way to get around it for now =)

route del -net 192.168.0.0 netmask 255.255.255.0 dev eth0


Thank you again for your help


On Wed, 2004-03-10 at 18:43, Chris Miller wrote:
> 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
> 





More information about the users mailing list