05-22-2019 03:08 AM
Hello guys,
I have 2 cases and both of them are fail.
When i add red colored configuration into Core router 2.
Communication between TDB-server and 192.168.1.100 failed
Communication between Internet-Server and 192.168.1.100 failed
This case is same.
When i added red color configuration into Core router 2.
Communication between TDB-server and 192.168.1.100 failed
Communication between Internet-Server and 192.168.1.100 failed
Is anyone knows why it is failed?
I attached the packet tracer files.
Is there any recommended solution for 2 core routers and 2 core switches. They work like redundant devices. Core router redistribute default routes and static routes to core switches.
Thanks
05-22-2019 04:25 AM
05-22-2019 06:19 PM
05-22-2019 05:02 AM - edited 05-22-2019 05:23 AM
Hello Damka,
a) in Cisco devices you cannot redistribute a default static route into OSPF
under ospf process use
router ospf 10
default-information originate
The command above checks the IP routing table and generate an LSA type 5 for network 0.0.0.0/0 if a default route is present in the IP routing table ( a static default route , a BGP route and so on)
B) in Cisco OSPF redistribution requires the subnets keyword to perform correct redistribution otherwise OSPF will summarize to major network ( Class A, Class B, Class C)
so you need the following
router ospf 10
redistribute static subnets
Note: even if using a route-map to select what static route should be redistributed into OSPF you still need to provide the subnets parameter. This is OSPF specific.
so alternate command is
redistribute static subnets route-map STATIC-INTO-OSPF
ip prefix-list SELECTED 10.0.0.0/8 ge 16 le 24
route-map STATIC-INTO-OSPF permit 10
match address prefix SELECTED
edit:
c) OSPF requires that the static route next-hop is advertised with an internal OSPF route.
OSPF checks the static route next-hop.
It does not allow injection of a static route if the next-hop is part of another external route.
it does not allow for recursion between external routes.
This can happen when using both
redistribute connected subnets
redistribute static subnets
To avoid this:
under router ospf 10 use network statement for IP subnet of the static route IP next-hop
router ospf 10
! example: change according to your needs
network 10.10.10.0 0.0.0.255 area 0
You can eventually use a passive interface.
Hope to help
Giuseppe
05-22-2019 06:34 PM
Can you fix these cases on the packet tracer file? I have uploaded packet tracer file on google drive.
Thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide