cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7446
Views
2
Helpful
5
Replies

Configure 2 links load balancing using BGP

Tharaka4747
Level 1
Level 1

Hi,

I want a sipmle configuration regarding to configure load balancing using BGP for two links. My netwrok topology is as below.

bgps.jpg

So anyone have simple BGP load balancing configuration for this kind of network topology, please share with me .

5 Replies 5

John Blakley
VIP Alumni
VIP Alumni

Here you go:

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml#conf2

HTH,
John

*** Please rate all useful posts ***

HTH, John *** Please rate all useful posts ***

Abzal
Level 7
Level 7

Hi,

I think BGP maximum-path it's solution what are looking for which by default is 1. Change to 2 then it should be ok. ISPs should be advertising default routes.

Configuration:

router bgp ZZZ

neighbor x.x.x.x remote-as 4700

neighbor y.y.y.y remote-as 4700

maximum-paths 2

Verify:

sh ip route

The link

http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00800945bf.shtml#conf2

Hope it will help.

Best regards,
Abzal

Hi,

this will install multiple BGP routes for the same prefix in the RIB but the load-sharing will still be taken in charge by the switching process which is CEF by default and the traffic will be load shared by src-dst IP.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

ip load-sharing per-packet

Hi,

yes of course but It is highly recommend not to use per-packet load sharing.

Regards.

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.
Review Cisco Networking for a $25 gift card