I want achieve a load balancing of ISP like the one below.
Only 2 subnet should go through ISP 2, and rest of the traffic should go to ISP 1.
Let me know all the things that I need to do on a 3750x core and firewall. Waiting for your response......
Network Engineering Stack Exchange is a question and answer site for network engineers. It only takes a minute to sign up.
Sign up to join this communityI want achieve a load balancing of ISP like the one below.
Only 2 subnet should go through ISP 2, and rest of the traffic should go to ISP 1.
Let me know all the things that I need to do on a 3750x core and firewall. Waiting for your response......
If you only want outbound traffic to be load-balanced like that (beware inbound traffic from the Internet won't be affected and will be routed according to Internet routing tables) then let's suppose your ASA1 IP address is 192.168.0.1/30 and ASA2 address is 192.168.0.5/30.
Two subnets that should go through ISP 2 are:
192.168.1.0/24
192.168.2.0/24
Everything else goes through ISP1
Then you create two ACLs:
access-list 101 permit 192.168.1.0 0.0.0.255
access-list 101 permit 192.168.2.0 0.0.0.255
Create a route-map (last permit line is to match all remaining traffic and route by default):
route-map pbr1 permit 10
match ip address 101
set ip next-hop 192.168.0.5
route-map pbr1 permit 20
set ip next-hop 192.168.0.1
Apply to inbound interface facing the local subnets:
interface GigabitEthernet 0/1
ip policy route-map pbr1
Hope that helps a little bit. Some more helpful resources for you:
Also you can see if PBR is supported on your 3750x on Cisco's Feature navigator.
sdm prefer
command: cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/…
I´m agree with the explanation of Alex, but if you do that, the you must set a modification because if for some reason, one of the two links fails, the pbr mus continue matching traffic, and may occurs that, the traffic flow searching the next-hop of the link down, in other words, a blackhole inside your network.