[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RAQ4] Routing issue - how do I remove a route?



> > >> 2. how to remove this route
>> >
>> >IIRC:
>> >
>> >/sbin/route del -host  ip.ad.re.ss reject
>> >
>> >I haven't used it for a while but I think this is for a /24
>> >
>> >/sbin/route del -net ip.ad.re.0 netmask 255.255.255.0 reject
>>
>>
>> won't that add a reject statement - ie, don't route to or
>> from that domain?
>>
>>
>> If so, that's going to make things worse... I want to remove
>> the route from the route table, but NOT reject traffic for it
>> - it's already NOT routing to this address, and that's my
>> entire problem. regards
>>
>
>I thought the del was to delete that route.
>http://list.cobalt.com/pipermail/cobalt-users/2002-September/078302.html
>
>Maybe man route would have the info.


I didn't find man particularly helpful.

Your command yielded the same:

[root rc.d]# /sbin/route del -net 216.87.216.0 netmask 255.255.255.0 reject
SIOCDELRT: No such process
[root rc.d]# /sbin/route | grep 216
216.87.216.0    *               255.255.255.0   U     0      0        0 eth0
[root rc.d]#

No such process?!?

Gerald's post from the archives yielded the same:

[root rc.d]# /sbin/route del -host 216.87.216.0 reject
SIOCDELRT: No such process


Yet it's clearly in the output from route.!?!?!?!

-- 
http://www.webyourbusiness.com/
Providers of E-Commerce Software &
Web Design Consultancy and Services.
PH: (970) 266-0195   FAX: (970) 266-0158