BGP multihop 실습
Topology
Commend
R1(config)#ip route 2.2.2.2 255.255.255.0 s1/0
R1(config)#ip route 2.2.2.2 255.255.255.0 s1/2
R1(config)#router bgp 100
R1(config-router)#neighbor 2.2.2.2 remote-as 200
R1(config-router)#neighbor 2.2.2.2 ebgp-multihop 3 sho
R1(config-router)#neighbor 2.2.2.2 update-source lo0
R2(config)#ip route 1.1.1.0 255.255.255.0 s1/0
R2(config)#ip route 1.1.1.0 255.255.255.0 s1/2
R2(config)#router bgp 200
R2(config-router)#neighbor 1.1.1.1 remote-as 100
R2(config-router)#neighbor 1.1.1.1 ebgp-multihop 3 sho
R2(config-router)#neighbor 1.1.1.1 update-source lo0
Check
R1(config-router)#do show ip ro
<생략>
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
S 2.2.2.0 is directly connected, Serial1/0
is directly connected, Serial1/2