You are on page 1of 4

Lab: EIGRP

Ni dung
Hiu c hot ng ca EIGRP
Cu hnh nh tuyn EIGRP cho mt h thng mng

Device
R1
R2
PC1
PC2

Interface
Fa0/0
Fa0/1
Fa0/0
Fa0/1
NIC
NIC

IP address
Subnetmask
172.16.1.1 255.255.255.252
192.168.1.1
255.255.255.0
172.16.1.2 255.255.255.252
192.168.2.1
255.255.255.0
192.168.1.10 255.255.255.0
192.168.2.10 255.255.255.0

Gateway
192.168.1.1
192.168.2.1

1. Kt ni Router, PC nh hnh v
2. Thc hin Console ti Router bng cp console v phn mm Hyper Terminal
3. Thc hin cc cu hnh c bn cho Router: hostname, password, line vty, ip-address ...
4. Kim tra thng tin interface
Router R1
R1#show ip interface brief
Interface
IP-Address

OK? Method Status

Protocol

FastEthernet0/0
FastEthernet0/1

172.16.1.1
192.168.1.1

YES manual up
YES manual up

up
up

Router R2
R2#show ip interface brief
Interface
IP-Address
FastEthernet0/0
172.16.1.2
FastEthernet0/1
192.168.2.1

OK? Method Status


YES manual up
YES manual up

Protocol
up
up

5. Cu hnh nh tuyn trn cc router


Router 1
R1(config)#router eigrp 100
R1(config-router)#network 192.168.1.0
R1(config-router)#network 172.16.0.0
R1(config-router)#no auto-summary

Router 2
R2(config)#router eigrp 100
R2(config-router)#network 172.16.0.0
R2(config-router)#network 192.168.2.0
R2(config-router)#no auto-summary

6. Xem thng tin bn nh tuyn


Router R1
R1#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
C
C
D

172.16.0.0/30 is subnetted, 1 subnets


172.16.1.0 is directly connected, FastEthernet0/0
192.168.1.0/24 is directly connected, FastEthernet0/1
192.168.2.0/24 [90/30720] via 172.16.1.2, 00:00:38, FastEthernet0/0

Router R2
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
C
D
C

172.16.0.0/30 is subnetted, 1 subnets


172.16.1.0 is directly connected, FastEthernet0/0
192.168.1.0/24 [90/30720] via 172.16.1.1, 00:00:05, FastEthernet0/0
192.168.2.0/24 is directly connected, FastEthernet0/1

7. Xem thng tin bng EIGRP topology, neighbor


Router R1
R1#show ip eigrp topology
IP-EIGRP Topology Table for AS 100
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 192.168.1.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/1
P 172.16.1.0/30, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 192.168.2.0/24, 1 successors, FD is 30720
via 172.16.1.2 (30720/28160), FastEthernet0/0
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H
Address
Interface
Hold Uptime
(sec)
0
172.16.1.2
Fa0/0
12
00:05:21

SRTT
(ms)
40

RTO

Q
Cnt
1000 0

Seq
Num
6

Router R2
R2#show ip eigrp topology
IP-EIGRP Topology Table for AS 100
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 192.168.2.0/24, 1 successors, FD is 28160
via Connected, FastEthernet0/1
P 172.16.1.0/30, 1 successors, FD is 28160
via Connected, FastEthernet0/0
P 192.168.1.0/24, 1 successors, FD is 30720
via 172.16.1.1 (30720/28160), FastEthernet0/0
R2#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H
Address
Interface
Hold Uptime
(sec)

SRTT
(ms)

RTO

Q
Cnt

Seq
Num

172.16.1.1

Fa0/0

11

00:06:45

40

8. Kim tra kt ni gia cc PC


PC>ping 192.168.2.10
Pinging 192.168.2.10 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

192.168.2.10:
192.168.2.10:
192.168.2.10:
192.168.2.10:

bytes=32
bytes=32
bytes=32
bytes=32

time=0ms TTL=126
time=0ms TTL=126
time=0ms TTL=126
time=12ms TTL=126

Ping statistics for 192.168.2.10:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 12ms, Average = 3ms
PC>ping 192.168.1.10
Pinging 192.168.1.10 with 32 bytes of data:
Reply
Reply
Reply
Reply

from
from
from
from

192.168.1.10:
192.168.1.10:
192.168.1.10:
192.168.1.10:

bytes=32
bytes=32
bytes=32
bytes=32

time=3ms
time=0ms
time=0ms
time=0ms

TTL=126
TTL=126
TTL=126
TTL=126

Ping statistics for 192.168.1.10:


Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3ms, Average = 0ms

10. Xc nhn thng tin bng lnh show ip route & debug ip eigrp

1000

You might also like