Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 13:20:14 +0100
From:      Brian Candler <B.Candler@pobox.com>
To:        Alexandre Biancalana <ale@seudns.net>
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: Can't delete route
Message-ID:  <20060519122014.GA13432@uk.tiscali.com>
In-Reply-To: <446CB453.4000707@seudns.net>
References:  <200605181615.k4IGFr1h020752@lurza.secnetix.de> <446CB453.4000707@seudns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 18, 2006 at 02:52:19PM -0300, Alexandre Biancalana wrote:
> > > # route add 128.110.0.0 255.255.0.0 10.0.0.17
> > > add net 128.110.0.0: gateway 255.255.0.0
...
> > >    Running   netstat -nr I get the following:
> > > 
> > > 0&0xa000011        255.255.0.0        UGSc       15      332   fxp0 =>
...
> Have some way to remove this stupid route without flushing the routing
> table ???
> This machine is main gateway of the company and I can't do a route flush 
> now, but I need to have this new route working...

Try:

  # route delete -net 0.0.0.0 -netmask 10.0.0.17

(i.e. network 0, netmask &a000011, like the netstat entry shows). I've tried
it here, it successfully removes your junk route under 6.0

Regards,

Brian.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060519122014.GA13432>