Wednesday, December 5, 2018

1. Cấu hình các interface cho router .
Cấu hình R1 :

R1#conf t
R1(config)#int lo1
R1(config-if)#ip add 192.168.1.1 255.255.255.252
R1(config-if)#int l02
R1(config-if)#ip add 192.168.1.3 255.255.255.252
Bad mask /30 for address 192.168.1.3
R1(config-if)#ip add 192.168.2.1 255.255.255.252
R1(config-if)#int lo3
R1(config-if)#ip add 192.168.3.1 255.255.255.252
R1(config-if)#int lo4
R1(config-if)#ip add 192.168.4.1 255.255.255.252
R1(config-if)#int s2/0
R1(config-if)#no sh
R1(config-if)#ip add 1.1.1.1 255.255.255.248
R1(config-if)#int s2/1
R1(config-if)#no sh
R1(config-if)#ip add 2.2.2.2 255.255.255.248
Cấu hình trên R2 :
R2#conf t
R2(config)#int s2/0
R2(config-if)#no sh
R2(config-if)#ip add 1.1.1.2 255.255.255.248
R2(config-if)#int s2/1
R2(config-if)#no sh
R2(config-if)#ip add 3.3.3.2 255.255.255.248
Cấu hình trên R3 :
R3#conf t
R3(config)#int s2/0
R3(config-if)#no sh
R3(config-if)#ip add 3.3.3.1 255.255.255.248
R3(config-if)#
R3(config-if)#int s2/1
R3(config-if)#no sh
R3(config-if)#ip add 2.2.2.1 255.255.255.248 

R3(config-if)#int lo1
R3(config-if)#ip add 172.16.1.1 255.255.255.252
R3(config-if)#int lo2
R3(config-if)#ip add 172.16.2.1 255.255.255.252
R3(config-if)#int lo3
R3(config-if)#ip add 172.16.3.1 255.255.255.252
R3(config-if)#int lo4
R3(config-if)#ip add 172.16.4.1 255.255.255.252

2. Cấu hình và kiểm tra Route EIGRP:
- Cấu hình EIGRP
 
R1(config-if)#do show run | begin eigrp
router eigrp 10
 network 1.1.1.1 0.0.0.0
 network 2.2.2.2 0.0.0.0
 network 192.168.1.1 0.0.0.0
 network 192.168.2.1 0.0.0.0
 network 192.168.3.1 0.0.0.0
 network 192.168.4.1 0.0.0.0


R2(config-if)#do show run | begin eigrp
router eigrp 10
 network 1.1.1.2 0.0.0.0
 network 3.3.3.2 0.0.0.0


R3(config-router)#do show run | begin eigrp
router eigrp 10
 network 2.2.2.1 0.0.0.0
 network 3.3.3.1 0.0.0.0
 network 172.16.1.1 0.0.0.0
 network 172.16.2.1 0.0.0.0
 network 172.16.3.1 0.0.0.0
 network 172.16.4.1 0.0.0.0
!

- Kiểm tra EIGRP câu lệnh : Show ip eigrp neighbor và show ip route eigrp.

R1#show ip eigrp neighbor
EIGRP-IPv4 Neighbors for AS(10)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   2.2.2.1                 Se2/1                    11 00:10:07   15   100  0  14
0   1.1.1.2                 Se2/0                    13 00:15:53   13   100  0  31



R2#show ip eigrp neighbor
EIGRP-IPv4 Neighbors for AS(10)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   3.3.3.1                 Se2/1                    13 00:09:43   12   100  0  15
0   1.1.1.1                 Se2/0                    14 00:14:57   11   100  0  29

R3#show ip eigrp neighbor                                                   
EIGRP-IPv4 Neighbors for AS(10)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   2.2.2.2                 Se2/0                    12 00:11:11   11   100  0  30
0   3.3.3.2                 Se2/1                    12 00:11:43  430  2580  0  32

3. Cấu hình Summarization :
- Để cấu hình Auto Summarization ta vào EIGR và gõ câu lệnh :
R1(config-if)#router eigrp 10
R1(config-router)#auto-summary 

R2(config)#router eigrp 10
R2(config-router)#auto-summary

R3(config)#router eigrp 10
R3(config-router)#auto-summary
Sau khi cấu hình autosum kiểm tra lại route EIGRP
R1#show ip route eigrp

Gateway of last resort is not set

      1.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
D        1.0.0.0/8 is a summary, 00:04:43, Null0
      2.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
D        2.0.0.0/8 is a summary, 00:04:27, Null0
D     3.0.0.0/8 [90/2681856] via 2.2.2.1, 00:04:27, Serial2/1
                [90/2681856] via 1.1.1.2, 00:04:27, Serial2/0
D     172.16.0.0/16 [90/2297856] via 2.2.2.1, 00:04:27, Serial2/1
      192.168.1.0/24 is variably subnetted, 3 subnets, 3 masks
D        192.168.1.0/24 is a summary, 00:04:56, Null0
      192.168.2.0/24 is variably subnetted, 3 subnets, 3 masks
D        192.168.2.0/24 is a summary, 00:04:57, Null0
      192.168.3.0/24 is variably subnetted, 3 subnets, 3 masks
D        192.168.3.0/24 is a summary, 00:04:57, Null0
      192.168.4.0/24 is variably subnetted, 3 subnets, 3 masks
D        192.168.4.0/24 is a summary, 00:04:56, Null0

0 comments:

Xem nhiều nhất