06-04-2020 02:58 PM - edited 06-05-2020 01:23 AM
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
Solved! Go to Solution.
06-04-2020 10:04 PM
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
06-04-2020 04:41 PM - edited 06-04-2020 04:44 PM
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 **
06-04-2020 04:56 PM
06-04-2020 10:04 PM
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
06-05-2020 12:19 AM
06-05-2020 12:20 AM
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