cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1529
Views
15
Helpful
5
Replies

OSPF to RIP connection

hey i tried for at least 5hours to make a connection beetween rip and ospf but i just doesnt work. i saw a youtube video and did exactly the same but idk what the problem is. 

Can someone please look at my pkz file. I tried to connect router 3 and router 5

 

thank you :))

reg

1 Accepted Solution

Accepted Solutions

Hey Reg, Martin is correct with both answers in respect to RIP advertisements on R5 and no auto-summary on RIP.

To sum it up for you...

- OSPF has a lower administrative distance than RIP. OSPF routes will hit the routing table instead of RIP. OSPF AD = 110, RIP AD = 120
- On R5 remove rip advertisements (inline with your topology). Note that PC4 and PC5 can still ping R5
- Setup OSPF routing on both R5 and R3 and create a neighbor adjacency by advertising 192.168.12.0/24
- On R3 redistribute connected interfaces and RIP routes in OSPF
-- Note on R5, External connected and rip routes are in OSPF's routing table
-- Note PC4 and PC5 can ping R3, PC2 and PC3
- On R2 there are no OSPF routes in the routing table
-- Note PC4, PC5 cannot ping R2, R1, PC0, PC1 because OSPF routes are not redistributed in RIP
- After redistributing OSPF into RIP, R2 is now showing OSPF routes

- All PCs can now reach each other

----

R3:

router ospf 1

redistribute rip metric 1 subnets

redistribute connected metric 1 subnets

network 192.168.12.0 0.0.0.255 area 0

 

router rip

version 2

redistribute ospf 1 metric 1

network 192.168.2.0

network 192.168.5.0

no auto-summary

 

R5

router ospf 1

network 192.168.4.0 0.0.0.255 area 0

network 192.168.6.0 0.0.0.255 area 0

network 192.168.12.0 0.0.0.255 area 0

View solution in original post

5 Replies 5

Martin L
VIP
VIP

 

right R5 has too many routes advertised in RIP.  he needs only RIP routes , so link to R3.

left R3 missing network 192.168.12.0 , and no auto-summary - although some or all routes may work with auto summary - need more closer look

 

Regards, ML
**Please Rate All Helpful Responses **


it seems that auto summary or not on R3 doesn't matter. just add network 192.168.12.0 to RIP process.

Hey Reg, Martin is correct with both answers in respect to RIP advertisements on R5 and no auto-summary on RIP.

To sum it up for you...

- OSPF has a lower administrative distance than RIP. OSPF routes will hit the routing table instead of RIP. OSPF AD = 110, RIP AD = 120
- On R5 remove rip advertisements (inline with your topology). Note that PC4 and PC5 can still ping R5
- Setup OSPF routing on both R5 and R3 and create a neighbor adjacency by advertising 192.168.12.0/24
- On R3 redistribute connected interfaces and RIP routes in OSPF
-- Note on R5, External connected and rip routes are in OSPF's routing table
-- Note PC4 and PC5 can ping R3, PC2 and PC3
- On R2 there are no OSPF routes in the routing table
-- Note PC4, PC5 cannot ping R2, R1, PC0, PC1 because OSPF routes are not redistributed in RIP
- After redistributing OSPF into RIP, R2 is now showing OSPF routes

- All PCs can now reach each other

----

R3:

router ospf 1

redistribute rip metric 1 subnets

redistribute connected metric 1 subnets

network 192.168.12.0 0.0.0.255 area 0

 

router rip

version 2

redistribute ospf 1 metric 1

network 192.168.2.0

network 192.168.5.0

no auto-summary

 

R5

router ospf 1

network 192.168.4.0 0.0.0.255 area 0

network 192.168.6.0 0.0.0.255 area 0

network 192.168.12.0 0.0.0.255 area 0

Thank youuuu very much :))

thanks :))
Review Cisco Networking for a $25 gift card