70
1 Chapter 5. Configuring EIGRP

Chapter 5. Configuring EIGRP

  • Upload
    cooper

  • View
    160

  • Download
    7

Embed Size (px)

DESCRIPTION

Chapter 5. Configuring EIGRP. Table of Contents. EIGRP Overview EIGRP Operation Configuring EIGRP Summary. EIGRP Overview. Advantages of EIGRP EIGRP Terminology. What Is Enhanced IGRP (EIGRP)?. Cisco 에서 IGRP 의 기능과 성능을 개선한 routing protocol 이다. IP Routing Protocols. - PowerPoint PPT Presentation

Citation preview

Page 1: Chapter 5. Configuring EIGRP

1

Chapter 5.Configuring EIGRP

Page 2: Chapter 5. Configuring EIGRP

2

Table of Contents

• EIGRP Overview• EIGRP Operation• Configuring EIGRP• Summary

Page 3: Chapter 5. Configuring EIGRP

3

EIGRP Overview

• Advantages of EIGRP• EIGRP Terminology

Page 4: Chapter 5. Configuring EIGRP

4

– EIGRP supports:• Rapid convergence• Reduced bandwidth usage• Multiple network-layer protocols

EnhancedIGRP

IPX RoutingProtocols

AppleTalk Routing Protocol

IP RoutingProtocols

IPX RoutingProtocols

AppleTalk Routing Protocol

IP RoutingProtocols

What Is Enhanced IGRP (EIGRP)?What Is Enhanced IGRP (EIGRP)?

Cisco 에서 IGRP 의 기능과 성능을 개선한 routing protocol 이다 .

Page 5: Chapter 5. Configuring EIGRP

5

EIGRP Overview

시스코 전용 (Cisco Proprietary) Routing Protocol 이다 .Hybrid Protocol 이다 .: Link State 와 Distance Vector Routing Protocols 의 장점을 결합했다 . Advanced Distance Vector Routing Protocol 이다 .Rapid Convergence : Rapid Convergence 를 위하여 DUAL(Diffusing Update Algorithm) 을 사용한다 .Bandwidth 적게 사용한다 .

•주기적인 업데이트를 하지 않는다 . Destination 에 대한 Path 나 Metric 에 변화가 있을 때만 (Incremental updates) 즉시 Partial Update 를 한다 . 변화된 Link 에 대한 Routing Information Update 를 한다 .•Routing Information 이 필요한 라우터에만 Update 를 한다 .(Multicast Update)

Topology Database 에서 최적의 Path 를 찾아 내므로 100% Loop Free Routing Protocol 이다 .Configuration 이 쉽다 .VLSM 과 Discontiguous Network 을 지원한다 .Multiple Network Layer Support : IP Routing 외에도 IPX, AppleTalk Routing 을 지원한다 . IGRP 와 호환성이 있다 .

Page 6: Chapter 5. Configuring EIGRP

6

EIGRP Support for Different Topologies

•EIGRP supports– Multiaccess (LANs)– Point-to-point (HDLC)– NBMA (Frame Relay)

S0A

B

S1

E

F

G

H

FrameRelay

D

CRest of the Core

Page 7: Chapter 5. Configuring EIGRP

7

Advantages of EIGRP

Broadcast 대신 Multicast 를 사용한다 .(multicast address 224.0.0.10)EIGRP Metric = IGRP Metric x 256(32 bit vs. 24 bit)Unequal Cost Path Load Balancing 을 한다 .OSPF 보다 유연성이 있다 . 네트워크 상의 모든 라우터의 모든 Interface 에서 Manual Summarization 이 가능하다 .

Page 8: Chapter 5. Configuring EIGRP

8

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

88 - EIGRP 6 - TCP17 - UDP

88 - EIGRP 6 - TCP17 - UDP

Relies on IP packets for delivery of routing information

Page 9: Chapter 5. Configuring EIGRP

9

Page 10: Chapter 5. Configuring EIGRP

10

6 - TCP6 - TCP 179 - BGP179 - BGP

TCP Header

Port No.

SegmentPayload

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

UDP Header

Port No.

DatagramPayload

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

17 – UDP17 – UDP 520 - RIP520 - RIP

IP Header

Protocol Number

Frame Header

CRC

Packet Payload

Frame Payload

88 – EIGRP89 – OSPF9 - IGRP

88 – EIGRP89 – OSPF9 - IGRP

RIP, IGRP, OSPF, EIGRP, BGP PDU Diagram

Page 11: Chapter 5. Configuring EIGRP

11

EIGRP Support for Route Summarization

172.16.0.0 /24 10.0.0.0 /18192.168.42.0 /27

172.16.0.0 /16 172.16.0.0 /16192.168.42.0 /24

EIGRP Route Summarization

• Classful network boundaries (default)• Arbitrary network boundaries (manual)

Page 12: Chapter 5. Configuring EIGRP

12

