"maximum-path" would only install multiple routes in the routing table
if all the attributes are same and the routes are from the *same*
neighboring AS, so it won't serve the purpose of eBGP multipath
loadsharing in case of 2 different ISPs.
From: Rick Casarez [mailto:email@example.com]
Sent: Thursday, December 27, 2001 5:51 PM
To: firstname.lastname@example.org; email@example.com
Subject: Re: [nsp] 2 ISPs, BGP and load-balancing
What kind of load balance are you looking for and which direction?
Inbound or outbound or both?
If you want really load balancing you can, if your router can
handle it, run 'maximum-paths 2' global BGP command on your router. This
will allow your router to choose 2 best paths instead of the 1 (the
default). If you are receiving only partial routes from each provider
then you could run equal weight default routes pointing towards each and
what doesnt get captured from the provider announcements will be sort of
balanced out for you.
I would recommend the latter personally.
For inbound load-balancing it is a little bit harder and would
involve tweaking attributes for subnets of your prefix (or multiple
prefixes) to the providers. That I would recommend doing until it works
like you want it to.
>Subject: [nsp] 2 ISPs, BGP and load-balancing
>Date: Wed, 26 Dec 2001 06:52:08 -0500
>I have two 4mbps internet links connected to 2 diffrent ISPs. How
>I can create load-balancing between both ISPs ? At
>this moment my router configuration (Cisco 7206VXR, NPE-400)
>looks like that:
>router bgp 60000
> network 220.127.116.11 0.0.0.255
>neighbor 18.104.22.168 weight 50
>neighbor 22.214.171.124 remote-as 10000
>neighbor 126.96.36.199 description ISP-1 (ex.UUNET)
>neighbor 188.8.131.52 filter-list 1 out
>neighbor 184.108.40.206 route-map SETMETRIC in
> neighbor 220.127.116.11 weight 50
> neighbor 18.104.22.168 remote-as 20000
> neighbor 22.214.171.124 description ISP-2 (ex.AT&T)
> neighbor 126.96.36.199 filter-list 1 out
> neighbor 188.8.131.52 route-map SETMETRIC in
>ip as-path access-list permit ^60000$
>ip as-path access-list deny .*
>route-map SETMETRIC permit 10
>match ip address 1
>set metric 100
>access-list 10 permit any
>Any propositions ? Maybe I must set local-preference or
>as prepend for neighbors ?
Send and receive Hotmail on your mobile device: Click
This archive was generated by hypermail 2b29 : Sun Aug 04 2002 - 04:13:27 EDT