Рет қаралды 469
BGP Load Sharing with Multiple Paths to the Same AS
CONFIGURE:
Router_A:
conf t
interface Loopback0
ip address 1.1.1.1 255.255.255.0
!
interface g0/0
ip address 160.20.20.1 255.255.255.0
!
!
interface g0/1
ip address 150.10.10.1 255.255.255.0
!
!
router bgp 11
neighbor 160.20.20.2 remote-as 10
neighbor 150.10.10.2 remote-as 10
network 1.1.1.0 mask 255.255.255.0
maximum-paths 2 !--- Enable load balancing with the maximum-paths command.
end
wr
!--- This command specifies the maximum number of paths
!--- to install in the routing table for the specific destination.
!
Router_B:
conf t
interface g0/3
ip address 2.2.2.1 255.255.255.0
!
interface g0/0
ip address 160.20.20.2 255.255.255.0
!
!
router bgp 10
neighbor 160.20.20.1 remote-as 11
neighbor 2.2.2.1 remote-as 10
network 2.2.2.0 mask 255.255.255.0
end
wr
!
Router_C:
conf t
interface g0/3
ip address 2.2.2.2 255.255.255.0
!
interface g0/1
ip address 150.10.10.2 255.255.255.0
!
!
router bgp 10
neighbor 150.10.10.1 remote-as 11
neighbor 2.2.2.1 remote-as 10
network 2.2.2.0 mask 255.255.255.0
end
wr
VERIFY:
show ip bgp
show ip route
🔔 Subscribe to my KZbin channel:
/ @ferdsthenetworkguy
📺 Playlist of all my videos on BGP:
• BGP
Facebook Page: / ferdsthenetworkguy
References:
Load Sharing When Dual-Homed to One Internet Service Provider (ISP) Through a Single Local Router: www.cisco.com/...
How Does Load Balancing Work?: www.cisco.com/...
BGP Multipath: www.cisco.com/...
BGP Best Path Selection Algorithm: www.cisco.com/...
#cisco #ccna #ccnp #ccie