Neighbor Table : EIGRP 라우터는 인접라우터 ( 직접 연결된 Neighbor Router) 에 대한 Table 을 보유하여 인접 라우터간의 양방향 통신을 확립한다 . 지원하는 프로토콜 (IP, IPX, AppleTalk) 별로 각각의 Neighbor Table 을 유지한다 .

Topology Table : EIGRP 라우터는 라우팅 정보교환에 의하여 알게 된 모든 네트워크에 대한 Topology Table 을 유지한다 . 지원하는 프로토콜 별로 각각의 Topology Table 을 유지한다 .

Routing Table : EIGRP 라우터는 Topology Table 을 기초로 하여 , Destination 에 대한 최적의 경로를 라우팅테이블에 보유한다 . 지원하는 프로토콜 별로 각각의 Routing Table 을 유지한다 .

Successor : Destination 에 대한 Primary Route 이다 . 라우팅테이블에 유지된다 .

Feasible Successor : Destination 에 대한 Backup Route 이다 . Feasible Successor는 Successor 와 동시에 선택되는데 Topology Table 에 보유 된다 . Destination 에 대해서 여러 개의 Feasible Successor 를 보유할 수 있다 .

EIRP Terminology

Page 13: Chapter 5. Configuring EIGRP

13

Page 14: Chapter 5. Configuring EIGRP

14

R1#sh ipx routeC - Connected primary network, c - Connected secondary networkS - Static, F - Floating static, L - Local (internal), W - IPXWANR - RIP, E - EIGRP, N - NLSP, X - External, A - Aggregates - seconds, u - uses, U - Per-user static

No default route known.C 10(HDLC) Se0C AA (NOVELL-ETHER) Et0E 20 [41024000/0]via 10.0000.0c3b.ed69, age 00:26:43, 1u, Se0E BB [40537600/0]via 10.0000.0c3b.ed69, age 00:26:44, 1u, Se0E CC [41049600/0]via 10.0000.0c3b.ed69, age 00:26:44, 1u, Se0

R1#sh ipx eigrp neighborsIPX EIGRP Neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num0 10.0000.0c3b.ed69 Se0 12 00:28:10 30 2280 0 51R1#

R1#show ipx eigrp topologyIPX EIGRP Topology Table for process 100Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - Reply statusP 10, 1 successors, FD is 40512000 via Connected, Serial0P 20, 1 successors, FD is 41024000 via 10.0000.0c3b.ed69 (41024000/2169856), Serial0P AA, 1 successors, FD is 281600 via Connected, Ethernet0P BB, 1 successors, FD is 40537600 via 10.0000.0c3b.ed69 (40537600/281600), Serial0P CC, 1 successors, FD is 41049600 via 10.0000.0c3b.ed69 (41049600/2195456), Serial0R1#

Page 15: Chapter 5. Configuring EIGRP

EIGRP Terminology

Topology Table—AppleTalkDestination 1 Next Router 1/CostDestination 1 Next Router 1/Cost

Topology Table—IPXDestination 1 Next Router 1/CostDestination 1 Next Router 1/Cost

Topology Table—IPDestination 1 SuccessorDestination 1 Feasible Successor

Routing Table—AppleTalkDestination 1 Next Router XDestination 1 Next Router X

Routing Table—IPXDestination 1 Next Router XDestination 1 Next Router XRouting Table—IPDestination 1 Successor

Neighbor Table—AppleTalkDestination Next Hop Router

Neighbor Table—IPXDestination Next Hop Router

Neighbor Table—IPNext-Hop Interface Router

Page 16: Chapter 5. Configuring EIGRP

16

EIGRP Operation

• EIGRP Packets• EIGRP Neighbor Relationship

Page 17: Chapter 5. Configuring EIGRP

17

EIGRP Packets

Hello: Neighbor Discovery 에 사용된다 .224.0.0.10 의 Multicast 를 사용한다 .

Update: Routing Update Packet 으로 새로운 경로나 기존의 경로보다 Metric 이 좋은 경로가 발견된 경우에 Neighbor 에 Multicast 로 보내어지면 Ack 를 필요로 한다 . 224.0.0.10 의 Multicast 를 사용한다 .

Query: 라우터가 Route Loss 를 경험하거나 , 어떤 루트에 대해 증가된 Metric 으로 Update 받는 경우에 , 우선 Feasible Successor 를 찾게 되고 , 찾지 못하는 경우 , Neighbor 에 해당 Route 에 대한 정보를 묻는다 . 224.0.0.10 의 Multicast 를 사용한다 .

Reply: Query 에 대한 응답 Packet 으로 Unicast 로 보내어 진다 . ACK: Update, Query, Reply 에 대한 Acknowledgement 로 Unicast 로

보내어 진다 .

Page 18: Chapter 5. Configuring EIGRP

18

Page 19: Chapter 5. Configuring EIGRP

19

Page 20: Chapter 5. Configuring EIGRP

20

Page 21: Chapter 5. Configuring EIGRP

21

EIGRP Reliability

Update, Query,Reply 등 EIGRP Reliable Packet 은 명시적인 ACK 를 필요로 한다 .

Hello,ACK 등 EIGRP Unreliable Packet 은 명시적인 ACK 를 필요로 하지 않는다 .

Router 는 모든 Neighbor 에 대해서 Neighbor List 와 각각의 Neighbor 에 대한 Retransmission List 를 유지하여 ACK 를 받지 못한 Packet 이 16 회까지 재 전송된다 .

Retry Limit (limit = 16) 에도 Ack 를 못 받는 경우 , Neighbor Relationship 은 Reset 된다 .

EIGRP Transport 는 하나의 Windows Size 를 갖는다 . 각각의 Reliable Packet이 ACK 를 받아야 다음 Packet 이 전송된다 .( stop and wait mechanism) =>하나의 Neighbor Router 가 Ack 를 보내는 데 늦는 경우 , 재전송이 이루어지므로 , 다른 모든 Neighbor Router 도 재 전송 Packet 을 받게 된다 . => Ack 를 받지 못한 Multicast packet 은 이후 Unicast 로 재전송 한다 .

Page 22: Chapter 5. Configuring EIGRP

22

EIGRP Neighbor Relationship 각각의 라우터가 Hello Packet 을 교환하여 Neighbor Router 가 된다 . Hello address 는 224.0.

0.10 Multicast Address 를 사용한다 . Hello 는 5 초에 한번씩 보내어 진다 .

• LAN: Ethernet, Token Ring, FDDI• Point-to-Point serial link: PPP, HDLC, • Point-to-Point Frame Relay/ATM Subinterface• T1 이상의 ISDN PRI, SMDS, Frame Relay

T1 이하의 ISDN BRI, Frame Relay, SMDS 의 경우 Hello 는 60 초에 한번씩 보내어 진다 . Hold Timel 이 지나도록 Hello Packet 을 받지 못하면 Neighbor Adjacency 를 제거하고 해당

라우터로 부터 알게된 모든 경로를 제거한다 . Hold time 은 Default 로 Hello Time 의 세배이다 . EIGRP 는 Neighbor 와 Hello 와 Hold Time 이 일치하지 않는 경우에도 Neighbor 가 될 수 있다 . EIGRP 는 Interface 의 Primary Address 를 사용하여 Hello Packet 을 보낸다 . ( Secondary Addre

ss 를 사용하여 Hello Packet 을 보내지 않는다 .) EIGRP 는 K-value 가 상이한 경우에 Neighbor 가 될 수 없다 .. EIGRP 는 AS number 가 다른 라우터 간에는 Neighbor 가 될 수 없다 . show ip eigrp neighbors 명령을 사용하여 Hello Interval 및 Hold Time 을 볼 수 있다 . ip eigrp hello-interval (interface 명령 ) 을 사용하여 Hello Interval 을 조정한다 . ip eigrp hold-time (interface 명령 ) 을 사용하여 Hold time 을 조정한다 .

Page 23: Chapter 5. Configuring EIGRP

23

Neighbor Table

Neighbor 가 찾아지면 라우터는 Neighbor 에 자신이 알고 있는 Route 를 Update한다 . 또한 자신도 Neighbor 로 부터 Neighbor 가 알고 있는 Route 를 Update 받는다 .이렇게 구성된 Topology Table 은 직접 연결된 Route(Interface) 에 변화가 생기는 경우 , Neighbor 가 Route 에 대한 변화를 보고하는 경우 등에 Update 된다 .show ip eigrp topology all-link 명령은 라우터가 Topology Table 에 갖고 있는 모든 IP Entry 를 보여주며 , show ip eigrp topology 명령은 Successor 와 Feasible Successor Route 를 보여준다 .

Topology Table

*SRTT: Smooth round-trip time*RTO: Retransmission timeout (milisecond)

Page 24: Chapter 5. Configuring EIGRP

24

Page 25: Chapter 5. Configuring EIGRP

25Converged

Thanks for the information! Ack 6

34

Thanks for the information!Ack3

Here is my complete routing information. Update2

I am router A, who is on the link?Hello

A B

1

Here is my complete route information.Update5

Topology Table

Initial Route Discovery

Page 26: Chapter 5. Configuring EIGRP

26

IGRP 와 계산 방법은 동일하나 상수가 틀리다 . (IGRP x 256 => EIGRP) Cost = [K1 * Bandwidth + (K2 * Bandwidth) / (256 - Load) + K3 * Delay] { *[K5/(Reliability + K4)] }

{} 부분은 K5 값이 0 이 아닐 때 계산된다 . K2=K4=K5=0 이고 K1=K3=1 이 기본 설정이다 . Cost = MAX(2.56*10^12/Bandwidth , ... ,2.56*10^12/Bandwidth N) + SUM(256 * Delay1, ... ,256 * Delay N) / 10 Load 및 Reliablity 는 시간에 따라 계속적으로 바뀌므로 , Metric Calculation 에 포함시킨다면 계속적으로 Routing Update 가 일어나므로 바람직하지 않다 . 따라서 보통은 Default K 값을 바꾸지 않는다 . Media Delay Bandwidth 위성회선 5,120 5,120(500Mbps) Ethernet 25,600 256,000 1.544Mbps 512,000 1,657,856 64Kbps 512,000 40,000,000 56Kbps 512,000 45,714,176 10Kbps 512,000 256,000,000 1Kbps 512,000 2,560,000,000

예 ) 1.544M serial + 10M ethernet = 1,657,856 + 512,000 + 25,600 = 2,195,456

(10^7/Bandwidth kbps ) * 256 + sum(256 * dealy)/10

EIGRP metric

(10^7/Bandwidth kbps ) * 256

Page 27: Chapter 5. Configuring EIGRP

27

Page 28: Chapter 5. Configuring EIGRP

28

Page 29: Chapter 5. Configuring EIGRP

29

Page 30: Chapter 5. Configuring EIGRP

30

라우터가 직접 연결된 루트 정보를 Neighbor 라우터에 전달시 Vector Metric 값 (Delay, Bandwidth 등 ) 을 전달하면 Neighbor Router 가 Inbound Interface 의 Bandwidth 와 Delay 를 비교하여 Route 정보로 Topology Database 에 저장한다 .

Computing Vector Metric

Page 31: Chapter 5. Configuring EIGRP

31

Neighbor 에 의해 Advertised 되는 모든 루트를 Track 한다 . Successor 와 Feasible Successor 를 사용하여 Loop-Free Path 를

선택한다 . Successor 가 사라지면 Feasible Successor 를 사용한다 . Successor 가 사라지고 Feasible Successor 도 없는 경우 , 해당 루트에

대해서 Neighbor 에 Query 한다 . Next Hop Router 가 Feasible Successor 가 되기 위해서는 ,

AD(Advertise Distance) 가 현재의 Success Route 의 FD(Feasible Distance) 보다 작은 값을 가져야 한다 .

Diffusing Update Algorithm (DUAL)

Page 32: Chapter 5. Configuring EIGRP

32

E EIGRP FD AD Topology (a) 3 (fd)

via D 3 2 (Successor)via C 4 3

D EIGRP FD AD Topology(a) 2 (fd)

via B 2 1 (Successor)via C 5 3

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via D 4 2 (fs)via E 4 3

(1)

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

Dual Example Step 1FD : 라우터에서 해당 네트워크까지의 최소 경로값AD : Next-Hop Router 에서의 경로값To be FS, AD < FDAD : Advertise Distance, FD : Feasible Distance

Page 33: Chapter 5. Configuring EIGRP

33

(1)

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

E EIGRP FD AD Topology (a) 3 (fd)

via D 3 2 (Successor)via C 4 3

D EIGRP FD AD Topology(a) 2 (fd)

via B 2 1 (Successor)via C 5 3

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via D 4 2 (fs)via E 4 3

XXXX

Dual Example Step 2

Page 34: Chapter 5. Configuring EIGRP

34

QQ

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

E EIGRP FD AD Topology (a) 3 (fd)

via D 3 2 (Successor)via C 4 3

D EIGRP FD AD Topology(a) **ACTIVE** -1 (fd)

via E (q)via C 5 3 (q)

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via Dvia E 4 3

Dual Example Step 3 -1 : UnreachableActive : Route Computation

Page 35: Chapter 5. Configuring EIGRP

35

RR

Q

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

E EIGRP FD AD Topology (a) **ACTIVE** -1 (fd)

via D via C 4 3 (q)

D EIGRP FD AD Topology(a) **ACTIVE** -1 (fd)

via E (q)via C 5 3

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via D via E

Dual Example Step 4

Page 36: Chapter 5. Configuring EIGRP

36RR

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

E EIGRP FD AD Topology (a) 4 (fd)

via C 4 3 (Successor)via D

D EIGRP FD AD Topology(a) **ACTIVE** -1 (fd)

via E (q)via C 5 3

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via Dvia E

Dual Example Step 5

Page 37: Chapter 5. Configuring EIGRP

37

RR

(1)

(1)

(1)

(2)(2)

(a)

A

E

B

E EIGRP FD AD Topology (a) 4 (fd)

via C 4 3 (Successor)via D

D EIGRP FD AD Topology(a) 5 (fd)

via C 5 3 (Successor)via E 5 4 (Successor)

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via Dvia E

D

C

Dual Example Step 6

Page 38: Chapter 5. Configuring EIGRP

38

(1)

(1)

(1)

(2)(2)

(a)

A

E

D

C

B

E EIGRP FD AD Topology (a) 4 (fd)

via C 4 3 (Successor)via D

