Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Per-packet load balancing on router!!

Hi to all,

My network topology is as shown in the gif image attached (mySetup.gif). I want to load balance traffic coming from the Internet and destined to Host A onto the four firewalls (A,B,C,D) connected to the switch on a per-packet basis. For this, I have to enable CEF using command "ip cef" and enable per-packet load balancing using the command "ip load-sharing per-packet" on the router. I wanted some help concerning the static routes that I have to insert on the router in order to achieve it. How do I write the static routes?

Thx in advance..

Warm regards,

Visham

2 REPLIES
Hall of Fame Super Blue

Re: Per-packet load balancing on router!!

Hi Visham

ip route 192.168.10.100 255.255.255.255 192.168.100.10

ip route 192.168.10.100 255.255.255.255 192.168.100.20

ip route 192.168.10.100 255.255.255.255 192.168.100.30

ip route 192.168.10.100 255.255.255.255 192.168.100.40

Are you sure this will work though as each firewall will only see a part of the connection. If these firewalls are stateful and they do not run in active mode for all 4 with a shared state table i can't see how this would work.

Jon

New Member

Re: Per-packet load balancing on router!!

Dear Jon,

Many thx for the prompt reply..the firewalls are all active and stateful..i'm performaing state synchronisation on them so that each firewall has the same state connection s in their state table. As result, per-packet load balancing works.

I was just not sure of the routes as they use the same outgoing interface. So if I want to load balance to the whole of the subnet 192.168.10.0/24, i need to do:

ip route 192.168.10.0 255.255.255.0 192.168.100.10

ip route 192.168.10.0 255.255.255.0 192.168.100.20

ip route 192.168.10.0 255.255.255.0 192.168.100.30

ip route 192.168.10.0 255.255.255.0 192.168.100.40

Warm regards,

Visham

115
Views
0
Helpful
2
Replies
CreatePlease to create content