Step 1. IP 주소 설정
먼저 각 라우터의 인터페이스에 IP 주소를 할당해준다.
>> 라우터 8번
R8(config)#int f0/0
R8(config-if)#ip add 172.16.1.1 255.255.255.0
R8(config-if)#no sh
>> 라우터 4번
R4(config)#int f0/0
R4(config-if)#ip add 172.16.1.254 255.255.255.0
R4(config-if)#no sh
R4(config)#int s0/0
R4(config-if)#ip add 192.168.12.1 255.255.255.0
R4(config-if)#no sh
>> 라우터 5번
R5(config)#int s0/0
R5(config-if)#ip add 192.168.12.254 255.255.255.0
R5(config-if)#no sh
R5(config)#int s0/1
R5(config-if)#ip add 192.168.23.1 255.255.255.0
R5(config-if)#no sh
>> 라우터 6번
R6(config)#int s0/1
R6(config-if)#ip add 192.168.23.254 255.255.255.0
R6(config-if)#no sh
R6(config)#int s0/2
R6(config-if)#ip add 192.168.34.1 255.255.255.0
R6(config-if)#no sh
>> 라우터 7번
R7(config)#int s0/2
R7(config-if)#ip add 192.168.34.254 255.255.255.0
R7(config-if)#no sh
2. EIGRP 구성
EIGRP 10 및 EIGRP 1234를 각각의 라우터에 구성해준다.
R4는 두 개의 EIGRP 도메인(EIGRP 10 및 EIGRP 1234)에 속하므로, 두 개의 EIGRP 프로세스를 설정해준다
R8 (EIGRP 10) 설정
R8(config)#router eigrp 10
R8(config-router)#no auto-summary
R8(config-router)#network 172.16.1.0 0.0.0.255
(중요!!)R4 (EIGRP 10 & EIGRP 1234) 설정
R4(config)#router eigrp 10
R4(config-router)#no auto-summary
R4(config-router)#network 172.16.1.0.0
R4(config)#router eigrp 1234
R4(config-router)#no auto-summary
R4(config-router)#network 192.168.12.0 0.0.0.255
R5 (EIGRP 1234) 설정
R5(config)#router eigrp 1234
R5(config-router)#no auto-summary
R5(config-router)#network 172.168.12.0 0.0.0.255
R5(config-router)#network 192.168.23.0 0.0.0.255
R6 (EIGRP 1234) 설정
R6(config)#router eigrp 1234
R6(config-router)#no auto-summary
R6(config-router)#network 172.168.23.0 0.0.0.255
R6(config-router)#network 172.16.34.0 0.0.0.255
R7 (EIGRP 1234) 설정
R7(config)#router eigrp 1234
R7(config-router)#no auto-summary
R7(config-router)#network 192.168.34.0 0.0.0.255
3. 라우팅 재분배
R4에서 EIGRP 10과 EIGRP 1234 간에 경로를 재분배하여 두 라우팅 프로세스가 통신할 수 있도록 해준다.
R4(config)#router eigrp 10
R4(config-router)#redistribute eigrp 1234
R4(config-router)#exit
R4(config)#router eigrp 1234
R4(config-router)#redistribute eigrp 10
팁 : 만약 R4가 EIGRP가 아니라 RIP로 재분배를 한다면
R4(config)#router eigrp 10
R4(config-router)#redistribute eigrp 1234
R4(config-router)#exit
R4(config)#router eigrp 1234
R4(config-router)#redistribute rip metric 3[네트워크 홉 수]
'Network > Network[GNS3, Packet]' 카테고리의 다른 글
[OSPF] OSPF 실습 -2 (1) | 2024.10.10 |
---|---|
[OSPF] OSPF 실습 - 1 (0) | 2024.10.10 |
[EIGRP] - Default Routing (1) | 2024.09.28 |
[EIGRP] 로드 밸런싱(Load Balancing) (1) | 2024.09.27 |
[실습] 정적 라우팅 - 1 (0) | 2024.09.11 |