[rbak-nsp] Load Balancing Between Cisco and Redback

Denis Mikhaylovskiy denis.mikhaylovskiy at ericsson.com
Tue Jul 13 04:07:06 EDT 2010


Hi Alireza,

This command is enabled by default. You can extend load balancing to include both L3 and L4 information, please see below full command description.

So concluding... SE always does load balance per L3 info or per L3&L4, but it doesn't on per packet. So please make sure you have enabled CEF on your cisco router to do hashing per destination.


service load-balance ip
service load-balance ip {layer-3 | layer-4} 

Purpose
Specifies whether the load balancing hash algorithm should include only Layer 3 information or both Layer 3 and Layer 4 information.

Command Mode
global configuration

Syntax Description
layer-3
 Specifies that the load balancing algorithm includes Layer 3 information only; that is, source and destination IP only.
 
layer-4
 Specifies that the load balancing algorithm includes both Layer 3 and Layer 4 information; that is, source and destination IP and source and destination ports for Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) packets.
 

Default
The load balancing algorithm includes Layer 3 information only.

Usage Guidelines
Use the service load-balance ip command to specify whether the load balancing hash algorithm should include only Layer 3 information or both Layer 3 and Layer 4 information. Layer 3 information consists of the source and destination IP. Layer 4 information includes the destination ports for TCP and UDP packets. 

Including the TCP and UDP source and destination ports in the load balancing hash algorithm provides the following functionaries:

Balances the traffic load among available paths while keeping packets for a particular data flow in order. 
Preserves the same path for all packets in a given flow.

Note:  
The service load-balance ip command is supported only on IPV4 and only for complete packets. It is not supported for IPv6 or when IP fragmentation is used.
Note:  
Use the show ip route summary command to verify whether Layer 4 load balancing is enabled on a router.


Cheers
/denis

-----Original Message-----
From: redback-nsp-bounces at puck.nether.net [mailto:redback-nsp-bounces at puck.nether.net] On Behalf Of Alireza Soltanian
Sent: Tuesday, July 13, 2010 11:24 AM
To: redback-nsp at puck.nether.net
Subject: Re: [rbak-nsp] Load Balancing Between Cisco and Redback

Guys
I found this command on my redback:

service load-balance ip layer-3

I think the solution is this, Do you have any document/experience with this
command, or which commands must be used after enabling this service?


-----Original Message-----
From: redback-nsp-bounces at puck.nether.net
[mailto:redback-nsp-bounces at puck.nether.net] On Behalf Of
redback-nsp-request at puck.nether.net
Sent: Monday, July 12, 2010 8:30 PM
To: redback-nsp at puck.nether.net
Subject: redback-nsp Digest, Vol 31, Issue 6

Send redback-nsp mailing list submissions to
	redback-nsp at puck.nether.net

To subscribe or unsubscribe via the World Wide Web, visit
	https://puck.nether.net/mailman/listinfo/redback-nsp
or, via email, send a message with subject or body 'help' to
	redback-nsp-request at puck.nether.net

You can reach the person managing the list at
	redback-nsp-owner at puck.nether.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of redback-nsp digest..."


Today's Topics:

   1. Re: Load Balancing Between Cisco and Redback (David Freedman)
   2. Re: Load Balancing Between Cisco and Redback (Marcin Kuczera)


----------------------------------------------------------------------

Message: 1
Date: Mon, 12 Jul 2010 12:57:49 +0100
From: David Freedman <david.freedman at uk.clara.net>
To: redback-nsp at puck.nether.net
Subject: Re: [rbak-nsp] Load Balancing Between Cisco and Redback
Message-ID: <4C3B033D.3010705 at uk.clara.net>
Content-Type: text/plain; charset=ISO-8859-1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just checked and I have to agree with Ron, there is a hashing algorithm
and no per-packet support.

David.

Alireza Soltanian wrote:
> Hi
> 
> I am using SEOS 6.5.1.3 on SE-100
> 
> Alireza
> 
> -----Original Message-----
> From: David Freedman [mailto:david.freedman at uk.clara.net] 
> Sent: Sunday, July 11, 2010 3:39 PM
> To: Alireza Soltanian
> Subject: Re: [rbak-nsp] Load Balancing Between Cisco and Redback
> 
> What version of SEOS are you running?
> 
>>From what I understand, ECMP is a relatively new feature (and yes, this
> surprised me as well)
> 
> David.
> 
> 
> On 11/07/2010 11:29, "Alireza Soltanian" <soltanian at gmail.com> wrote:
> 
>> Hi all
>>
>> I have a Cisco 7200 VXR and SE-100. I want to perform Equal Cost
>> load-Balancing between these routers via OSPF or Static route. I tried a
> lot
>> but it seems it does not work. With Investigation the problem, I found
out
>> the Cisco router actually performs the load balancing on both links in
>> output direction and sends the traffic Per-Packet(with configuration
under
>> the interface) but in return, Redback sends the traffic on one link only,
>> although there are two equal active routes in the routing table of
> Redback.
>> If the interfaces are configured per-destination load-sharing on Cisco
> then
>> the traffic is sent via one link and received from another link.
>>
>> Is there any idea about this?
>>
>> Alireza
>>  
>>
>> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
>> database 5268 (20100710) __________
>>
>> The message was checked by ESET NOD32 Antivirus.
>>
>> http://www.eset.com
>>  
>>
>> _______________________________________________
>> redback-nsp mailing list
>> redback-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/redback-nsp
> 


- --

David Freedman
ClaraNET
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkw7Az0ACgkQtFWeqpgEZrLcxQCghfKEJ3CubltUDnHLRDKunOuu
bGUAn2Ius35e5vhjsMenIewnzhV74vJ6
=7tDj
-----END PGP SIGNATURE-----


------------------------------

Message: 2
Date: Mon, 12 Jul 2010 14:24:22 +0200
From: Marcin Kuczera <marcin at leon.pl>
To: David Freedman <david.freedman at uk.clara.net>
Cc: redback-nsp at puck.nether.net
Subject: Re: [rbak-nsp] Load Balancing Between Cisco and Redback
Message-ID: <4C3B0976.4000404 at leon.pl>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

David Freedman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Just checked and I have to agree with Ron, there is a hashing algorithm
> and no per-packet support.

I have not seen any new solution based on ASIC that will use per packet 
or round-robin algoryth (that can be dangerous i.e. for RTP streams).

All new solutions use some hasing mechanism.

Cisco 7200 is not based on ASIC so can support round-robin and similar 
per packet algorythms.

Marcin


------------------------------

_______________________________________________
redback-nsp mailing list
redback-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/redback-nsp


End of redback-nsp Digest, Vol 31, Issue 6
******************************************
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5273 (20100712) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5273 (20100712) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 

_______________________________________________
redback-nsp mailing list
redback-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/redback-nsp



More information about the redback-nsp mailing list