Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Cisco > Static Route that won't go away

Reply
Thread Tools

Static Route that won't go away

 
 
K.J. 44
Guest
Posts: n/a
 
      09-08-2006
Hi,

I have a static route in my router that I don't remember putting there.
It is to a public address.

The problem is that when I do a no ip route it says No Matching Route
To Delete.

This is the network that i get my public IPs from and the next hop in
the static route is incorrect. It is the network address of my
block of IPs from my ISP, which of course is not assigned anywhere. So
whenever I go to a site that starts with the same network address, it
doesn't go through.

When I add a static route with the next hop correct, both routes exist
in the routing table and it load balances across both links, meaning
that when I ping addresses with the same network address, half of them
make it and the other half do not.

Has anyone ever seen this? Why can't I get rid of the route?

Thanks.

 
Reply With Quote
 
 
 
 
Walter Roberson
Guest
Posts: n/a
 
      09-08-2006
In article <(E-Mail Removed) .com>,
K.J. 44 <(E-Mail Removed)> wrote:

>I have a static route in my router that I don't remember putting there.
> It is to a public address.


>The problem is that when I do a no ip route it says No Matching Route
>To Delete.


That -usually- indicates that it is a Connected route, generated
automatically because the interface is in that subnet.

Could you show us your routing table (suitably obscured so that
we can tell which route is which) ?
 
Reply With Quote
 
 
 
 
K.J. 44
Guest
Posts: n/a
 
      09-08-2006
Here it is:

Gateway of last resort is PUBLIC.IP.NETWORK.ADDRESS+1 to network
0.0.0.0

PUBLIC IP.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS
C PUBLIC.IP.NETWORK.ADDRESS/30 is directly connected,
FastEthernet 0/1
PRIVATE.IP.ADDRESS.0/30 is subnetted, 1 subnets
C PRIVATE.IP.ADDRESS.0 is directly connected, FastEthernet0/0
S* 0.0.0.0/0 [1/0] via PUBLIC.IP.NETWORK.ADDRESS+1

Hopefully that is obscure enough and not too confusing
S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS

This is the route to get rid of. When I go to other sites with the
same first PUBLIC IP it won't go through. However if I add a static
route that looks like this:

S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS+1

It load balances across the links and half of the packets make it.

Thanks in advance.

Walter Roberson wrote:
> In article <(E-Mail Removed) .com>,
> K.J. 44 <(E-Mail Removed)> wrote:
>
> >I have a static route in my router that I don't remember putting there.
> > It is to a public address.

>
> >The problem is that when I do a no ip route it says No Matching Route
> >To Delete.

>
> That -usually- indicates that it is a Connected route, generated
> automatically because the interface is in that subnet.
>
> Could you show us your routing table (suitably obscured so that
> we can tell which route is which) ?


 
Reply With Quote
 
Barry Margolin
Guest
Posts: n/a
 
      09-09-2006
In article <(E-Mail Removed) .com>,
"K.J. 44" <(E-Mail Removed)> wrote:

> Here it is:
>
> Gateway of last resort is PUBLIC.IP.NETWORK.ADDRESS+1 to network
> 0.0.0.0
>
> PUBLIC IP.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
> S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS
> C PUBLIC.IP.NETWORK.ADDRESS/30 is directly connected,
> FastEthernet 0/1
> PRIVATE.IP.ADDRESS.0/30 is subnetted, 1 subnets
> C PRIVATE.IP.ADDRESS.0 is directly connected, FastEthernet0/0
> S* 0.0.0.0/0 [1/0] via PUBLIC.IP.NETWORK.ADDRESS+1
>
> Hopefully that is obscure enough and not too confusing
> S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS
>
> This is the route to get rid of. When I go to other sites with the
> same first PUBLIC IP it won't go through. However if I add a static
> route that looks like this:
>
> S PUBLIC IP.0.0.0/8 [1/0] via PUBLIC.IP.NETWORK.ADDRESS+1
>
> It load balances across the links and half of the packets make it.


My guess is that the bad route is being created automatically due to
some kind of auto-summary, although I thought that only applied to
routing protocols, not static routing.

Do you have "ip classless" configured? If not, maybe that's causing a
route for the /8 of your outside network to be created automatically.

--
Barry Margolin, http://www.velocityreviews.com/forums/(E-Mail Removed)
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
 
Reply With Quote
 
erik.freitag@pobox.com
Guest
Posts: n/a
 
      09-09-2006

