11-08-2023 06:29 PM
Hi, I have created a network, using packet tracer, in which I have implemented the ospf protocol. I have given different values to cost per link, but when I look in the route table, the path is not that with the lowest cost and I cannot understand why. Here are some screenshots.
The numbers with bold next to a network is their cost
Thank you for your time
Solved! Go to Solution.
11-09-2023 04:59 AM
show ip ospf neighbors on R5 and R3; all routers should have 2 ospf neighbors, right? check that starting at R5, I do not see any ospf routes over Serial0/0/1. if u see 2 ospf neighbors, close pt, re-open it, and check again, if still the same, attach your PT file here (in a zip format )
Regards, ML
**Please Rate All Helpful Responses **
11-08-2023 06:53 PM - edited 11-08-2023 08:26 PM
Hello,
A couple of things to note:
OSPF cost is one way. So if you configure a cost on a link that is that local routers cost on that link. That does not mean its neighbor sees that same cost on its side.
Cost is a tie breaker. The Route-Type is the initial mechanism used for path selection such as Inter and Intra Area routes. I assume you are running single Area OSPF but cant be 100% sure just on the output provided.
Can you provide a bit more information such as a source and destination network specifically and the route you think it takes vs the route its actually taking? With output of the routing table and interface configurations.
-David
11-09-2023 12:48 AM - edited 11-09-2023 12:49 AM
Here is the route table from router 5. Lets say I want to see how will it communicate with the network 195.168.1.0. I expected to do that through the router 3 as it will have cost of 10+10+10 = 30, but it chooses the way through router 4 and the cost is 50. Isn't it supposed to take the route with the lowest cost value?
11-09-2023 01:10 AM - edited 11-09-2023 01:18 AM
it seems that you do not getting any OSPF routes from R3; Troubleshoot link R3 to 5; maybe OSPF is not enabled on that link? Shut down link to R4 on r5 to see if u get any Ospf routes
Regards, ML
**Please Rate All Helpful Responses **
11-09-2023 01:17 AM
here is the route table from router 3. The ospf is enabled
11-09-2023 04:59 AM
show ip ospf neighbors on R5 and R3; all routers should have 2 ospf neighbors, right? check that starting at R5, I do not see any ospf routes over Serial0/0/1. if u see 2 ospf neighbors, close pt, re-open it, and check again, if still the same, attach your PT file here (in a zip format )
Regards, ML
**Please Rate All Helpful Responses **
11-08-2023 09:37 PM - edited 11-08-2023 10:06 PM
Who is reaching who and what are your current and desire paths ?
U can attach your PT file here but it nust be in a zip format
Regards, ML
**Please Rate All Helpful Responses **
11-08-2023 10:00 PM
Hello @lex18,
Please provide information on the source and destination networks, as well as the specific routes you expect versus the ones you observe in the routing table.
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