N's Story

BGP + OSPF Full mesh 실습 본문

■ Communications /↘ Cisco GNS

BGP + OSPF Full mesh 실습

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

Topology​

 

 

Commend ( OSPF 및 기본 설정 생략 )

R1(config)#router bgp 100

R1(config-router)#neighbor 10.1.12.2 remote-as 200 // next-hop remote-as 200​

R1(config-router)#network 1.1.1.0 mask 255.255.255.0 // 자신 ip 광고​

 

R2(config)#router bgp 200

R2(config-router)#neighbor 10.1.12.1 remote-as 100 // eBGP

R2(config-router)#neighbor 4.4.4.4 remote-as 200 // iBGP 루프백 ID를 주어 장애방지

R2(config-router)#neighbor 4.4.4.4 update-source lo0 // 루프백이기 때문에 매핑해줌(인터페이스로 잡으면 필요x)

R2(config-router)#neighbor 4.4.4.4 next-hop-self // eBGP 쪽에서 해줌

 

R2(config-router)#neighbor 3.3.3.3 remote-as 200

R2(config-router)#neighbor 3.3.3.3 update-source lo0

R2(config-router)#neighbor 3.3.3.3 next-hop-self

 

R3(config)#router bgp 200

R3(config-router)#neighbor 2.2.2.2 remote-as 200

R3(config-router)#neighbor 4.4.4.4 update-source lo0

R3(config-router)#neighbor 4.4.4.4 remote-as 200

R3(config-router)#neighbor 2.2.2.2 update-source lo0

 

R4(config)#router bgp 200

R4(config-router)#neighbor 10.1.45.5 remote-as 300 // eBGP

R4(config-router)#neighbor 2.2.2.2 remote-as 200 // iBGP

R4(config-router)#neighbor 2.2.2.2 update-source lo0

R4(config-router)#neighbor 2.2.2.2 next-hop-self

 

R4(config-router)#neighbor 3.3.3.3 remote-as 200

R4(config-router)#neighbor 3.3.3.3 update-source lo0

R4(config-router)#neighbor 3.3.3.3 next-hop-self

 

R5(config)#router bgp 300

R5(config-router)#neighbor 10.1.45.4 remote-as 200 // eBGP

R5(config-router)#network 5.5.5.0 mask 255.255.255.0

 

 

Check

 

 

728x90
반응형

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

BGP multihop 실습  (0) 2019.04.11
BGP + OSPF + EIGRP Full mesh 실습  (0) 2019.04.11
OSPF 기본 실습  (0) 2019.04.11
Static Routing 가상 IP를 이용한 부하 분산  (0) 2019.04.11
Static Routing 이론 및 실습  (0) 2019.04.11
Comments