D EIGRP FD AD Topology(a) 5 (fd)

via C 5 3 (Successor)via E 5 4 (Successor)

C EIGRP FD AD Topology(a) 3 (fd)

via B 3 1 (Successor)via Dvia E

Dual Example Step 7

Page 39: Chapter 5. Configuring EIGRP

39

Purpose: 적은 Routing Table 을 보유한다 . Routing Update 를 줄인다 . Query Boundary 를 제한한다 .

Cisco Distance Vector Routing Protocol(RIP, IGRP,EIGRP) 은 Default 로 autosummarization 을 사용한다 .

Major Network 을 Subnetting 한 경우 , 하나의 Major Network 으로 Summarize 된다 .

EIGRP 의 경우 , Autosummarization 은 Default 로 Enable 되어 있으며 , Disable 시킬 수 있다 .(IGRP 및 RIP 는 Disable 시킬 수 없으며 , RIP V.2 와 EIGRP 는 Disable 시킬 수 있다 .)

Topology 에 따라서 Auto Summarization 이 바람직 할 수도 있고 , 문제가 될 수도 있다 . 문제가 되는 경우에는 no auto-summary 명령을 사용하여 Auto Summarization 을 Disable 시킨다 .

Route Summarization

Page 40: Chapter 5. Configuring EIGRP

40

Configuring EIGRP

• Steps for configuring EIGRP• Route Summarization• EIGRP Load Balancing• EIGRP and WAN Links• Using EIGRP in a Scalable Internetwork• Verifying EIGRP Operation

Page 41: Chapter 5. Configuring EIGRP

S2

Configuring EIGRP for IP

router eigrp 109network 10.0.0.0network 172.16.0.0

10.1.0.0

10.2.0.0

172.16.4.0

172.16.3.0

172.16.2.0

172.16.7.0

10.4.0.0 172.16.6.0

172.16.5.0

172.16.1.0

T0

S0

S1192.168.1.0

TokenRing

TokenRing

• Network 192.168.0.0 is not configured on Router A because it is not directly connected to Router A

AS = 109

B

C

D

A

E

Page 42: Chapter 5. Configuring EIGRP

42

Basic Configuration

EIGRP 를 Enable 시키고 , AS Number 를 정의한다 .

Router(config)# router eigrp as_no

EIGRP 에 포함된 네트워크를 Major Class 로 선언한다 . (Cisco IOS 12.0 에는 mask Option 이 있어 Classless Network 을 선언할 수 있다 .)

Router(config-router)# network network_no

Interface 의 Bandwidth 를 선언한다 . PPP Topology 인 경우는 실제 Line Speed 를 Frame-Relay Point-to-Point 의 경우는 각 PVC 의 CIR 값을 , Frame-Relay MultiPoint 의 경우는 CIR 의 합계를 선언한다 .

Router(config-if)# bandwidth bandwidth_kilobps

Page 43: Chapter 5. Configuring EIGRP

43

Manual summarization

네트워크 상의 모든 라우터의 Interface 에서 Summarize 할 수 있다 .

Interface 에서 Summarization 이 설정되면 , 라우터는 즉시 Null 0 를 가리키는 Route 를 생성한다 . (Loop Prevention Mechanism)

Summary Route 의 마지막 Specific Route 가 사라지는 경우에 Summary Route 가 제거 된다 .

EIGRP Summary Route 의 Distance Value 는 5 이며 , Standard EIGRP route 의 Distance Value 는 90, External EIGRP Route(Redistribution 을 통해서 들어온 경로 ) 의 Distance Value 는 170 이다 .

Page 44: Chapter 5. Configuring EIGRP

44

Page 45: Chapter 5. Configuring EIGRP

45

EIGRP process 의 autosummarization 을 Disable 시킨다 .

Interface 에서 summary address 를 만들어 낸다 .

Configuring Summarization

(config-router)#no auto-summary

(config-if)#ip summary-address eigrp <as-number> <address> <mask>

Page 46: Chapter 5. Configuring EIGRP

46

router eigrp 1network 10.0.0.0network 192.168.4.0 !int s0 ip address 192.168.4.2 255.255.255.0

ip summary-address eigrp 1172.16.0.0 255.255.0.0

router eigrp 1network 10.0.0.0 network 172.16.0.0no auto-summary

172.16.1.0

172.16.2.0

192.168.4.2

S0World

10.0.0.0

A

B

C

Summarizing EIGRP Routes

참고 : EIGRP Auto-Summarization 은 직접 연결된 네트워크에만 해당된다 .

Page 47: Chapter 5. Configuring EIGRP

47

EIGRP 는 Default 로 4 개 까지의 unequal-cost Load Balancing을 지원한다 .

maximum-paths Router Configuration 명령을 사용하여 6 개 까지의 unEqual-cost Load Balancing 을 설정할 수 있다 .

EIGRP Load Balancing

Page 48: Chapter 5. Configuring EIGRP

