10-05-2020 03:32 AM
Folks,
My question in on BGP to OSPF redistribution.
I have 2 routers each terminating an MPLS link. In our case we want to prioritize on MPLS link always. Please refer to the diagram I have attached in this question.
Each router i.e. Primary router and the Secondary router receive the same set of routes. In this case I want to make sure that the routes and the link over the Primary router will always be preferred.
i.e. the Active firewall will always refer the path directly connected to the Primary router.
I believe this is inherent when BGP redistributed routes back to OSPF. Can someone help me confirm this fact.
Both the routers are Cisco ISR 4451 and the firewalls are Palo Alto.
Regards,
N.
Solved! Go to Solution.
10-05-2020 03:44 AM
Hello @network_geek1979 ,
primary router should use a smaller seed metric for redsitributed routes into OSPF
route-map BGP-into-OSPF permit 10
match address ExpectedRoutes
set metric 50
set metric type 1
router ospf 10
redistribute bgp <your-BGP-AS> subnets
on secondaryx router
route-map BGP-into-OSPF permit 10
match address ExpectedRoutes
set metric 150
set metric type 1
router ospf 10
redistribute bgp <your-BGP-AS> subnets
Hope to help
Giuseppe
10-05-2020 03:44 AM
Hello @network_geek1979 ,
primary router should use a smaller seed metric for redsitributed routes into OSPF
route-map BGP-into-OSPF permit 10
match address ExpectedRoutes
set metric 50
set metric type 1
router ospf 10
redistribute bgp <your-BGP-AS> subnets
on secondaryx router
route-map BGP-into-OSPF permit 10
match address ExpectedRoutes
set metric 150
set metric type 1
router ospf 10
redistribute bgp <your-BGP-AS> subnets
Hope to help
Giuseppe
10-12-2020 12:44 PM
I Don't Know about Palo but for ASA the outside must be connect to SW and the SW connect to both edge router.
for host INSIDE config the active as Default GW and for return traffic I need more info.
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