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

removing blocked route



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!

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/



Reply to: