공부용 블로그 | seokmin100

Trinity - 네트워크 [eigrp, 라우팅 재분배] 본문

Trinity/Network

Trinity - 네트워크 [eigrp, 라우팅 재분배]

seokmin100 2024. 6. 19. 20:51

EIGRP

eigrp(Enhanced Interior Gateway Routing Protocol)는 IGRP(Interiror Gateway Routing Protocol)의 기능을 향상시킨 보다 발전된 라우팅 프로토콜입니다.

 

실습

우선 토폴로지는 이렇게 구성하고 IP도 할당해줍니다.

Router(config)# router eigrp [process-ID]
Router(config-router)# network [네트워크 주소] [Wildcard-Mask]

프로세스 ID는 모두 같게 해주는 것이 좋습니다.

그리고 network는 주변에 있는 모든 네트워크 주소를 할당해주어야 합니다.

 


 

라우팅 재분배

라우팅 재분배란 서로 다른 라우팅 프로토콜을 사용하는 네트워크 즉, 서로 다른 장비들끼리 통신이 가능하도록 하는 것입니다.

재분배의 종류로는 "상호 재분배"와 "단방향 재분배"가 있습니다.

상호 재분배는 두 개 이상의 라우팅 프로토콜을 상호간의 재분배하는 것이고, 단방향 재분배는 하나의 프로토콜만 재분배하는 것이며, 나머지 프로토콜은 디폴트 경로 또는 정적 경로를 사용하는 경우가 많고 관리가 편하며 안정적이기 때문에 상호 재분배보다 많이 사용합니다.

 

실습

각 라우팅 프로토콜마다 사용하는 metric 지정이 필요하고, metric 값은 각각 숫자로 입력해주어야 합니다.

RIP <-> EIGRP

(config)# router rip
(config-router)# redistribute eigrp [eigrp process ID] metric [rip hop count]

(config)# router eigrp [eigrp process ID]
(config-router)# redistribute rip metric [bandwidth] [delay] [reliability] [load] [MTU maximum size]

 

OSPF <-> EIGRP

(config)# router ospf [ospf process ID]
(config-router)# redistribute eigrp [eigrp process ID] subnets

(config)# router eigrp [eigrp process ID]
(config-router)# redistribute ospf [ospf process ID] metric [bandwidth] [delay] [reliability] [load] [MTU maximum size]

 

subnets를 써주는 이유는 생성된 서브넷 정보도 사용할 수 있도록 재분배하기 위함입니다.

만약 없다면 classful 주소만 포함해줍니다.

RIP <-> OSPF

(config)# router rip
(config-router)# redistribute ospf [ospf process ID] metric [rip hop count]

(config)# router ospf [ospf process ID]
(config-router)# redistribute rip subnets