Can't delete route

Joe Holden joe at joeholden.co.uk
Thu May 18 15:44:34 UTC 2006


John Nielsen wrote:
> On Thursday 18 May 2006 11:31, 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
>>     
>
> Try this:
>
> route delete -net 128.110.0.0
>
> without any additional parameters.
>
> JN
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>   
I did the above mentioned steps and it added a route that could not be 
removed, only way to get rid of it was a route flush, it seemingly 
doesn't like that command for  some reason.

Thanks,
Joe



More information about the freebsd-net mailing list