48

variance 명령을 사용하면 EIGRP 에서 Unequal-cost Load Balancing 을 지원하게 할 수 있다 .

Variance 는 1에서 128까지 가능하며 Default 는 1이다 . Traffic shared balanced (Router Configuration Mode) 는 Traffic 을 Metric

의 비율을 고려하여 분산시킨다 . Traffic shared min 명령은 Minimum Cost 의 Route 만을 사용한다 .(실제로 Load 분산은 하지 않지만 Min Route fail 시 바로 Convergence 되는 효과가 있다 .)

EIGRP Unequal-Cost Load Balancing

Page 49: Chapter 5. Configuring EIGRP

49

10

20

10

10

20

25

Router E 는 Router C 를 경유하는 경우 FD = 20 이므로 Network Z 의 경로로 Router C 를 선택한다 .

Variance 값이 2 인 경우 , Router E 는 Router B 를 Network Z에 대한 경로로 선택한다 . (20 + 10) < (2 x [FD])

Variance 값이 2 인 경우 Router D 는 Network Z 에 대한 경로로 Router C 를 선택하지 않는다 . (20 + 25) > (2 x [FD])

Network Z

(config-router )# variance 2

AE

D

C

B

EIGRP Unequal-Cost Load Balancing

Page 50: Chapter 5. Configuring EIGRP

50

EIGRP 는 다양한 WAN Link 를 지원한다 .

• Point-to-Point• NBMA(Multipoint) Multi Point• NBMA(Multipoint) Point-to-point

EIGRP Configuration 의 경우 , Bandwidth Utilization, Router Operarion과 관련된 Overhead Traffic 을 고려하여 설정하여야 한다 .

Configuring WAN Links

Page 51: Chapter 5. Configuring EIGRP

51

Interface 상의 Bandwidth 를 EIGRP Packet 이 사용할 수 있을 지를 설정한다 .

Default로 50%까지의 Bandwidth 를 사용하도록 설정되어 있다 .

EIGRP Bandwidth Utilization

(config-if)#ip bandwidth-percent eigrp as-number <nnn>

IP-EIGRP 109 to use 42Kbps (75% of 56Kbps) on Serial 0: interface Serial 0 bandwidth 56 ip bandwidth-percent eigrp 109 75

IP-EIGRP 210 to use 256Kbps (200% of 128Kbps) on Serial 1: interface Serial 1 bandwidth 128 ip bandwidth-percent eigrp 210 200

Page 52: Chapter 5. Configuring EIGRP

52

Frame Relay 를 사용하는 point-to-point subinterface 의 Bandwidth utilization : Bandwidth 는 Default 로 T1 으로 설정된다 . => PVC 의 CIR 값에 기준하여 Manual 설정해 주는 것이 바람직하다 .

CIR (Committed Information Rate)

Multipoint Frame Relay, ATM, SMDS, ISDN PRI 등의 Bandwidth : EIGRP는 Main Interface 에 설정된 Bandwidth 를 Interface 에 연결된 Neighbor 의 숫자로 나눈 Bandwidth 를 각각의 PVC 의 Bandwidth 로 사용한다 .

각각의 PVC 가 상이한 CIR 값을 갖는 경우 , Multipoint Interface 를 Point-to-Point 로 바꾸거나 , 가장 낮은 CIR 값에 기준하여 Bandwidth 를 설정한다 . (bandwidth = lowest CIR x number of PVCs)

Adjusting Bandwidth

Page 53: Chapter 5. Configuring EIGRP

53

CIR 56

C

EF G

H

FrameRelay

S0

CIR 56 CIR 56

CIR 56

T1

interface serial 0 encap frame-relay bandwidth 224

All VCs share bandwidth evenly: 4 x 56 = 224

EIGRP WAN Configuration : Pure Multipoint

각각의 PVC 의 Bandwidth 가 224/4=56 으로 분배되어 각각의 PVC 가 56 의 Bandwidth 로 설정된다 .

Page 54: Chapter 5. Configuring EIGRP

54

CIR 256

BW 224

C

EF G

H

FrameRelay

S0

CIR 256

BW 224 CIR 256

BW 224

CIR 56

BW 56

T1

Lowest CIR x # of VC: 56 x 4 = 224

interface serial 0 encap frame-relay bandwidth 224

EIGRP WAN Configuration :Hybrid Multipoint

각각의 PVC 가 상이한 CIR 값을 갖는 경우 , Multipoint Interface 를 Point-to-Point 로 바꾸거나 , 가장 낮은 CIR 값에 기준하여 Bandwidth 를 설정한다 . (bandwidth = lowest CIR x number of PVCs)

Page 55: Chapter 5. Configuring EIGRP

55

CIR 256

BW 256

C

EF G

H

FrameRelay

S0

CIR 256

BW 256 CIR 256

BW 256

CIR 56

BW 56

T1

