This worked for me.  Thanks.  I did not know I had to type the full line
like it was put into the routing table.

Brian

Brian Schramm
[EMAIL PROTECTED]    ICQ 104442754  AIM schrammbrian
www.linuxexpert.org

               
On Wed, 13 Jun 2001, Ian Perry wrote:

> 
> try
> route del -host 192.168.0.100 reject
> 
> I just checked it out...it worked here
> 
> -----Original Message-----
> From: Anthony J. Breeds-Taurima [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 13, 2001 12:59 PM
> To: Ian Perry
> Cc: 'Brian Schramm'; debian-user@lists.debian.org
> Subject: RE: Route problem
> 
> 
> On Wed, 13 Jun 2001, Ian Perry wrote:
> 
> > route del ipnumber
> > or are you talking about the ipfwadm or ipchains ?
> 
> Hmmm didn't work here:
> ~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.12    *               255.255.255.255 UH    0      0        0 eth0
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         gw              0.0.0.0         UG    0      0        0 eth0
> ~# route add -host 192.168.0.100 reject  #no machine on this IP.
> ~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.100   -               255.255.255.255 !H    0      -        0 -
> 192.168.0.12    *               255.255.255.255 UH    0      0        0 eth0
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         gw              0.0.0.0         UG    0      0        0 eth0
> ~# route -v del -host 192.168.0.100
> SIOCDELRT: No such process
> ~# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.100   -               255.255.255.255 !H    0      -        0 -
> 192.168.0.12    *               255.255.255.255 UH    0      0        0 eth0
> 192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
> 127.0.0.0       *               255.0.0.0       U     0      0        0 lo
> default         gw              0.0.0.0         UG    0      0        0 eth0
> 
> 
> I usually use ipchains/iptables because I couldn't workout how to remove the
> reject rule.
> 
> Yours Tony.
> 
> /*
>  * "The significant problems we face cannot be solved at the
>  * same level of thinking we were at when we created them."
>  * --Albert Einstein
>  */
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 

Reply via email to