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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

PIX/ASA - OSPF Load Balancing

Hello,

I have read the the PIX will load balance an equal cost route via OSPF. Will it send packets via per-packet, or is there a different method of distibuting traffic to the equal cost next-hop?

Thanks!!

Lee

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: PIX/ASA - OSPF Load Balancing

Hello Lee,

PIX 6.3 Now supports Load Balancing using OSPF only (up to 3 default routes)

The PIX can receive upto 3 default routes (all same metric) to 3 different gateways, and

will load balance on a per destination basis. Currently, there is no way from the PIX to

determine which gateway a packet will be sent to. One cannot currently use static routes

to do load balancing.

The hashing algorithm used is not simple, therefore it is very difficult to determine what

route (next hop) a packet will take given an IP Source and Destination pair. Basically,

the PIX takes the source and destination IPs (two 32-bit numbers) and hashes them into a

single 16-bit number. Then, the 16-bit number (0x0000 - 0xFFFF) is divided into thirds.

The first 1/3 goes to Gateway 1, the next 1/3 goes to Gateway 2, and the final 1/3 goes to

Gateway 3.

Hope this helps! If so, please rate.

Thanks

5 REPLIES
Cisco Employee

Re: PIX/ASA - OSPF Load Balancing

Hello Lee,

PIX 6.3 Now supports Load Balancing using OSPF only (up to 3 default routes)

The PIX can receive upto 3 default routes (all same metric) to 3 different gateways, and

will load balance on a per destination basis. Currently, there is no way from the PIX to

determine which gateway a packet will be sent to. One cannot currently use static routes

to do load balancing.

The hashing algorithm used is not simple, therefore it is very difficult to determine what

route (next hop) a packet will take given an IP Source and Destination pair. Basically,

the PIX takes the source and destination IPs (two 32-bit numbers) and hashes them into a

single 16-bit number. Then, the 16-bit number (0x0000 - 0xFFFF) is divided into thirds.

The first 1/3 goes to Gateway 1, the next 1/3 goes to Gateway 2, and the final 1/3 goes to

Gateway 3.

Hope this helps! If so, please rate.

Thanks

Cisco Employee

Re: PIX/ASA - OSPF Load Balancing

Hello Lee,

PIX 6.3 Now supports Load Balancing using OSPF only (up to 3 default routes)

The PIX can receive upto 3 default routes (all same metric) to 3 different gateways, and

will load balance on a per destination basis. Currently, there is no way from the PIX to

determine which gateway a packet will be sent to. One cannot currently use static routes

to do load balancing.

The hashing algorithm used is not simple, therefore it is very difficult to determine what

route (next hop) a packet will take given an IP Source and Destination pair. Basically,

the PIX takes the source and destination IPs (two 32-bit numbers) and hashes them into a

single 16-bit number. Then, the 16-bit number (0x0000 - 0xFFFF) is divided into thirds.

The first 1/3 goes to Gateway 1, the next 1/3 goes to Gateway 2, and the final 1/3 goes to

Gateway 3.

Hope this helps! If so, please rate.

Thanks

New Member

Re: PIX/ASA - OSPF Load Balancing

Thanks Hemendoz! This is exactly what I'm looking for!

New Member

Re: PIX/ASA - OSPF Load Balancing

Hemendoz,

Out of curiosity, is this hashing algorithm the same method that CEF uses for per-destination determination?

Thanks!

Cisco Employee

Re: PIX/ASA - OSPF Load Balancing

Hello,

I'm sorry. I don't have that visibility into the code so I can't answer that question.

357
Views
0
Helpful
5
Replies