Professional Documents
Culture Documents
Iprouting Chapter4
Iprouting Chapter4
EIGRP
EIGRP
EIGRP
EIGRP
EIGRP IGRP .
EIGRP .
EIGRP IGRP ,
. IGRP EIGRP (bandwidth),
110 IP
EIGRP 1).
.
IGRP EIGRP ,
,
.
.
IGRP , IGRP .
1) : EIGRP .
4. EIGRP 111
EIGRP
[ 4-1] TraderMary EIGRP .
[ 4-1] TraderMarry
hostname NewYork
...
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
interface Ethernet1
ip address 192.168.1.1 255.255.255.0
!
interface Serial0
description New York to Chicago link
ip address 172.16.250.1 255.255.255.0 !
interface Serial1
description New York to Ames link
bandwidth 56
ip address 172.16.251.1 255.255.255.0
112 IP
...
router eigrp 10
network 172.16.0.0
hostname Chicago
...
interface Ethernet0
ip address 172.16.50.1 255.255.255.0
!
interface Serial0
description Chicago to New York link
ip address 172.16.250.2 255.255.255.0
!
interface Serial1
description Chicago to Ames link
ip address 172.16.252.1 255.255.255.0
...
router eigrp 10
network 172.16.0.0
hostname Ames
...
interface Ethernet0
ip address 172.16.100.1 255.255.255.0
!
interface Serial0
description Ames to Chicago link
ip address 172.16.252.2 255.255.255.0
!
interface Serial1
description Ames to New York link
bandwididth 56
ip address 172.16.251.2 255.255.255.0
...
router eigrp 10
network 172.16.0.0
4. EIGRP 113
, EIGRP .
, EIGRP .
network 172.16.0.0
EIGRP ?
1. 172.16.0.0
. , 172.16.1.0
.
2. EIGRP 10 172.16.0.0
.
IGRP .
3. , 192.168.1.0
. ( )
Ethernet0 EIGRP .
, , 172.16.0.0 .
.
NewYork#sh 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, * - candidate
114 IP
default
Gateway of last resort is not set
1
EIGRP D
. 1 (24 255.255.255.0) 172.16.0.0
(6) .
EIGRP .
4. EIGRP 115
172.16.100.0 (2
). (3),
.
Ethernet1 192.168.1.0
.
EIGRP 192.168.1.0
.
hostname NewYork
...
router eigrp 10
network 172.16.0.0
network 192.168.1.0
EIGRP IGRP AS . AS
.
AS .
. 8 .
3 IGRP .
. , . ,
. IGRP . EIGRP
IGRP . .
116 IP
EIGRP
EIGRP IGRP 256 . EIGRP
.
4. EIGRP 117
EIGRP
RIP IGRP
EIGRP . RIP IGRP
,
( ),
. .
EIGRP
. , EIGRP
? EIGRP
(hello packet) . .
RIP IGRP .
. (
)
. EIGRP
118 IP
,
, .
RIP IGRP , ,
.
,
.
4. EIGRP 119
.
DUAL .
.
.
1. A B , A
,
B .
2. B A
.
EIGRP 5( ).
( )
. 15. DUAL
.
.
,
.
, 3
.
120 IP
.
.
T1 (ATM, Frame Relay, X.25 )
60( 180).
.
. H
. 172.16.251.2() 10.
5 . 172.16.250.2()
13 2 .
15 10 (
10 , ).
Address
Interface
Hold Uptime
SRTT
(sec)
(ms)
RTO Q
Seq
Cnt Num
172.16.251.2
Se0/1
10
00:17:08
28
2604 0 7
172.16.250.2
Se0/0
13
00:24:43
12
2604 0 14.
A B , ,
EIGRP .
EIGRP (reliable transport protocol)
. 88 IP
. IP 224.0.0.10.
4. EIGRP 121
DUAL .
. (
)
( ).
, ,
.
. (queue) (QCnt)
, (SRTT)
. (RTO)
.
.
. ,
. . EIGRP
DUAL (query) (reply) .
, .
.
EIGRP DUAL ,
DUAL . (
) , DUAL
.
. ,
. ,
122 IP
, DUAL
(route recomputation) .
. .
EIGRP RIP, IGRP 2)
. R R
N . (RD,
reported distance) . 281,600
. 172.16.100.0 . ,
172.160.100.0 RD 281,600.
172.16.100.0 RD 2,195,456([ 4-2]).
[ 4-2] 172.16.100.0
4. EIGRP 123
172.16.100.0 ,
. 46,251,776
2,707,456. (FD,
feasible distance) . 172.16.100.0 2,707,456( =
1,544 = 4,100).
(successor3)) . 172.16.100.0
172.16.50.1().
RD FD , FD
(FC, feasibility condition) . FD FS .
FD 2,707,456 281,600 .
FC . 172.16.100.0 FS
.
FC (loop freedom) . FC ,
FC
. FC RD
FD .
. [ 4-3] .
.
124 IP
[ 4-3]
A N B .
100. X N
. X A N (A
). A B , X N A
(, 4)), A X N
.
A . X 90 N
(90 X N RD). A 90(RD) 100(FD) . FD RD . FC
. A FD 100 , X N
A ( ). X N 110
, X N A (RD FD .
FC ). 110 A X A
( ).
.
RD,
4) : X N A B N A
B N X (A) B N
, . A
.
4. EIGRP 125
. , 172.16.100.0
. 9
10 , (172.16.250.2) (172.16.251.2).
10
RD 2,195,456 , RD 281,600
. 172.16.100.0 .
2,707,456, 46,251,776.
. 172.16.100.0 FD 2,707,456,
. FS . RD
281,600. RD FD . RD FD (281,600 < 2,707,456)
FS ([ 4-2]).
FC .
172.16.50.0( ) .
FC .
FC .
172.16.50.0() .
126 IP
...
P 172.16.50.0/24, 1 successors, FD is 2195456
via 172.16.250.2 (2195456/281600), Serial0
, FS
. RD 172.16.50.0 FD FS
.
Ames#sh ip route
...
172.16.0.0/24 is subnetted, 6 subnets
C
11 D
172.16.50.0 2,195,456(11).
RD 2,195,456 . 172.16.50.0 FD 2,195,456.
RD FD . .
172.16.50.0 (T1 , , ) . FS
RD < FD , 172.16.50.0 FS ([ 4-4]
).
4. EIGRP 127
[ 4-4] 172.16.50.0 FS
P . (quiescent mode)
,
.
FS DUAL .
, DUAL FS ,
(passive state) . DUAL
FS , DUAL
.
DUAL .
, ,
128 IP
4. EIGRP 129
DUAL -
[ 4-5].
[ 4-5]
NewYork#sh ip route
...
172.16.0.0/24 is subnetted, 6 subnets
...
D
...
130 IP
13
Serial0 FS 172.16.251.2(). FS
. FS .
RD < FD.
RD = 281,600(13).
FD = 2,707,456(12).
281,600 < 2,707,456. , FS .
,
. DUAL 172.16.100.0
.
FS . RD <
FD FS . FD
.
DUAL FS . DUAL
, FS .
Dmin . FS Dmin , FS
. FS Dmin , FS
(IOS (4 6) ).
,
. DUAL ,
.
4. EIGRP 131
?
. , EIGRP
(ping)
.
NewYork#ping
Protocol [ip]:
Target IP address: 172.16.100.1
Repeat count [5]: 1000
...
Sending 1000, 100-byte ICMP Echos to 172.16.100.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 99 percent (999/1000), round-trip min/avg/max = 1/3/92 ms
. (
) 2~4 .
DUAL -
DUAL 172.16.50.0 . Serial0
. FS (14).
...
DUAL FS , FS . DUAL
(15) .
132 IP
172.16.251.2() (16).
(flag) 16 .
172.16.50.0 .
FS .
(172.16.252.1) , 2,195,456
RD(17) . 172.16.251.2(
) 172.16.50.0 .
DUAL FS , .
(). FS
4. EIGRP 133
. FS ,
,
. ( FS
) ,
.
DUAL r DUAL
. 3 . DUAL
, ,
(stuck-in-active) .
FS .
DUAL ,
DUAL .
.
. IP (PDM) . PDM
( ) .
EIGRP . PDM IP
EIGRP .
EIGRP
EIGRP 88 IP .
EIGRP IP ( (
134 IP
224.0.0.10 ) (
) . IP
IP .
IP EIGRP . EIGRP ([
4-6] ).
[ 4-6] EIGRP
opcode EIGRP (, , , ).
(checksum) IP EIGRP .
(flag)
( ).
(sequence) (ack)
( ).
AS EIGRP . EIGRP
AS , .
4. EIGRP 135
EIGRP opcode .
. EIGRP IP
IP . EIGRP AS
. , EIGRP
10 172.16.50.0 .
EIGRP AS ,
, EIGRP AS .
EIGRP .
0x0102 . IGRP
(3 ). .
[ 4-7] IP .
[ 4-7] EIGRP
.
IP .
136 IP
. EIGRP .
ip address 172.16.1.1 255.255.255.0
24 172.16.1.0 .
,
ip address 172.16.250.1 255.255.255.252
30 172.16.250.0 .
[ 4-8]
.
[ 4-8] EIGRP
4. EIGRP 137
,
. IGRP .
.
IGRP X A N
N A X . EIGRP X
N Y A
. X Y RIP , X RIP IGRP
. X ,
X N X Y .
X Y 5).
(originating router), AS(originating AS), (external
protocol metric), ID(external protocol ID)
.
ID . ID
. IGRP--0x01; EIGRP--0x02; RIP--0x04; OSPF--0x06; BGP--0x09.
3 RIP EIGRP
RIP , AS ,
3 , ID 0x04 .
(arbitrary tag) .
0x02 . 0x01
( ).
IGRP .
5) ICMP (redirect) .
.
138 IP
RIP IGRP, EIGRP .
. TraderMary
255.255.255.0 IP .
. 24 252 . 30 (255.255.
255.252) IP
.
64 30
172.16.250.0 . .
172.16.250.0
172.16.250.4
172.16.250.8
...
172.16.250.252
TraderMary
.
hostname NewYork
...
interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
interface Ethernet1
ip address 192.168.1.1 255.255.255.0
!
interface Serial0
description New York to Chicago link
4. EIGRP 139
140 IP
NewYork#sh ip route
...
172.16.0.0/16 is variably subnetted, 6 subnets, 2 masks
D
. 172.16.0.0 ,
.
12 .
255.255.255.192( 62 )
. . IGRP ,
.
.
.
.
4. EIGRP 141
.
.
EIGRP . RIP
IGRP ,
. EIGRP
.
TraderMary
. [ 4-9] 56kbps .
[ 4-9]
IP 3 (172.20.100.0/24, 172.20.101.0/24,
172.20.102.0/24) .
EIGRP 10 .
142 IP
(172.20.0.0/172.16.0.0)
172.20.0.0/16 . 172.16.0.0
172.16.0.0 .
EIGRP null0(18) .
.
18 D
C
null0 .
( 172.20.1.1), null .
.
[ 4-10] TraderMary
4. EIGRP 143
EIGRP 10 .
IP 172.16.0.0 , 172.20.0.0
.
. 172.20.0.0
,
. 172.20.0.0 ,
172.20.0.0 .
RIP, IGRP EIGRP .
.
hostname Shannon
...
router eigrp 10
network 172.16.0.0
network 172.20.0.0
no auto-summary
hostname Ottawa
...
router eigrp 10
network 172.16.0.0
network 172.20.0.0
no auto-summary
no auto-summary ,
. ,
.
no auto-summary . , ,
144 IP
( ).
.
EIGRP
.
.
.
EIGRP ( )
. (manual summarization)
.
, , , .
172.16.1.0 172.16.15.0 . 172.16.0.0/20
, 3 4 0
. 172.16.1.0 172.16.15.0 .
hostname NewYork
...
19interface Ethernet0
ip address 172.16.1.1 255.255.255.0
!
19 interface Ethernet1
ip address 192.168.1.1 255.255.255.0
!
20 interface Ethernet2
ip address 172.16.2.1 255.255.255.0
!
interface Serial0
4. EIGRP 145
(19 20) .
(21) .
[ 4-1] . .
NewYork#sh ip route
...
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
D
22 D
146 IP
Chicago#sh ip route
...
172.16.0.0/16 is variably subnetted, 8 subnets, 2 masks
C
C
23D
D
.
.
16 .
172.16.96.0 172.16.111.0
, 16
(172.16.100.0) .
172.16.96.0 172.16.111.0
16
(172.16.50.0) .
172.16.48.0 172.16.63.0
4. EIGRP 147
EIGRP .
0x02 .
([ 4-11] ).
[ 4-11] .
hostname core1
!
148 IP
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
...
interface Serial0
ip address 172.16.245.1 255.255.255.0
...
router eigrp 10
24 redistribute static metric 56 100 255 1 255
network 172.16.0.0
!
ip classless
25 ip route 0.0.0.0 0.0.0.0 Null0
hostname branch1
...
interface Serial0
ip address 172.16.245.2 255.255.255.0
...
26 router eigrp 10
network 172.16.0.0
1 .
branch1#sh ip route
...
Gateway of last resort is 172.16.251.1 to network 0.0.0.0
172.16.0.0/24 is subnetted, 6 subnets
C
...
27 D*EX 0.0.0.0/0 [170/46251776] via 172.16.245.1, 00:01:47, Serial0
170(27) .
4. EIGRP 149
1. 0.0.0.0 1 (25).
2. 0.0.0.0 EIGRP 10 (24).
3. (24).
4. EIGRP 10 1 (26).
,
. 1 . ( 1)
( 2) . , 3
(worse) 2
.
EIGRP
EIGRP .
( ) .
, , .
what-if . X Y
? ?
? ?
. ,
( ),
,
.
150 IP
EIGRP
.
,
.
. .
Address
Interface
Hold Uptime
172.16.251.2
Se0/1
10 00:17:08
28 2604 0 7
172.16.250.2
Se0/0
13 00:24:43
12 2604 0 14
(sec)
SRTT
(ms)
RTO Q Seq
Cnt Num
, EIGRP . A,
B, C , EIGRP 10 4
. C A B
, C , (C IP
EIGRP ). . A B
C , A B C , C
, EIGRP
.
15 ( ),
.
.
4. EIGRP 151
(uptime) .
.
QCnt 0 ( 0 ).
.
1. .
2. .
3. EIGRP .
4. , EIGRP IP , , EIGRP AS ,
.
5. .
.
(
). .
DUAL 3( )
(SIA, stuck-in-active) . DUAL
,
.
152 IP
FS .
(, )
. CPU
. TraderMary , 172.16.50.0
, (28).
(SIA) , ,
,
.
, (SIA) 172.
16.251.2 (28).
.
(SIA) .
. 3
. (frame relay PVCs )
4. EIGRP 153
SIA ,
.
.
router eigrp 10
timers active-time minutes
,
.
EIGRP
EIGRP 50%
. .
1.
, EIGRP .
2. EIGRP .
EIGRP EIGRP
. (
), EIGRP
. EIGRP .
,
EIGRP .
154 IP
EIGRP/DUAL .
XXX (SIA) .
IOS ,
EIGRP (frame relay)
IOS 10.3(11), 11.0(8), 11.1(3) .
, IOS .
.
(production network) (debug)
. .
EIGRP .
debug eigrp neighbors( )
debug eigrp packet( EIGRP )
debug eigrp ip neighbor( ,
EIGRP )
4. EIGRP 155
EIGRP ( , EIGRP
). DUAL ,
CPU CPU .
EIGRP . EIGRP
.