12-28-2006 11:17 AM - edited 03-03-2019 03:11 PM
Hi Guys,
I have the following config:
router ospf 201
redistribute static subnets
network 152.159.248.0 0.0.0.255 area 0
network 152.159.3.0 0.0.0.255 area 0
!
no ip classless
ip route 152.159.3.16 255.255.255.255 152.159.3.5
the static route is seen in the db of the neighs, but not the route table ?
I see it being sent out with an ACK from this host,
any thoughts ?
Solved! Go to Solution.
12-30-2006 06:37 PM
Jafar,
This static route was taken from your second post:
sh ip route 152.159.3.5
Routing entry for 152.159.3.5/32
Known via "static", distance 1, metric 0 (connected)
Redistributing via ospf 201
Advertised by ospf 201 subnets
Routing Descriptor Blocks:
* directly connected, via Channel1/0
Route metric is 0, traffic share count is 1
Is this from the router where you are not seeing the external route being installed.
You should try removing the forward address from the type 5 lsa by using the tip I gave you in my previous posting (ie. network 152.159.3.6 0.0.0.0 area 0)
Hope this helps,
12-28-2006 11:51 AM
Can you post the output of 'show ip ospf database external 152.159.3.16' from the router that doesn't put the route in the route table.
12-28-2006 12:00 PM
OSPF Router with ID (152.159.248.3) (Process ID 201)
Type-5 AS External Link States
LS age: 1411
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 152.159.3.16 (External Network Number )
Advertising Router: 152.159.3.17
LS Seq Number: 8000002B
Checksum: 0x3866
Length: 36
Network Mask: /32
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 152.159.3.5
External Route Tag: 0
.17 is the loopback of the first router,
.5 is the next hop for the first router,
sh ip route 152.159.3.5
Routing entry for 152.159.3.5/32
Known via "static", distance 1, metric 0 (connected)
Redistributing via ospf 201
Advertised by ospf 201 subnets
Routing Descriptor Blocks:
* directly connected, via Channel1/0
Route metric is 0, traffic share count is 1
here is the interface config of the first router too,
interface Channel1/0
description EPP
ip address 152.159.3.6 255.255.255.252
no ip route-cache
no ip mroute-cache
no keepalive
claw 0100 00 152.159.3.5 EPPMVS CIP3 TCPIP TCPIP
csna 0100 02
Thanks in a dvance.
12-28-2006 12:09 PM
Hi
Any specific reason for giving " no ip classless " . This may make ur router not to give the /32 route to the neighbor .
Try changing it to " ip classless " and check out.
regards
vanesh k
12-28-2006 12:29 PM
it is classless on both now,
still in DB, but not in table !
12-28-2006 12:33 PM
The problem, very likely, is forward address of 152.159.3.5 not reachable from the router that does not put the route in the route table.
Is there a route to 152.159.3.5 and can you ping it? OSPF should advertise that network unless you are filtering or incorrectly routing to that address.
HTH
Sundar
12-28-2006 12:32 PM
Jafar
A common reason for a route in the data base not being put into the routing table is that the forward address show in the data base (Forward Address: 152.159.3.5) is not reachable. Can you verify that 152.159.3.5 is reachable from this router.
Another reason that a route in the data base may not be in the routing table as an OSPF route is that some other routing source with a better administrative distance has put the route into the routing table. Can you confirm whether the route is in the routing table at all?
Also we should consider the possibility that a distribute list has been configured and is supressing the route from the routing table. (distribute list with OSPF is especially tricky since the distribute list will affect what is in the routing table but not what is in the OSPF data base, and not affect what is advertised to neighbors.) Can you tell us whether there is any distribute list on the second router?
Also on the question of ip classless or no ip classless, I can think of no reason why no ip classless would affect the propagation of the route. Unless there is some particular reason to configure ip classless I suggest that you are usually better off leaving it as no ip classless (there are good reasons why in modern networks the default is no ip classless).
HTH
Rick
12-28-2006 12:38 PM
thanks for the reply,
1--it is reachable,
2--here is the output of show ip route:
sh ip route 152.159.3.16
% Subnet not in table
3-- there are no distribute list on either side.
Thanks
12-28-2006 12:59 PM
Hi,
Iam not sure abt your network setup.Pls let me know wheter the router where you are not able to see the route has a connected network of " 152.159.3.0 " and under router ospf , a similar network statement like the other router is not given.
regards
vanesh k
12-28-2006 01:10 PM
here is the two side config:
this is the router where I do not see the route in the route table:
router ospf 201
log-adjacency-changes
redistribute connected subnets
network 152.159.248.0 0.0.0.255 area 0
!
router igrp 15
redistribute connected
network 152.159.0.0
!
ip classless
this is the side where this static route is:
router ospf 201
redistribute static subnets
network 152.159.248.0 0.0.0.255 area 0
network 152.159.3.0 0.0.0.255 area 0
!
no ip classless
ip route 152.159.3.16 255.255.255.255 152.159.3.5
thanks
12-28-2006 01:15 PM
Also, here is the show route for 152.159.3.0 from the neighbour withthe problem:
entry for 152.159.3.0/30
Known via "connected", distance 0, metric 0 (connected, via interface)
Redistributing via ospf 201, igrp 15
Advertised by ospf 201 subnets
igrp 15
Routing Descriptor Blocks:
* directly connected, via Channel6/2
Route metric is 0, traffic share count is 1
and,
sh ip ospf database external 152.159.3.0
OSPF Router with ID (152.159.248.3) (Process ID 201)
Type-5 AS External Link States
LS age: 1916
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 152.159.3.0 (External Network Number )
Advertising Router: 152.159.248.3
LS Seq Number: 800015A6
Checksum: 0xB3C5
Length: 36
Network Mask: /30
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
from the router where the static route is configured:
sh ip route 152.159.3.0
Routing entry for 152.159.3.0/30
Known via "ospf 201", distance 110, metric 20, type extern 2, forward metric 1
Redistributing via ospf 201
Last update from 152.159.248.3 on FastEthernet4/1, 17:08:07 ago
Routing Descriptor Blocks:
* 152.159.248.3, from 152.159.248.3, 17:08:07 ago, via FastEthernet4/1
Route metric is 20, traffic share count is 1
and
sh ip ospf database external 152.159.3.0
OSPF Router with ID (152.159.3.17) (Process ID 201)
Type-5 AS External Link States
Routing Bit Set on this LSA
LS age: 2011
Options: (No TOS-capability, DC)
LS Type: AS External Link
Link State ID: 152.159.3.0 (External Network Number )
Advertising Router: 152.159.248.3
LS Seq Number: 800015A6
Checksum: 0xB3C5
Length: 36
Network Mask: /30
Metric Type: 2 (Larger than any link state path)
TOS: 0
Metric: 20
Forward Address: 0.0.0.0
External Route Tag: 0
12-28-2006 01:22 PM
Jafar
On the router where the route is in the data base but not in the routing table would you post the output of show ip route | include 152.159.3
HTH
Rick
12-28-2006 01:57 PM
from the neigbor with this problem,
I can ping 152.159.3.5 always.
here is an output of the show ip routes requested:
Neighbor#sh ip route 152.159.3.0
Routing entry for 152.159.3.0/30
Known via "connected", distance 0, metric 0 (connected, via interface)
Redistributing via ospf 201, igrp 15
Advertised by ospf 201 subnets
igrp 15
Routing Descriptor Blocks:
* directly connected, via Channel6/2
Route metric is 0, traffic share count is 1
Neighbor#sh ip route 152.159.3.4
Routing entry for 152.159.3.4/30
Known via "ospf 201", distance 110, metric 2, type intra area
Last update from 152.159.248.4 on FastEthernet1/1, 22:08:39 ago
Routing Descriptor Blocks:
* 152.159.248.4, from 152.159.3.17, 22:08:39 ago, via FastEthernet1/1
Route metric is 2, traffic share count is 1
Neighbor#sh ip route 152.159.3.5
Routing entry for 152.159.3.5/32
Known via "ospf 201", distance 110, metric 20, type extern 2, forward metric 1
Last update from 152.159.248.4 on FastEthernet1/1, 17:48:46 ago
Routing Descriptor Blocks:
* 152.159.248.4, from 152.159.3.17, 17:48:46 ago, via FastEthernet1/1
Route metric is 20, traffic share count is 1
12-28-2006 01:57 PM
posted already
thanks
12-28-2006 01:25 PM
The output you have posted doesn't cover 152.159.3.5. From the router having the problem, can you post the output of 'show ip route 152.159.3.4' Were you able to ping 152.159.3.5 from this device?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: