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

Korey Verlsteffen korey at webstream.net
Wed Jan 19 16:06:03 EST 2005


>Can we see your configuration under [protocols bgp]?

Here you go minus the real as and ip info.  Thank you for your help.

bgp {
    log-updown;
    damping;
    group provider1 {
        type external;
        multipath;
        neighbor 1.2.3.4 {
            import provider1-policy;
            export my-bgp-network;
            peer-as 1234;
        }
    }
    group provider2 {
        type external;
        multipath;
        neighbor 5.6.7.8 {
            import provider2-policy;
            export my-bgp-network;
            peer-as 5678;
        }
    }
}




----- Original Message ----- 
From: Fouant, Stefan A 
To: Korey Verlsteffen ; Erdem Sener ; juniper-nsp at puck.nether.net 
Sent: Wednesday, January 19, 2005 3:40 PM
Subject: RE: [j-nsp] Re: M5 - outbound load balancing


Hi,

Problem is here that BGP is making the decision as to which route to make
active (in the Local-RIB) and then sending that single route to the routing
table.  So from the routing table perspective you don't' have multiple
equal-cost paths to choose from, hence the load-balance per-packet policy
does not work.

You might want to try BGP multipath.  Can we see your configuration under
[protocols bgp]?

Stefan Fouant
Senior Network Engineer
UUNET / MCI

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Korey Verlsteffen
Sent: Wednesday, January 19, 2005 3:17 PM
To: Erdem Sener; juniper-nsp at puck.nether.net
Subject: [j-nsp] Re: M5 - outbound load balancing

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

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 forwarding-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?



More information about the juniper-nsp mailing list