Static Route that won't go away

Discussion in 'Cisco' started by K.J. 44, Sep 8, 2006.

  1. K.J. 44

    K.J. 44 Guest

    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.
     
    K.J. 44, Sep 8, 2006
    #1
    1. Advertising

  2. In article <>,
    K.J. 44 <> 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) ?
     
    Walter Roberson, Sep 8, 2006
    #2
    1. Advertising

  3. K.J. 44

    K.J. 44 Guest

    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 <>,
    > K.J. 44 <> 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) ?
     
    K.J. 44, Sep 8, 2006
    #3
  4. In article <>,
    "K.J. 44" <> 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,
    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 ***
     
    Barry Margolin, Sep 9, 2006
    #4
  5. K.J. 44

    Guest

    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.
     
    , Sep 9, 2006
    #5
  6. K.J. 44

    K.J. 44 Guest

    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.


    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.
     
    K.J. 44, Sep 9, 2006
    #6
  7. K.J. 44

    Merv Guest

    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.
     
    Merv, Sep 9, 2006
    #7
  8. K.J. 44

    Merv Guest

    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
     
    Merv, Sep 9, 2006
    #8
  9. K.J. 44

    K.J. 44 Guest

    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
     
    K.J. 44, Sep 10, 2006
    #9
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bruce Cao
    Replies:
    3
    Views:
    4,548
    Barry Margolin
    Dec 6, 2005
  2. perimere
    Replies:
    0
    Views:
    1,170
    perimere
    Mar 27, 2007
  3. Replies:
    9
    Views:
    5,623
    Scott Perry
    Aug 7, 2008
  4. Replies:
    1
    Views:
    834
    Trendkill
    Apr 1, 2009
  5. Replies:
    0
    Views:
    573
Loading...

Share This Page