와일드 마스크
전체 브로드캐스트 - 서브넷마스크
255.255.255.255
/24 = 255.255.255.0
------------------
0. 0. 0. 255
인터페이스에 주석 다는 법)
conf t
int f0/0
description 주석
EIGRP 구성하기

다음 네트워크에서 왼쪽은 EIGRP 100
오른쪽은 EIGRP 200으로 구성하세요
R1)
conf t
int f0/0
ip add 172.16.1.254 255.255.255.0
no sh
int s1/0
ip add 172.16.13.1 255.255.255.0
no sh
router eigrp 100
network 172.16.1.0 0.0.0.255
network 172.16.13.0 0.0.0.255
no auto-summary
end
wr
# eigrp
R2)
conf t
int f0/0
ip add 172.16.2.254 255.255.255.0
no sh
int s1/1
ip add 172.16.23.2 255.255.255.0
no sh
router eigrp 100
network 172.16.2.0 0.0.0.255
network 172.16.23.0 0.0.0.255
no auto-summary
end
wr
R3)
conf t
int f0/0
ip add 172.16.3.254 255.255.255.0
no sh
int s1/0
ip add 172.16.13.3 255.255.255.0
no sh
int s1/1
ip add 172.16.23.3 255.255.255.0
no sh
int s1/2
ip add 172.16.34.3 255.255.255.0
no sh
router eigrp 100
network 172.16.3.0 0.0.0.255
network 172.16.13.0 0.0.0.255
network 172.16.23.0 0.0.0.255
network 172.16.34.0 0.0.0.255
no auto-summary
end
wr
R4)
conf t
int f0/0
ip add 172.16.4.254 255.255.255.0
no sh
int s1/0
ip add 172.16.45.4 255.255.255.0
no sh
int s1/1
ip add 172.16.46.4 255.255.255.0
no sh
int s1/2
ip add 172.16.34.4 255.255.255.0
no sh
router eigrp 200
network 172.16.4.0 0.0.0.255
network 172.16.45.0 0.0.0.255
network 172.16.46.0 0.0.0.255
no auto-summary
router eigrp 100
network 172.16.34.0 0.0.0.255
no auto-summary
end
wr
R5)
conf t
int f0/0
ip add 172.16.5.254 255.255.255.0
no sh
int s1/0
ip add 172.16.45.1 255.255.255.0
no sh
router eigrp 200
network 172.16.5.0 0.0.0.255
network 172.16.45.0 0.0.0.255
no auto-summary
end
wr
R6)
conf t
int f0/0
ip add 172.16.6.254 255.255.255.0
no sh
int s1/1
ip add 172.16.46.1 255.255.255.0
no sh
router eigrp 200
network 172.16.6.0 0.0.0.255
network 172.16.46.0 0.0.0.255
no auto-summary
end
wr
이렇게 연결하면 R4에선 모든 라우터와 연결이 가능하지만
EIGRP 100과 EIGRP 200 네트워크는
AS번호가 다르므로 서로 통신이 안됩니다.
R3의 정보

왼쪽의 EIGRP 100과만 통신이 되는 상태
R4의 정보

모든 네트워크와 통신이 되는 상태
현재 상황에서 R4가 중간 라우터이므로
R4에서 재분배를 해주면 통신이 됩니다.
R4)
conf t
router eigrp 100
redistribute eigrp 200
router eigrp 200
redistribute eigrp 100
R3의 정보

재분배를 통해 받은 라우팅 정보는 EX로 표시되는 것을 확인할 수 있습니다.
