N's Story

BGP multihop 실습 본문

■ Communications /↘ Cisco GNS

BGP multihop 실습

AndrewNa 2019. 4. 11. 19:57
728x90
반응형

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

 

728x90
반응형

'■ Communications > ↘ Cisco GNS' 카테고리의 다른 글

BGP Peer group  (0) 2019.04.19
BGP Access-list, Prefix-list  (0) 2019.04.19
BGP + OSPF + EIGRP Full mesh 실습  (0) 2019.04.11
BGP + OSPF Full mesh 실습  (0) 2019.04.11
OSPF 기본 실습  (0) 2019.04.11
Comments