RE: Route problem

2001-06-13 Thread Brian Schramm
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 RefUse
> Iface
> 192.168.0.12*   255.255.255.255 UH0  00 eth0
> 192.168.0.0 *   255.255.255.0   U 0  00 eth0
> 127.0.0.0   *   255.0.0.0   U 0  00 lo
> default gw  0.0.0.0 UG0  00 eth0
> ~# route add -host 192.168.0.100 reject  #no machine on this IP.
> ~# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 192.168.0.100   -   255.255.255.255 !H0  -0 -
> 192.168.0.12*   255.255.255.255 UH0  00 eth0
> 192.168.0.0 *   255.255.255.0   U 0  00 eth0
> 127.0.0.0   *   255.0.0.0   U 0  00 lo
> default gw  0.0.0.0 UG0  00 eth0
> ~# route -v del -host 192.168.0.100
> SIOCDELRT: No such process
> ~# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse
> Iface
> 192.168.0.100   -   255.255.255.255 !H0  -0 -
> 192.168.0.12*   255.255.255.255 UH0  00 eth0
> 192.168.0.0 *   255.255.255.0   U 0  00 eth0
> 127.0.0.0   *   255.0.0.0   U 0  00 lo
> default gw  0.0.0.0 UG0  00 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]
> 



RE: Route problem

2001-06-12 Thread Ian Perry

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 RefUse
Iface
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 eth0
~# route add -host 192.168.0.100 reject  #no machine on this IP.
~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
192.168.0.100   -   255.255.255.255 !H0  -0 -
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 eth0
~# route -v del -host 192.168.0.100
SIOCDELRT: No such process
~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
192.168.0.100   -   255.255.255.255 !H0  -0 -
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 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]



RE: Route problem

2001-06-12 Thread Anthony J. Breeds-Taurima
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 RefUse Iface
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 eth0
~# route add -host 192.168.0.100 reject  #no machine on this IP.
~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.100   -   255.255.255.255 !H0  -0 -
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 eth0
~# route -v del -host 192.168.0.100
SIOCDELRT: No such process
~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
192.168.0.100   -   255.255.255.255 !H0  -0 -
192.168.0.12*   255.255.255.255 UH0  00 eth0
192.168.0.0 *   255.255.255.0   U 0  00 eth0
127.0.0.0   *   255.0.0.0   U 0  00 lo
default gw  0.0.0.0 UG0  00 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
 */



RE: Route problem

2001-06-12 Thread Ian Perry
route del ipnumber
or are you talking about the ipfwadm or ipchains ?

-Original Message-
From: Brian Schramm [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 13, 2001 12:30 PM
To: debian-user@lists.debian.org
Subject: Route problem


Is there a way to remove a route from the route table that is set up to
reject that ip address?  I have tried on several machines with no luck.  I
am tired of rebooting to clear it.

Brian

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




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]