10-26-2012 11:41 AM - edited 03-04-2019 05:58 PM
Hi,
I would like to balance traffic on 2 route. For exemple, I have 2 router on site and to other site I have two other router. I create route between router 1 router to other router and an other route with 2 other router. So, in fact, I have two different route to communique with both site (a redondant WAN with 4 routers).
Ok, normaly, EIGRP will determine witch line will be the best to communicate. But, I would like to split my communication on both line. So, what I want to do is I would like to specify a TCP port on the line in theoric slower then the principal to use this line. So, when this slower line will be down, the 100% traffic will pass on principal line. In normal use, the TCP port number 1000 will use route B and all ohter traffic will use route A. With this way, it will be possible for me to balance a little bit my lines.
Thank you
10-26-2012 01:21 PM
Hello Mario,
what you would like to achieve is possible with PBR Policy Based Routing
access-list 111 permit tcp any any eq 1000
route-map PBR pemit 10
match ip address 111
set ip next-hop b.b.b.b
where b.b.b.b is the IP next-hop on link B, all other traffic uses Link A
int type x/y/z
description LAN interface receiving traffic to be redirected
ip policy route-map PBR
A similar PBR rule should be applied on the other side using an ACL matching on source port 1000
access-list 112 permit tcp any eq 1000 any
Hope to help
Giuseppe
10-26-2012 01:52 PM
Thank you for your answer,
A question, I think with this solution is when Link B goes down TCP port number 1000 stop to communicate?
Let me know
Thank you
10-26-2012 06:11 PM
Hi mario,
Giuseppe was suggesting to apply the PBR policy on the second link by means of acl 112 exactly to keep the tcp port 1000 in forwarding. You can, however, assign priorities to one link rather than the other if you want to load-share the aggregate outbound traffic for example.
Sent from Cisco Technical Support iPad App
Alessio
10-27-2012 03:09 AM
Hello Mario,
good note
PBR will be used if the IP next-hop on Link B is reachable,
you can add the
set ip next-hop verify-availability
in route-map PBR configuration to improve this detection (support of the command is platform and IOS dependent)
If the Link B fails the traffic is routed by EIGRP on Link A, that is the traffic is destination based routed using your IGP.
Link A has to be the preferred link for EIGRP (better metric), using PBR you can move some selected traffic to/from Link B, when link B is available.
Hope to help
Giuseppe
10-27-2012 04:59 AM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Another approach would be use EIGRP to proportionally balance your links and then use QoS to treat TCP port 1000 traffic "differently".
If the links are close to being the same in bandwidth, you might just equally load balance them.
If the links are different in bandwidth, you could also consider using the PIRO feature of PfR to dynamically balance them, while still using QoS for treatment. This last approach might be the best as it dynamically uses both links bandwidth optimally.
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