Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CDP not publishing network

I'm new to ODR/CDP and having a problem getting a network dynamically published from my spoke router. My setup is this:

The hub is a 3640, and the spoke is a 2600, both with IOS 12.3. The 3640 is running both ODR and RIP. The 2600 has no routing protocols enabled, but ip routing is enabled. S0/1 of the 3640 is connected to S0/0 of the 2600. 3640-S0/1 is 192.168.4.1/24 and 2600-S0/0 is 192.168.4.2/24. On the 2600 Ethernet0/0 is assigned 192.168.5.1/24.

On the 2600, in show ip route, I see an 'o' entry for the default route to 192.168.4.1 (correct) and 'C' for 192.168.5.0 and 192.168.4.0. On the 3640, show ip route has an 'o' entry for 192.168.5.0 and 'C' for 192.168.4.0. So far, all as I expect. Pings between all interfaces on the 3640 and 2600 are successful.

The problem is no other router connected to my hub (all other routers are using RIP) have any entry for 192.168.5.0. For another router connected to the 3640, I would expect to see an 'R' entry for 192.168.5.0 pointing back to the 3640. The route is invisible outside of the hub and spoke.

All of routes and interfaces are working fine through RIP on all routers. On the 3640, under router rip, I've tried having network 192.168.4.0 and not having it, same results both ways. I've also tried adding in 'redistribute odr' into 'router rip', again, with no affect.

I'm missing something. Any ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Bronze

Re: CDP not publishing network

Paolo is right on target (as always :)). When redistributing from a dynamic routing protocol into RIP, you need to specify a metric - if you don't, it's automatically set to 16 (unreachable).

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hirp_c/ch20/piconfig.htm#wp1001239

3 REPLIES
Hall of Fame Super Gold

Re: CDP not publishing network

Hi,

do you have set a metric for redistributed routes ?

Hall of Fame Super Bronze

Re: CDP not publishing network

Paolo is right on target (as always :)). When redistributing from a dynamic routing protocol into RIP, you need to specify a metric - if you don't, it's automatically set to 16 (unreachable).

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hirp_c/ch20/piconfig.htm#wp1001239

New Member

Re: CDP not publishing network

That did it! Thanks!

105
Views
0
Helpful
3
Replies