Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

BGP Load sharing

Status
Not open for further replies.

menace212

Programmer
Jul 11, 2003
144
US
I attempting a BGP load sharing scenario in a lab I have...I have three routers...ISP 1 and ISP 2, pluse the CE router...

The folling programming consists of this..

ISP 1:

int loopback 0
ip address 2.2.2.1 255.255.255.255

BGP 65000
neighbor 1.1.1.1 remote-as 64000
neighbor 1.1.1.1 ebgp-multihop 3
neighbor 1.1.1.1 update-source loopback 0
neighbor 1.1.1.1 default-orginate
neighbor 1.1.1.1 soft-reconfiguration inbound

ISP 2:

int lo0
ip address 3.3.3.1 255.255.255.255

BGP 65500
neighbor 1.1.1.1 remote-as 64000
neighbor 1.1.1.1 ebgp-multihop 3
neighbor 1.1.1.1 update-source loopback 0
neighbor 1.1.1.1 default-orginate
neighbor 1.1.1.1 soft-reconfiguration inbound


CE:
int lo0
ip address 1.1.1.1 255.255.255.255

BGP 64000
neighbor 2.2.2.1 remote-as 65000
neighbor 2.2.2.1 ebgp-multihop 3
neighbor 2.2.2.1 update-source loopback 0
neighbor 2.2.2.1 soft-reconfiguration inbound
neighbor 2.2.2.1 route-map as-1 in
neighbor 3.3.3.1 remote-as 65500
neighbor 3.3.3.1 ebgp-multihop 3
neighbor 3.3.3.1 update-source loopback 0
neighbor 3.3.3.1 soft-reconfiguration inbound
neighbor 3.3.3.1 route-map as-1 in
maximum-paths 2
route-map as-1 permit 10
set as-path prepend 64000


Now on the CE router I prepeneded my AS for both ISP to see the same paths so this should load balance my traffic with the maximum 2 command,but I only see on route in the table..
Any suggestions or configurations errors
Sh ip route

B* 0.0.0.0/0 [20/0] via 1.1.1.1,

P.S.
My IGP is OSPF, do you think my IGP is the real issue here
 
with your config, load balancing is not possible. because you are multihoming to two different AS's the CE router will choose only a single best route to each destination. if you were to place the two ISP routers in the same AS then it would work. static routes are your best bet in this case otherwise you could implement load sharing by stating certain routes use ISP1 and certain routes use ISP2

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
Do a "show ip bgp 0.0.0.0" and verify you are actually learning that route from both peers.
 
yes I'm learning them from both peers..

I will verify the AS connections and let everyone know
 
thanks for the help...The same AS was the issue..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top