I am working on migrating my P2P network to MPLS with dual Service provider. Each location will have dual router connecting each Service Provider in active-active state, I am looking for solution where I can route traffic base on Application port. ex all TCP/80 traffic route via SP1 and all other traffic Route via SP2 also need to consider case when one SP link fails other traffic can be route via available provider
BGP path attribute manipulation would be the possible choice for the initial path preference using as-path pre-pending on advertised local prefixes towards your ISP's and local preference for advertised ingress traffic towards your rtrs.
Then for the specific routing based of application ports maybe Policy Based Routing (PBR) would be applicable
Please rate and mark as an accepted solution if you have found any of the information provided useful. This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
I want to add something on this topic. I hope it will help to understand the PBR failover.
If I will configure the PBR with failover case then will choose the verify-availability clause with IP SLA and track to achieve failover. It will give me more failover options as a direct or indirect link or host fail.
route-map Test_failover permit 10
match ip address 90
set ip next-hop verify-availability X.X.X.X 1 track 1
The route map is used for PBR and the match statement is just standard match entries in an access list. The set next-hop statement includes the verify-availability clause. It will verify-availability uses track 1 to track the availability of the next hop address and if the next hop address is not available then PBR is bypassed and a normal routing decision is used.
Regards, Deepak Kumar, Don't forget to vote and accept the solution if this comment will help you!