interface serial 0.1 multipoint bandwidth 768 (256 x 3)interface serial 0.2 point-to-point bandwidth 56

Configure lowest CIR VC as point-to-point, specify BW = CIR Configure higher CIR VCs as multipoint, combine CIRs

S0.1S0.2

EIGRP WAN Configuration : Hybrid Multipoint(Preferred)

각각의 PVC 가 상이한 CIR 값을 갖는 경우 , Multipoint Interface 를 Point-to-Point 로 바꾸거나 , 가장 낮은 CIR 값에 기준하여 Bandwidth 를 설정한다 . (bandwidth = lowest CIR x number of PVCs)

Page 56: Chapter 5. Configuring EIGRP

56

EIGRP WAN Configuration : Pure Point-to-Point

CIR 56

BW 25

C

EF G

H

FrameRelay

S0

CIR 56

BW 25 CIR 56

BW 25

CIR 56

BW 25

256

interface serial 0.1 point-to-point bandwidth 25 ip bandwidth-percent eigrp 63 110 - - - -interface serial 0.10 point-to-point bandwidth 25 ip bandwidth-percent eigrp 63 110

Configure each VC as point-to-point, specify BW = 1/10 of link capacity Increase EIGRP utilization to 50% of actual VC capacity

56kbps 의 50%= 28

interface serial 0 bandwidth 25 ip bandwidth-percent eigrp 63 110

Hub and Spokewith 10x VCs

Page 57: Chapter 5. Configuring EIGRP

57

라우터에 직접 연결된 Route 가 Unavailable 하게된 경우 (Keep-alive Timeout, Hello Timeout 등으로 ) 라우터는 Feasible Successor 를 찾고 , 없는 경우에 해당 경로에 대한 Query 를 인접라우터로 보낸다 .

해당 Route 는 Active State(Route Computation) 에 놓이게 된다 . Query 는 라우터의 기존 Successor 에 연결된 Interface 를 제외한 모든 Interface 에 연결된 Ne

ighbor Router 로 보내어 진다 .

Neighbor Router 가 해당 경로에 대한 Information(Successor 또는 Feasible Successor) 이 있는 경우는 Query 에 응답하고 Query Propagation 을 중단한다 . 없는 경우 , Query 가 라우터의 Neighbor Router 로 계속 보내어 진다 .(Router 가 Stub Router 이거나 라우터의 Topology Database 에 해당 루트에 대한 어떤 Entry 도 없는 경우에는 Query Forwarding 을 중단한다 .)

Router 가 Successor 를 재계산하기 위해서는 Query 를 보낸 모든 Neighbor 라우터로부터 Reply 를 받아야 한다 . 이를 확인 하기위해 라우터는 Reply Status Table 을 유지한다 .

어떤 Neighbor Router 가 3 분 이내에 Query 에 대한 Reply 를 보내지 않으면 Active 상태가 Stuck In Active 상태에 놓이게 되며 , 라우터는 Reply 를 하지 않는 Neighbor Router들과 Adjacency 를 Reset 하고 모든 Route 정보를 다시 교환한다 . 이경우 응답하지 않은 Neighbor 가 Infinite Metric 값을 준 것으로 하고 , 이미 받은 Reply 정보로 부터 경로는 재계산한다 .

Stuck In Active 에 대한 Solution 은 Query Range 를 제한하는 것이다 .(query scoping)

EIGRP Query Process

Page 58: Chapter 5. Configuring EIGRP

58

AS 1AS 2

Network X

Query for XReply for XQuery for X

Autonomous system boundary 는 Query Range 를 제한하는 Solution이 될 수 없다 . AS 1 으로 부터의 Query 가 AS 2 로 전파된다 .

XXA CB

13 2

10.1.0.0 10.2.0.0

EIGRP Query Range(Not Solution)

Page 59: Chapter 5. Configuring EIGRP

59

172.130.1.0/24

B Summarizes 172.130.0.0/16 to A

172.x.x.x

Reply with Infinity and theQuery Stops Here!

Query for172.130.1.0/24

Summarization point : Auto 또는 Manual Summarization 이 Query Boundary 를 제한하는 최상의 Solution 이 된다 . => Address Allocation Scheme 을 필요로 한다 .

XX192.x.x.x

Query for172.130.1.0/24

A CB

13

2

EIGRP Query Range (Solution)

Page 60: Chapter 5. Configuring EIGRP

60

Query Boundary 를 줄인다 .

•Summarize 를 사용하여 서브넷을 Aggregation 한다 .. •Prefix List 를 사용한 Route Filtering 을 하여 서브넷 정보가 넘어 가지 않게 한다 .•AS 내의 라우터의 수를 줄인다 . => Stub Network 은 RIP 나 Static Route 를 사용한다 . 또는 AS 를 나누어 BGP 등을 사용하여 통합한다 .

SIA(Stuck in Active) Solution

Page 61: Chapter 5. Configuring EIGRP

61

