Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2006 16:36:28 +0100
From:      Joe Holden <joe@joeholden.co.uk>
To:        Alexandre Biancalana <ale@seudns.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Can't delete route
Message-ID:  <446C947C.9020905@joeholden.co.uk>
In-Reply-To: <446C934A.3040600@seudns.net>
References:  <446C934A.3040600@seudns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexandre Biancalana wrote:
> Hi List,
>
>    Today I had to add a new route in the company gateway. So I ran the 
> command:
>
> # 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 =>
>
> this is incorrect, the interface should be fxp1 not fxp0 (that is the 
> default interface). And Why the destination network is 0&0xa000011 and 
> not 128.110.0.0
>
>
> Trying to delete this route the follow error occur:
>
> # route delete -net 128.110.0.0 255.255.0.0 10.0.0.17
> route: writing to routing socket: No such process
> delete net 128.110.0.0: gateway 255.255.0.0: not in table
>
>
>    The company gateway is FreeBSD 4.10-STABLE.
>
>
> Any Ideas ??
>
>
>
> Best Regards,
> Alexandre Biancalana
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
If i remember correctly, 4.x route command will accept cidr, did you try 
that?

ie; route add 128.110/8 10.0.0.17

Thanks,
Joe




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