K.J. 44 wrote:
> Hi,
>
> I have a static route in my router that I don't remember putting there.
> It is to a public address.
>
> The problem is that when I do a no ip route it says No Matching Route
> To Delete.
>
> This is the network that i get my public IPs from and the next hop in
> the static route is incorrect. It is the network address of my
> block of IPs from my ISP, which of course is not assigned anywhere. So
> whenever I go to a site that starts with the same network address, it
> doesn't go through.
>
> When I add a static route with the next hop correct, both routes exist
> in the routing table and it load balances across both links, meaning
> that when I ping addresses with the same network address, half of them
> make it and the other half do not.
>
> Has anyone ever seen this? Why can't I get rid of the route?


Any chance you could post the config? Obfuscate as necessary, but too
much cleverness might mask the problem.

 
Reply With Quote
 
K.J. 44
Guest
Posts: n/a
 
      09-09-2006
I will do that on Monday. ip classless is definitely configured. It
does appear to be some kind of summary route, is there a way to so no
summary route other then ip classless? I am running single area OSPF
so I don't understand why there is any authosummarization.

THanks.


(E-Mail Removed) wrote:
> K.J. 44 wrote:
> > Hi,
> >
> > I have a static route in my router that I don't remember putting there.
> > It is to a public address.
> >
> > The problem is that when I do a no ip route it says No Matching Route
> > To Delete.
> >
> > This is the network that i get my public IPs from and the next hop in
> > the static route is incorrect. It is the network address of my
> > block of IPs from my ISP, which of course is not assigned anywhere. So
> > whenever I go to a site that starts with the same network address, it
> > doesn't go through.
> >
> > When I add a static route with the next hop correct, both routes exist
> > in the routing table and it load balances across both links, meaning
> > that when I ping addresses with the same network address, half of them
> > make it and the other half do not.
> >
> > Has anyone ever seen this? Why can't I get rid of the route?

>
> Any chance you could post the config? Obfuscate as necessary, but too
> much cleverness might mask the problem.


 
Reply With Quote
 
Merv
Guest
Posts: n/a
 
      09-09-2006

do you have an "ip default-network" command configured ?

It is a classful command and if you have a route to a subnet of that
network, I believe IOS will install the major network from the
defualt-network command into the routing table as a static route.

 
Reply With Quote
 
Merv
Guest
Posts: n/a
 
      09-09-2006

SPOKE#sh run | inc ip route
ip route 0.0.0.0 0.0.0.0 172.18.132.185
ip route 10.0.0.0 255.0.0.0 10.1.1.0
ip route 192.168.0.1 255.255.255.255 172.16.32.124
ip route 192.168.0.1 255.255.255.255 172.18.132.185

SPOKE#config t
Enter configuration commands, one per line. End with CNTL/Z.
SPOKE(config)#no ip route 10.0.0.0 255.0.0.0 10.1.1.0
%No matching route to delete


SPOKE(config)#no ip default-network 10.1.1.0
SPOKE(config)#end

SPOKE#sh run | inc ip route
ip route 0.0.0.0 0.0.0.0 172.18.132.185
ip route 192.168.0.1 255.255.255.255 172.16.32.124
ip route 192.168.0.1 255.255.255.255 172.18.132.185

 
Reply With Quote
 
K.J. 44
Guest
Posts: n/a
 
      09-10-2006
Thank you very much. You are the man! That did the trick!

Thanks again!

Merv wrote:
> SPOKE#sh run | inc ip route
> ip route 0.0.0.0 0.0.0.0 172.18.132.185
> ip route 10.0.0.0 255.0.0.0 10.1.1.0
> ip route 192.168.0.1 255.255.255.255 172.16.32.124
> ip route 192.168.0.1 255.255.255.255 172.18.132.185
>
> SPOKE#config t
> Enter configuration commands, one per line. End with CNTL/Z.
> SPOKE(config)#no ip route 10.0.0.0 255.0.0.0 10.1.1.0
> %No matching route to delete
>
>
> SPOKE(config)#no ip default-network 10.1.1.0
> SPOKE(config)#end
>
> SPOKE#sh run | inc ip route
> ip route 0.0.0.0 0.0.0.0 172.18.132.185
> ip route 192.168.0.1 255.255.255.255 172.16.32.124
> ip route 192.168.0.1 255.255.255.255 172.18.132.185


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in running a basic code in python 3.3.0 that includes HTML file Satabdi Mukherjee Python 1 04-04-2013 07:48 PM
question for static route -- default route bensonlei@yahoo.com.hk Cisco 1 04-01-2009 11:27 AM
What is the default precedence: local-route, static-route,OSPF-route? ilan.berco@gmail.com Cisco 9 08-07-2008 05:42 PM
Need to route SMTP traffic through static interface (not default route) perimere Cisco 0 03-27-2007 09:19 PM
Can netwrok run static route and dynamic route the same time? Bruce Cao Cisco 3 12-06-2005 02:15 AM



Advertisments