10.1.8.0/24

Regional Offices Remote Sites

XQueriesQueriesRepliesReplies

B

A

E

D

C

Limiting Updates/Queries-Example

Page 62: Chapter 5. Configuring EIGRP

62

10.1.8.0/24

Regional Offices Remote Sites

XQueriesQueriesRepliesReplies

Limiting Updates/Queries-Example

B

A

E

D

C

Page 63: Chapter 5. Configuring EIGRP

63

10.1.8.0/24

Regional Offices Remote Sites

XQueriesQueriesRepliesReplies

•ip summary-address eigrp 1 10.0.0.0 255.0.0.0 on all outbound interfaces to remotes

B

A

E

D

C

Limiting Updates/Queries Better

Page 64: Chapter 5. Configuring EIGRP

64

10.1.8.0/24

Regional Offices Remote Sites

XQueriesQueriesRepliesReplies

•ip summary-address eigrp 1 10.0.0.0 255.0.0.0 on all outbound interfaces to remotes

B

A

E

D

C

Limiting Updates/Queries Better

Page 65: Chapter 5. Configuring EIGRP

65

10.1.8.0/24

Regional Offices Remote Sites

XQueriesQueriesRepliesReplies

ip summary-address eigrp 1 10.0.0.0 255.0.0.0 명령을 Remote 로 나가는 Interface 에 적용하면 Remote router 들이 Query 에 대해 reply 하고 Query 를 다시 Forward 하지는 않는다 .Subnet 을 Summary 하게 되면 Subnet 정보 (10.1.8.0) 가 전파되지 않아 Remote Site 의 Router 의 Topology Database 에 Subnet 정보가 없으므로 Query 에 대해서 Infinite 로 응답하고 더 이상 다른 Interface 로 Query 를 Forwarding 하지 않는다 .

B

A

E

D

C

Limiting Updates/Queries Better

Page 66: Chapter 5. Configuring EIGRP

66

Core

TokenRing

TokenRing

3.3.4.01.1.1.0

3.3.4.0

1.1.4.0

3.3.3.0

2.2.1.0

1.1.3.0

3.3.1.0

1.1.2.02.2.3.0

2.2.2.0

TokenRing

TokenRing

TokenRing

TokenRing

1.1.1.01.1.2.02.2.3.03.3.4.0

2.2.1.03.3.2.03.3.3.01.1.4.0

3.3.1.02.2.2.01.1.3.0

Non-scalable Network Example

Bad addressing scheme : Major Class 의 Subnet 이 네트워크 전체에 걸쳐 분산되어 있다 . => Query 가 Bound 되지 않는다 .

Page 67: Chapter 5. Configuring EIGRP

67

Core

3.0.0.0

2.0.0.0

TokenRing

TokenRing

1.1.4.01.1.1.0

3.3.4.0

3.3.4.0

3.3.3.0

3.3.1.0

2.2.3.0

2.2.1.0

1.1.3.0

1.0.0.0

TokenRing

TokenRing

TokenRing

TokenRing

Re-address the network : 각각의 region 은 각각의 Address Block 을 갖는다 . ip summary-address eigrp 명령을 사용하여 Address Block 의 Subnet 을 Summarize 하면 Query 를 Bo

und 할 수 있다 .

1.1.2.0

2.2.2.0

Scalable Network—Example

Page 68: Chapter 5. Configuring EIGRP

68

Regional Office

Remote Office

Summarized Routes

Summarized RoutesSummarized Routes

Summarized Routes

Summarized Routes Summarized Routes

Tiered Network Design

OtherRegions

Core

OtherRegions

OtherRegions

OtherRegions

Page 69: Chapter 5. Configuring EIGRP

69

show ip protocolsRouter#

show ip route eigrpRouter#

show ip eigrp traffic

Router#

show ip eigrp neighborsRouter#

show ip eigrp topologyRouter#

Verifying EIGRP Operation

EIGRP 에 의해 발견된 Neighbor Router 를 Display 한다 .

EIGRP topology table 을 보여 준다 .

Routing Table 에 EIGRP Topology를 보여준다 .

사용중인 routing protocol 의 각종 Parameter 및 상태를 보여 준다 .

송수신 된 EIGRP packet 의 수를 보여 준다 .

Page 70: Chapter 5. Configuring EIGRP

70

debug ip eigrp summary

Router#

debug ip eigrp routeRouter#

show ip eigrp events Router#

debug eigrp packetRouter#

debug eigrp neighborRouter#

Verifying EIGRP Operation

송수신되는 EIGRP Packet 을 보여준다 .

EIGRP neighbor interaction 을 보여 준다 .

EIGRP Advertisement 및 EIGRP가 Routing Table 에 만드는 변경을 보여준다 .

EIGRP routing activity 의 간략한 정보를 보여 준다 .

Route Calculation 을 포함한 다양한 EIGRP Activity 에 대한 간략한 정보를 보여준다 .