2015. 7. 28. 22:31ㆍnetwork
● EIGRP (Enhanced Interior Gateway Routing Protocol)
IGRP를 개선한 것.
시스코 회사 전용 프로토콜, 시스코 제품에서만 사용가능 -> 단점
1. 네트워크 토폴로지 변화에 수렴시간이 빠르다.
2. Multiple Routed Protocol 지원
-> 3계층에 해당하는 Routed Protocol 들인 IP, IPX, Apple talk 등 라우팅 지원
3. Auto Summary 및 Manual Summary 지원
(기본적으로 설정시 no auto-summary할 것_
4. 정상적인 운영 중에는 적은 Network 자원을 이용하여 Routing table 유지
변화가 있을 경우에만 정보공유
5. Classless Routing Protocol 지원
EIGRP 패킷
기본적 사용 1,2,3
1. Hello : Neighbor 관계를 성립하는 패킷,
반드시 먼저 neighbor 조건에 만족해야-> 동일할 AS 번호를 가지고 있어야
2. Update : Routing update 정보를 보내는 패킷
토폴로지를 기반으로 최적경로 설정 , neighbor 관계가 성립된 라우터간의 통신
3. Ack : 확인응답 메시지. Query와 Reply 시에도 응답함.
Query와 Reply 장애 발생시
4. Query : 자신의 라우터가 장애발생시 이웃에게 코드 물어보는 것.
5. Reply : 쿼리에 대한 응답.
Neighbor Table : Neighbor 정보를 관리하는 테이블, 이곳에 있는 이웃만이 이웃.
Topology Table : 업데이트 패킷에서 주고받은 정보(토폴로지) 물리구조 정보를 담고있는 테이블
Routing Table : 목적지에 대한 최적 경로를 저장하고 있는 테이블
Successor : 최적 경로상에 있는 Next-hop Router
Feasible Successor : Backup 경로 상에 있는 Next-hop Router, 미리 만들어 놓지 않고,
Topology Table
물리경로 정보들->DUAL(최적경로 계산 알고리즘)
1.-> Successor -> 주경로 -> routing table
2.-> Feasible Successor -> backup -> topology table 에 유지
※ router EIGRP 설정
1. router eigrp AS(Autonomous System)넘버
AS넘버 -> 1~65,535 중 임의 설정
2. no auto-summary
자동 서머리가 기본이기 때문에
3. network classful
● EIGRP 설정 후 검증
1. IP EIGRP Neighbor 확인
#show ip eigrp neighbors
서로 LINK로 연결된 장비 중에서 동일 한 AS 번호를 가진 것이 Neighbor
2. #show ip eigrp topology
토폴로지 값을 보는 명령어
3. #show ip route eigrp
라우팅 테이블에 eigrp route 정보를 표시
4. #show ip protocols
현재 Route에 구성된 Active Routing Protocol 상세정보 표시
5. #show ip eigrp traffic
IP EIGRP 송수신 packet에 수를 표시
6. #debug eigrp packet
송수신 되는 EIGRP Packet 표시
7. #show ip eigrp summary
EIGRP Routing Activity의 간략한 정보 표시
* IP Routing Protocol을 위한 EIGRP 설정.
R3(config)#router eigrp 100 // AS 넘버 100
R3(config-router)#network 172.16.1.0
R3(config-router)#network 192.168.2.0
R3(config-router)#no auto-summary // 자동서머리 중지
R3(config-router)#
R2(config)#router eigrp 100
R2(config-router)#no auto-summary
R2(config-router)#network 192.168.2.0
R2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.2.2 (Serial0/1) is up: new adjacency
// 이웃인 192.168.2.2가 있다고 알려줌.
R2(config-router)#network 192.168.1.0
R3라우터 설정후 R2 설정 시
EIGRP 100 설정시 192.168.2.2에 Neighbor 이 있다는 정보를 보여줌.
neighbors 정보보기
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100 // eigrp as 넘버가 100인 이웃을 보여줌.
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.2.2 Se0/1 13 00:01:41 40 1000 0 12
R2#
// 현재 192.168.2.2 라는 neighbor가 있는 것을 알 수 있다.
마지막으로 R1 AS 설정
R1(config)#router eigrp 100
R1(config-router)#network 10.0.0.0
R1(config-router)#network 192.168.1.0
R1(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.1.2 (Serial0/0) is up: new adjacency
// AS값 100인 192.168.1.2 인 neighbor이 있다는 것을 알려줌.
R1(config-router)#
R1(config-router)#no auto-summary
R1(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.1.2 (Serial0/0) resync: summary configured
가운데에 있는 R2의 neighbors 정보를 보면
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 192.168.2.2 Se0/1 11 00:03:58 40 1000 0 17
1 192.168.1.1 Se0/0 11 00:01:19 40 1000 0 17
R2#
위 처럼 양쪽에 연결되있는 AS값이 같고 LINK에 연결된 장비의 IP 정보 볼 수 있음.
============토폴로지 테이블에 정보 보기
R2#show ip eigrp topology
IP-EIGRP Topology Table for AS 100/ID(192.168.2.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 10.0.1.0/24, 1 successors, FD is 2172416
via 192.168.1.1 (2172416/28160), Serial0/0
P 172.16.0.0/16, 1 successors, FD is 2172416
via Summary (2172416/0), Null0
P 172.16.1.0/24, 1 successors, FD is 2172416
via 192.168.2.2 (2172416/28160), Serial0/1
P 192.168.1.0/24, 1 successors, FD is 2169856
via Connected, Serial0/0
P 192.168.2.0/24, 1 successors, FD is 2169856
via Connected, Serial0/1
R2#
============Routing table 정보 보기
R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
D 10.0.1.0 [90/2172416] via 192.168.1.1, 00:01:50, Serial0/0
172.16.0.0/16 is variably subnetted, 2 subnets, 2 masks
D 172.16.0.0/16 is a summary, 00:05:02, Null0
D 172.16.1.0/24 [90/2172416] via 192.168.2.2, 00:04:13, Serial0/1
C 192.168.1.0/24 is directly connected, Serial0/0
C 192.168.2.0/24 is directly connected, Serial0/1
R2#
============송수신 되는 EIGRP 패킷 표시
R2#debug eigrp packets
EIGRP Packets debugging is on
(UPDATE, REQUEST, QUERY, REPLY, HELLO, ACK )
R2#
EIGRP: Sending HELLO on Serial0/0
AS 100, Flags 0x0, Seq 25/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Received HELLO on Serial0/0 nbr 192.168.1.1
AS 100, Flags 0x0, Seq 20/0 idbQ 0/0
EIGRP: Received HELLO on Serial0/1 nbr 192.168.2.2
AS 100, Flags 0x0, Seq 18/0 idbQ 0/0
EIGRP: Sending HELLO on Serial0/1
AS 100, Flags 0x0, Seq 25/0 idbQ 0/0 iidbQ un/rely 0/0
EIGRP: Sending HELLO on Serial0/0
AS 100, Flags 0x0, Seq 25/0 idbQ 0/0 iidbQ un/rely 0/0
작동 중지시 ctrl+c 하고 아래 명령어 입력
============모든 디버그 중지============
#undebug all
RIP 서비스중 EIGRP 서비스 작동시키면
EIGRP를 우선적으로. AD값 비교로 우선순위가 높은것을 택,
EIGRP 서비스 중지시 RIP 이 올라옴.
AD 값에 의해 우선순위가 EIGRP가 높음.
'network' 카테고리의 다른 글
ACL(Access Control List) (0) | 2015.07.29 |
---|---|
OSPF (Open Shortest Path First) (0) | 2015.07.29 |
RIP (Routing Interface Protocol) (0) | 2015.07.28 |
Dynamic Routing (0) | 2015.07.28 |
IP Routing( Static Routing, Default Routing ) (0) | 2015.07.26 |