[Techtalk] Feeling like a newbie again:route
leslie at freakybutt.net
Tue Oct 30 17:48:38 EST 2001
You can delete the rejected host from the table by doing.
"/sbin/route del -host $TARGET$ reject"
Just put del instead of add and it works perfectly :)
> Hi Folks,
> I'm feeling a bit sheepish, but I'll go ahead.
> I've found myself in a pickle. At some point, (portsentry did this -
> long story) the route to my particular host (outside of the network)
> rejected using the following command:
> "/sbin/route add -host $TARGET$ reject"
> Where (I'm assuming) $TARGET$ = my current IP address.
> However, when I look at the routing table:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> 192.168.1.0 * 255.255.255.0 U 0 0
> 127.0.0.0 * 255.0.0.0 U 0 0
> I've used route to do basic network setup, but I've never used it to
> or block routes. I know that there are several routes that have been
> blocked, and in pouring over the man pages, I can't seem to find a
> list them.
> Futher, I thought that the following command might work
> #route add reinstate -host my.ip.address
> reinstate: Host name lookup failure
> (I have cable modem dynamic IP - but even if I put in my weird domain
> I still get a host name lookup failure).
> So, ye of great route wisdom, help!!
> Michelle Murrain, Ph.D.
> tech at murrain.net
> http://www.murrain.net/public_key.html for pgp public key
> Techtalk mailing list
> Techtalk at linuxchix.org
NeoMail - Webmail that doesn't suck... as much.
More information about the Techtalk