cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
484
Views
0
Helpful
2
Replies

eBGP Load Sharing

kholis.nasution
Level 1
Level 1

I need to have both route that advertised by IOU-1 and IO-3 on IOU-2 routing table. routing protocol that used is eBGP.

here its the topology.

 

eBGP Test.jpg

 

here its the configuration that i used:

IOU2#sh run | s bgp
router bgp 65531
bgp log-neighbor-changes
network 8.8.8.8 mask 255.255.255.255
neighbor 192.168.77.2 remote-as 65532
neighbor 192.168.78.2 remote-as 65533
maximum-paths 2

 

IOU1#sh run | s bgp
router bgp 65532
bgp log-neighbor-changes
network 0.0.0.0
neighbor 192.168.77.1 remote-as 65531
maximum-paths 2
IOU1#

 

IOU3#sh run | s bgp
router bgp 65533
bgp log-neighbor-changes
network 0.0.0.0
neighbor 192.168.78.1 remote-as 65531
maximum-paths 2
IOU3#

 

 

actually IOU-1 and IOU-3 has advertised all routes to IOU-3 and its received. 

IOU3#sh ip bgp neighbors 192.168.78.1 advertised-routes
BGP table version is 5, local router ID is 192.168.100.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 192.168.100.2 0 32768 i

Total number of prefixes 1

 

IOU1#sh ip bgp neighbors 192.168.77.1 advertised-routes
BGP table version is 5, local router ID is 192.168.99.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*> 0.0.0.0 192.168.99.2 0 32768 i

Total number of prefixes 1

 

IOU2#sh ip bgp
BGP table version is 3, local router ID is 8.8.8.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
* 0.0.0.0 192.168.78.2 0 0 65533 i
*> 192.168.77.2 0 0 65532 i
*> 8.8.8.8/32 0.0.0.0 0 32768 i
IOU2#

 

 

but i need to have those 0.0.0.0/0 on IOU-2 routing table. currently i have only the best one, which is form IOU-1.

IOU2#sh ip rou
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is 192.168.77.2 to network 0.0.0.0

B* 0.0.0.0/0 [20/0] via 192.168.77.2, 00:25:00
8.0.0.0/32 is subnetted, 1 subnets
C 8.8.8.8 is directly connected, Loopback0
192.168.77.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.77.0/30 is directly connected, Ethernet0/0
L 192.168.77.1/32 is directly connected, Ethernet0/0
192.168.78.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.78.0/30 is directly connected, Ethernet0/1
L 192.168.78.1/32 is directly connected, Ethernet0/1
IOU2#

 

Need your help. please. 

 

 

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

 

On IOU-2 add this to your BGP configuration - 

 

router bgp 65531
bgp bestpath as-path multipath-relax

 

note it is a hidden command so you need to type the full thing in. 

 

Also you only need the maximum-paths configuration on the IOU-2 router. 

 

Jon

View solution in original post

2 Replies 2

Jon Marshall
Hall of Fame
Hall of Fame

 

On IOU-2 add this to your BGP configuration - 

 

router bgp 65531
bgp bestpath as-path multipath-relax

 

note it is a hidden command so you need to type the full thing in. 

 

Also you only need the maximum-paths configuration on the IOU-2 router. 

 

Jon

Hi Jon,

thanks for your help. this fixing this problem. thanks a lot.

 

IOU2#sh run | s bgp
router bgp 65531
bgp log-neighbor-changes
bgp bestpath as-path multipath-relax
network 8.8.8.8 mask 255.255.255.255
neighbor 192.168.77.2 remote-as 65532
neighbor 192.168.78.2 remote-as 65533
maximum-paths 2

IOU2#sh ip route
Codes: L - local, 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, H - NHRP, l - LISP
a - application route
+ - replicated route, % - next hop override

Gateway of last resort is 192.168.78.2 to network 0.0.0.0

B* 0.0.0.0/0 [20/0] via 192.168.78.2, 00:07:02
[20/0] via 192.168.77.2, 00:07:02
8.0.0.0/32 is subnetted, 1 subnets
C 8.8.8.8 is directly connected, Loopback0
192.168.77.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.77.0/30 is directly connected, Ethernet0/0
L 192.168.77.1/32 is directly connected, Ethernet0/0
192.168.78.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.78.0/30 is directly connected, Ethernet0/1
L 192.168.78.1/32 is directly connected, Ethernet0/1
IOU2#sh ip bgp
BGP table version is 7, local router ID is 8.8.8.8
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found

Network Next Hop Metric LocPrf Weight Path
*m 0.0.0.0 192.168.78.2 0 0 65533 i
*> 192.168.77.2 0 0 65532 i
*> 8.8.8.8/32 0.0.0.0 0 32768 i
IOU2#

Review Cisco Networking products for a $25 gift card