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

RE: Route problem



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:tony@cantech.net.au]
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 debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org



Reply to: