10-21-2006 09:44 PM - edited 03-03-2019 02:25 PM
I have encountered an odd issue. I am unable to have a static routing inserted into the RIB on a router.
example
int gi0/0
ip address 10.10.1.2 255.255.255.0
ip route 10.10.1.0 255.255.255.0 10.10.1.1
router eigrp 2
redistribute static
Notice that this static route's next hop is in same IP subnet.
if I do a show ip route static, I do not see this route. I do show 10.10.1.0 via directly connected interface.
What would cause this static route from not being inserted into the RIB.
Cheers
10-22-2006 12:26 AM
I believe it is because directly connected subnets are prefered over static routes (using default admin distance.) therefore the router sees 10.10.1.0/24's best route as directly connected, and therefore will not include the "less prefered" static route.
If you were to change your gi0/0 to a different subnet (just for fun/testing) you should then see the 10.10.1.0/24 as a static route.
10-22-2006 07:18 PM
You actually do not need the static route for the subnet as it is a directly connected segement and will always be preferred over the static.
If your intention is to redistribute this network in eigrp, then you should try the command redistribute connected.
router eigrp 2
redistribute connected
HTH, rate if it does
Narayan
10-22-2006 11:50 PM
Hi
This n/w is directly connected. You wont have route installed in Routing table. Router already knows it .
bye
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