12-13-2023 02:34 AM
We have two edge routers from two ISPs with static default routes for internet, both the routers are connected to a layer 3 switch. Currently we have configured HSRP between two routers with default route in the switch towards the virtual IP to achieve active passive scenario between the two ISPs, now we have a requirement to make them as active active so that the traffic load will be shared between the two ISPs. How can we achieve this? Thanks in advance.
Solved! Go to Solution.
12-14-2023 01:11 AM - last edited on 12-18-2023 03:58 PM by Translator
After applying no ip route-cache, I still get the same results. And unfortunately the switch ios is not taking the command
Ip cef load-sharing per-packet '
Switch#sh run int gig0/1
Building configuration...
Current configuration : 127 bytes
!
interface GigabitEthernet0/1
no switchport
ip address 10.50.10.2 255.255.255.252
no ip route-cache
negotiation auto
end
Switch#sh run int gig0/0
Building configuration...
Current configuration : 127 bytes
!
interface GigabitEthernet0/0
no switchport
ip address 10.50.20.2 255.255.255.252
no ip route-cache
negotiation auto
end
12-14-2023 01:17 AM - last edited on 12-18-2023 03:59 PM by Translator
Ip route-cache cef
Then
Ip cef load-sharing per-packet
MHM
12-14-2023 01:31 AM - last edited on 12-18-2023 04:01 PM by Translator
Thank you, but still I couldn't get through
Ip cef load-sharing per-packet
command
Switch(config)#ip cef load-sharing ?
algorithm Per-destination load sharing algorithm selection
key-control Configure algorithm control values
Switch(config)#ip cef load-sharing al
Switch(config)#ip cef load-sharing algorithm ?
dpi Deep Packet Inspection
include-ports Algorithm that includes layer 4 ports
original Original algorithm
tunnel Algorithm for use in tunnel only environments
universal Algorithm for use in most environments
Switch(config)#ip cef load-sharing algorithm
12-14-2023 01:42 AM - last edited on 12-18-2023 04:02 PM by Translator
Switch(config)
#ip cef load-sharing algorithm
universal
Select universal.
You need to add this command to both interface toward two ISP1/2
MHM
12-14-2023 02:02 AM
Still the same results unfortunately
12-14-2023 06:49 AM
@MHM Cisco World My bad, sorry for being a noob. Its working as expected, load sharing when the destinations are different, which I haven't tried earlier, now I see taking different paths upon tracing different destinations. I haven't focused when you said 'per-destination'
12-14-2023 07:24 AM
BTW, highly recommend you do NOT do per packet load sharing especially between two different ISPs. TCP packets are the often delivered out of order which then often leads to sender believing packets were lost in transit.
12-14-2023 03:21 PM - edited 12-14-2023 11:53 PM
Hello
Alternative solution (see attached file) - using iplsa/object tracking and policy based routing:
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