[j-nsp] Re: M5 - outbound load balancing

Alexander Arsenyev (GU/ETL) alexander.arsenyev at ericsson.com
Wed Jan 19 15:38:19 EST 2005


You actually have 2 BGP routes but only 1 of them is active. You may need to configure "multipath" option
to load-balance. Then Your "show route" output should look like:
65.0.0.0/19        *[BGP/170] 1d 00:43:22, localpref 100
                      AS path: XXX XXX XXX XXX I
                    > to 1.2.3.4 via t3-0/0/1.0
			    to 5.6.7.8 via t3-0/0/0.0 <===Note that next-hop is copied from inactive path
                    [BGP/170] 1d 00:43:28, localpref 100
                      AS path: XXX XXX XXX XXX I
                    > to 5.6.7.8 via t3-0/0/0.0
HTH,
Cheers
Alex

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net]
Sent: 19 January 2005 20:17
To: Erdem Sener; juniper-nsp at puck.nether.net
Subject: [j-nsp] Re: M5 - outbound load balancing


<>
In terms of load balancing, I would suggest turning on per-flow load
balancing using
a policy and applying it on the forwarding table.

You can do this with something like;

set policy-options policy-statement then load-balance per-packet
set routing-options forwarding-table export Load-Balance-Policy
</>

I tried the per-packet policy but it don't think I have it setup right.

routing-options {
    autonomous-system XXXX;
    forwarding-table {
        export load-balance;
    }
}

policy-options {
    policy-statement load-balance {
        then {
            load-balance per-packet;
        }
    }
}

A show route 65.0.0.1 shows me two equal paths

net.0: 151671 destinations, 302507 routes (151522 active, 0 holddown, 321
hidden)
+ = Active Route, - = Last Active, * = Both

65.0.0.0/19        *[BGP/170] 1d 00:43:22, localpref 100
                      AS path: XXX XXX XXX XXX I
                    > to 1.2.3.4 via t3-0/0/1.0
                    [BGP/170] 1d 00:43:28, localpref 100
                      AS path: XXX XXX XXX XXX I
                    > to 5.6.7.8 via t3-0/0/0.0

But a show route forwardin-table destination 65.0.0.1 shows me only one
destination

Routing table: inet
Internet:
Destination        Type RtRef Next hop          Type Index NhRef Netif
65.0.0.0/19        user     0 1.2.3.4      ucst    25 101673 t3-0/0/1.0


What am I doing wrong?



_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
http://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list