RE: Route problem
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
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
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
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]
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
Re: PPP route problem?
John Maheu wrote: > Here is the output from > > ROOT:/root>route -n > Kernel IP routing table > Destination Gateway Genmask Flags Metric RefUse Iface > 207.34.68.254 0.0.0.0 255.255.255.255 UH0 00 ppp0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 01 lo > 0.0.0.0 207.34.68.254 0.0.0.0 UG0 00 ppp0 [snip] > ppp0 Link encap:Point-to-Point Protocol > inet addr:207.34.68.2 P-t-P:207.34.68.254 Mask:255.255.255.0 > UP POINTOPOINT RUNNING MTU:1500 Metric:1 > RX packets:15 errors:1 dropped:1 overruns:0 frame:0 > TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 > Collisions:0 > Memory:384f038-384fc04 > > I can't seem to add the gateway address > > ROOT:/root>route add default gw 199.45.65.1 > SIOCADDRT: Network is unreachable > The IP (199.45.65.1) given as the gateway will not work as it is not on your network (207.34.68.0). Your gateway is 207.34.68.254 from your routing table. This gets added automatically by pppd. The fact that you can ftp and ping outside your network means that routing is setup properly for you (for the most part). Does telnet not work for any hosts or just one in particular? You can use the traceroute command to see how far you get before getting host unreachable. Don't know what else to tell you, but I hope this helps you get closer to a solution. -- Paul Miller [EMAIL PROTECTED]
Re: PPP route problem?
On 4 Nov 1998 [EMAIL PROTECTED] wrote: > John Maheu writes: > > Any idea on how to fix this? ftp, and ping work fine. > > Can you telnet from Windows? Could your isp be blocking telnet? > -- > John Hasler > [EMAIL PROTECTED] (John Hasler) > Dancing Horse Hill > Elmwood, WI > I don't have Windows and no the isp doesn't block telnet. However, I can ssh login. I also have a gateway parameter, but I'm not sure where to put it in the ppp scripts. I did add the netmask address 255.255.255.0 to /etc/ppp/peer/provider Here is the output from ROOT:/root>route -n Kernel IP routing table Destination Gateway Genmask Flags Metric RefUse Iface 207.34.68.254 0.0.0.0 255.255.255.255 UH0 00 ppp0 127.0.0.0 0.0.0.0 255.0.0.0 U 0 01 lo 0.0.0.0 207.34.68.254 0.0.0.0 UG0 00 ppp0 ROOT:/etc/ppp>ifconfig loLink encap:Local Loopback inet addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK RUNNING MTU:3584 Metric:1 RX packets:58 errors:0 dropped:0 overruns:0 frame:0 TX packets:58 errors:0 dropped:0 overruns:0 carrier:0 Collisions:0 ppp0 Link encap:Point-to-Point Protocol inet addr:207.34.68.2 P-t-P:207.34.68.254 Mask:255.255.255.0 UP POINTOPOINT RUNNING MTU:1500 Metric:1 RX packets:15 errors:1 dropped:1 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 Collisions:0 Memory:384f038-384fc04 I can't seem to add the gateway address ROOT:/root>route add default gw 199.45.65.1 SIOCADDRT: Network is unreachable The OS was installed (originally) with a static ip address on a LAN. Any suggestions? Thanks John
Re: PPP route problem?
John Maheu writes: > Any idea on how to fix this? ftp, and ping work fine. Can you telnet from Windows? Could your isp be blocking telnet? -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
PPP route problem?
Having just installed pppd and configured pppd with pppconfig I get the following when I try to telnet to a valid address through my ISP, trying Unable to connect to romote host: No route to host Any idea on how to fix this? ftp, and ping work fine. Thanks John John Maheuphone (403) 492-2049 University of Alberta email [EMAIL PROTECTED] Dept. of Economics Edmonton, Alberta Canada, T6G 2H4