[j-nsp] Load Balancing with LSPs

Premji premji at speakeasy.net
Mon Nov 17 21:02:50 EST 2008


Luis,
More info on the fields used in the hash calculation:
http://tinyurl.com/5tf5xl

And knobs that can be used to influence whats used in the hash  
calculation:
http://tinyurl.com/56xbto   (hardware dependent).

-Ariff

On Nov 17, 2008, at 3:00 PM, luis barrios wrote:

> Thanks for your answer...
> The P router is M10i ( 8.2 R2.4) , the PE router is m7i ( 7.3R1.5)
> Im working with real traffic and there are a lot of application  
> using the links.  And the behavior of the hash mechanism could be  
> the reason of what im seeing .. do you know how can i test change  
> the behavior of the algorithm, thanks ..
>
> thanks Ariff
>
> luis
>
>
>
> 2008/11/17 Ariff Premji <premji at speakeasy.net>
> Luis,
> A couple of questions.
>
> 1. What is the hw platform?
> 2. Is there enough variance in the traffic itself?  The reason  
> being that the algorithm is based on a hash mechanism that ensures  
> that packets belonging to the same flow always ride the same path.   
> So if there isnt enough variance in the 5 tuples (sometimes can be  
> increased or decreased on the newer platforms), then you will see  
> this sticky behavior.  A ping will not be a good test. This  
> usually  happens when a NAT box or proxy-server are in the mix  
> since the IPs of several devices can be hidden by the NAT/proxy- 
> servers.
>
> -Ariff
>
> On Nov 17, 2008, at 2:37 PM, luis barrios wrote:
>
> Hello .. I have a  PE router conected to a P router with E1s  
> interfaces.
> I
> built 3 LSPs  and each LSP with the respective path, each Path is  
> taking
> one
> E1. Actually when i see the routing table i see that the routes has 3
> posible next hops and they are the 3 LSPs .    I have configured in  
> the
> routing table load balancing per packet but it doesnt work well,  
> Almost
> all
> traffic is taking only one E1.
>
> label-switched-path Pop1-NodoJDC_1 {
>   to X.X.X.X;
>   primary Path-Pop1-NodoJDC_1;
>   no-cspf;
>
> label-switched-path Pop1-NodoJDC_2 {
>   to X.X.X.X;
>   primary Path-Pop1-NodoJDC_2;
>   no-cspf;
>
> label-switched-path Pop1-NodoJDC_2 {
>   to X.X.X.X;
>   primary Path-Pop1-NodoJDC_3;
>   no-cspf;
>
>
> path Path-Pop1-NodoJDC_1 {
>   YY.YY.YY.A strict;
>
> }
>
> path Path-Pop1-NodoJDC_2 {
>   YY.YY.YY.B strict;
>
> }
> path Path-Pop1-NodoJDC_3 {
>   YY.YY.YY.C strict;
>
> }
>
>
> forwarding-table {
>   export Load-Balancing;
> }
>
> lbarrios at XX# top show policy-options policy-statement Load-Balancing
> then {
>   load-balance per-packet;
> }
>
>
> the route is
> X.X.X.X/32  *[RSVP/7] 1d 08:23:15, metric 50
>                     via e1-0/1/1.0, label-switched-path Pop1-NodoJDC_1
>                     via e1-0/1/0.0, label-switched-path Pop1-NodoJDC_2
> via e1-0/1/2.0, label-switched-path Pop1-NodoJDC_3
>
>
>
>
> I have configure VRFs and in the route table of each VRF i see the
> routes
> with the 3 LSPs, but i dont know why the traffic is taking allmost  
> only
> one
> E1s
>
> Thanks for your help , i appreciate it so much.
>
> luis
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
>
>



More information about the juniper-nsp mailing list