[j-nsp] Load-Balacing Per-Packets on two equal paths

Jeremy Wallace jwalla at jtac.juniper.net
Thu Feb 13 11:43:05 EST 2003


On Thu, 13 Feb 2003 10:59:38 -0600
Joe Metzger <metzger at es.net> wrote:

JM> Try adding the following to your config:
JM> 	set forwarding-options hash-key family inet layer-4
JM> 
JM> And then have your traffic generator generate 2 streams with
JM> the same source ip, destination ip and source port number. The
JM> destination port address of the 2 streams need to differ by a
JM> multiple of 4.
JM> 
JM> At this point you should see equal traffic across both links.
JM> All the traffic within each stream should be received in order.
JM> 
JM> FYI, the actual algorithms used to split the traffic are not well
JM> documented and may be subject to revision on different platforms
JM> and/or different OS revisions...

Tomasz,

Along the same lines of what Joe was saying, the more streams of traffic
you generate (for example: more source IPs and destination IPs), the
more you will see the loads distributed evenly across the two links.

Jeremy.



More information about the juniper-nsp mailing list