[j-nsp] per packet/flow load balancing.

Jonathan Tse jonathantse@pacific.net.sg
Mon, 25 Nov 2002 23:59:18 +0800


Hi,

This has been discussed many times here. Apologize if someone think this is
too simple. But only now I give it a try and without luck.

I have setup this in the test lab:

           /-- IBGP -- router A -- EBGP --\
router C <                                 > router D
           \-- IBGP -- router B -- EBGP --/

I believe there are equal cost paths but the router C doesn't seem to be
able the load balance per packet.

Below is a snapshot from router C:

192.168.44.0/22    *[BGP/170] 19:07:50, MED 90, localpref 350, from
192.168.9.2
                      AS path: 64665 64665 I
                      to 192.168.4.1 via ge-0/1/0.0
                    > to 192.168.4.2 via ge-0/1/0.0
192.168.48.0/22    *[BGP/170] 19:07:50, MED 90, localpref 350, from
192.168.9.2
                      AS path: 64665 64665 I
                    > to 192.168.4.1 via ge-0/1/0.0
                      to 192.168.4.2 via ge-0/1/0.0

router C# show policy-options policy-statement load-balancing-policy
from as-path TEST-AS;
then {
    load-balance per-packet;
}

router C# show policy-options as-path TEST-AS
"64665 .*";

router C# show routing-options forwarding-table
export load-balancing-policy;

I have even configured "multipath" at BGP but doesn't help still.

I wonder how do I verify whether the per packet load balancing is being
enabled other than traceroute.

Thanks!

Jonathan.