03-07-2019 02:28 AM
Hi
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
Attached sample diagram
03-07-2019 02:43 AM - edited 03-07-2019 02:46 AM
Hello
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
03-10-2019 11:56 PM
Thanks Paul,
I was aware of PBR, but mail challenge I see is link failure scenario, can you please help me to provide with sample configuration, by which I can achieve required result.. Thanks
03-11-2019 01:00 AM
Hello,
on a side note, with regard to the PBR, as long as you have a second 'empty' statement, in case the primary route fails, the traffic will use whatever is in the RIB:
access-list 101 permit ip any any
!
route-map PBR permit 10
match ip address 101
set ip next-hop 10.10.10.1
!
route-map PBR permit 20
So, when 10.10.10.1 is down, it will take the path that is left...
03-11-2019 02:17 AM
Hi,
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
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