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

Re: removing blocked route



On Sat, Oct 07, 2000 at 09:57:51PM -0700, Jeremy C. Reed wrote:
> I used route reject to block an IP. To get access back to the blocked IP,
> I had to add a gateway for the host. Does anyone know how I can get rid of
> the blocked entry?
> 
> This is what I did first:
> 
>   /sbin/route add -host aa.bb.cc.200 reject # IP changed!

  /sbin/route del -host aa.bb.cc.200 reject # IP changed!

works for me

> 
> What do I do to undo this?
> 
> I worked around it by doing:
> 
>   route add -host aa.bb.cc.200 gw my.regular.gateway.here eth0
> 
> I can now get to aa.bb.cc.200, but route is like:
> 
> Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
> aa.bb.cc.200    my.regular.gate 255.255.255.255 UGH   0      0        0 eth0
> aa.bb.cc.200    -               255.255.255.255 !H    0      -        0 -
> 
> How do get rid of this ! (reject route) entry?
> 
> (I tried route del, route add ... reinstate.)
> 
> Thanks,
> 
>   Jeremy C. Reed
>   http://www.reedmedia.net/
>   http://bsd.reedmedia.net/
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
John



Reply to: