I have a situation with OSPF and EIGRP which requires a specific trace route. How can I get this to work? [closed]

Objective: Traffic should follow from R1->R3->R4->R6->R7->R8->R9->R10

In traceroute/extended ping : 178.41.41.13,) ( 178.41.41.34, 178.41.41.76, 178.41.41.137, 178.41.41.228, 178.41.41.234, 178.41.41.242.

What I did is filter R8,9,10 with route-map and distribute-lists, so that traffic goes from R6 to R7 but it doesn't. It just goes from R6 to 178.41.41.138 and 178.41.41.139. Can anyone help this out?

Image:

Image:


Solution 1:

What you are asking is contrary to the nature of routing protocols like OSPF or EIGRP. Routing protocols are not intended for creating specific fixed routes but for determining routes dynamically from the current network situation. If you need a specific route you already know, configure it as a static route.