PDA

View Full Version : How to enable load balance for a destination in BGP?


David.C
07-16-2009, 02:33 AM
According to the topology above, make necessary configuration to ensure Sw2 use both R4 and R5 to load balance traffic towards 70.1.1.0.

David.C
07-16-2009, 05:33 AM
To achieve the load sharing via BGP, configure maximum-paths on sw2 to adjust the amount of BGP routes installed to the route table.

Verify via:

sw2#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
70.0.0.0/24 is subnetted, 1 subnets
B 70.1.1.0 [20/0] via 11.11.58.5, 00:53:42
[20/0] via 11.11.48.4, 00:53:42
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
11.0.0.0/24 is subnetted, 5 subnets
C 11.11.8.0 is directly connected, Loopback0
C 11.11.33.0 is directly connected, Vlan33
C 11.11.44.0 is directly connected, Vlan44
C 11.11.48.0 is directly connected, FastEthernet0/4
C 11.11.58.0 is directly connected, FastEthernet0/5
90.0.0.0/24 is subnetted, 1 subnets
B 90.1.1.0 [20/0] via 11.11.58.5, 00:53:42
[20/0] via 11.11.48.4, 00:53:42

sw2#traceroute 70.1.1.1 source 11.11.8.8
Type escape sequence to abort.
Tracing the route to 70.1.1.1
1 11.11.48.4 252 msec
11.11.58.5 56 msec *