[j-nsp] Re: M5 - outbound load balancing
Harry Reynolds
harry at juniper.net
Wed Jan 19 15:31:01 EST 2005
Noting that per-prefix is the default (no policy needed), and that
per-packet means per microflow. For BGP you need to enable multipath to
ensure that 1 set of routes are not selected based upon (lowest) Router
ID alone. With multipath, routes that are equal up to the RID stage are
all installed as active, and now default per-prefix kicks in.
http://www.juniper.net/techpubs/software/junos/junos70/swconfig70-routin
g/html/bgp-config36.html#1015717
HTHs
> -----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 12:17 PM
> 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