We help IT Professionals succeed at work.

Cisco redistribuing by rip static routes

Siser
Siser asked
on
775 Views
Last Modified: 2012-05-08
Hello,

I have several networking devices in a subnet. One of those devices is a Catalyst WS-C4948 that had some VLANs and RIP(IP 192.168.100.105).

Rip conf:

router rip
 version 2
 timers basic 20 60 60 120
 redistribute connected
 redistribute static
 output-delay 10
 network 192.168.100.0
 no auto-summary

Also have some static routes:

ip route 0.0.0.0 0.0.0.0 192.168.100.17
ip route 10.23.0.0 255.255.0.0 192.168.100.106
ip route 172.16.3.0 255.255.255.0 192.168.100.103
ip route 172.24.1.0 255.255.255.0 192.168.105.2
ip route 172.24.2.0 255.255.255.0 192.168.105.6
ip route 172.24.3.0 255.255.255.0 192.168.105.2
ip route 172.24.4.0 255.255.255.0 192.168.100.17
ip route 172.24.5.0 255.255.255.0 192.168.100.16
ip route 172.24.6.0 255.255.255.0 192.168.100.3
ip route 192.168.14.0 255.255.255.0 192.168.105.2
ip route 192.168.18.0 255.255.255.0 192.168.105.2
ip route 192.168.23.0 255.255.255.0 192.168.100.106

I need to distribute all these static routes to the other routers in the subnet. Looking for the routes in the other routers (Cisco 851, ASA5510 pe) they just recived some of the routes:

R    192.168.14.0/24 [120/1] via 192.168.100.105, 00:00:10, Ethernet0
R    172.23.0.0/16 [120/1] via 192.168.100.105, 00:00:10, Ethernet0
R       172.24.1.0 [120/1] via 192.168.100.105, 00:00:10, Ethernet0
R       172.24.2.0 [120/1] via 192.168.100.105, 00:00:10, Ethernet0
R       172.24.3.0 [120/1] via 192.168.100.105, 00:00:10, Ethernet0
R    192.168.18.0/24 [120/1] via 192.168.100.105, 00:00:11, Ethernet0

Activating debug i saw that the catalyst doesnt sent the other routers, does anybody know why?

Ty.
Comment
Watch Question

Don JohnstonInstructor
CERTIFIED EXPERT
Top Expert 2015

Commented:
It would help to know the topology and see the configs of the devices in question.
"ip classless routing" command is there?

Author

Commented:
Here is a topology pic (Of course, isnt a complete one, just some of the defices and subnets involved as example).

The RIP conf of the Catalyst WS4948:

router rip
 version 2
 timers basic 20 60 60 120
 redistribute connected metric 1
 redistribute static
 output-delay 10
 network 192.168.100.0
 no auto-summary

The RIP conf of the Cisco 851

router rip
 version 2
 timers basic 20 60 60 120
 redistribute connected
 redistribute static
 network 192.168.100.0
 no auto-summary


The static routes in Catalys WS4948 conf:

ip route 0.0.0.0 0.0.0.0 192.168.100.17
ip route 10.23.0.0 255.255.0.0 192.168.100.106
ip route 172.16.3.0 255.255.255.0 192.168.100.103
ip route 172.24.1.0 255.255.255.0 192.168.105.2
ip route 172.24.2.0 255.255.255.0 192.168.105.6
ip route 172.24.3.0 255.255.255.0 192.168.105.2
ip route 172.24.4.0 255.255.255.0 192.168.100.17
ip route 172.24.5.0 255.255.255.0 192.168.100.16
ip route 172.24.6.0 255.255.255.0 192.168.100.3
ip route 192.168.14.0 255.255.255.0 192.168.105.2
ip route 192.168.18.0 255.255.255.0 192.168.105.2
ip route 192.168.23.0 255.255.255.0 192.168.100.106


The "show ip route rip output" in Cisco 851 showing just the routes it recives from Catalyst WS4948 (Made a debug for look then):

R    192.168.14.0/24 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R       192.168.105.0 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R       192.168.105.4 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R    172.23.0.0/16 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R       172.24.1.0 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R       172.24.2.0 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R       172.24.3.0 [120/1] via 192.168.100.105, 00:00:06, Ethernet0
R    192.168.18.0/24 [120/1] via 192.168.100.105, 00:00:06, Ethernet0

It seem as if the Catalyst ws4948 just redistribute by rip some of the routes it has, but i dont know why.

If any other info its needed justs ask for it.
toplogy.JPG

Author

Commented:
"Ip classless" is present in Cisco 851 conf, in Catalyst 4849 is not supported as classless routing is enabled by default.

Author

Commented:
Maybe a clue:

The catalyst WS4948 is just distributing the routes in where the next hop isnt in the 192.168.100.0/24 subnet:

Distributed:
ip route 172.24.1.0 255.255.255.0 192.168.105.2
ip route 172.24.2.0 255.255.255.0 192.168.105.6
ip route 172.24.3.0 255.255.255.0 192.168.105.2
ip route 192.168.18.0 255.255.255.0 192.168.105.2

Not distributed:

ip route 172.24.4.0 255.255.255.0 192.168.100.17
ip route 172.24.5.0 255.255.255.0 192.168.100.16
ip route 172.24.6.0 255.255.255.0 192.168.100.3
ip route 192.168.14.0 255.255.255.0 192.168.105.2
ip route 192.168.18.0 255.255.255.0 192.168.105.2

Author

Commented:
Opss wrong copy/paste, here is the good one:

Distributed:
ip route 172.24.1.0 255.255.255.0 192.168.105.2
ip route 172.24.2.0 255.255.255.0 192.168.105.6
ip route 172.24.3.0 255.255.255.0 192.168.105.2
ip route 192.168.18.0 255.255.255.0 192.168.105.2

Not distributed:
ip route 172.24.4.0 255.255.255.0 192.168.100.17
ip route 172.24.5.0 255.255.255.0 192.168.100.16
ip route 172.24.6.0 255.255.255.0 192.168.100.3
ip route 192.168.23.0 255.255.255.0 192.168.100.106

Instructor
CERTIFIED EXPERT
Top Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Thats it!

"no ip split-horizon" in the configuration of the 192.168.100.105 interface and now the routes are being distributed.

Ty
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.