20201104 cisco EIGRP (一)

課堂資料

Enhanced Interior Gateway Routing Protocol ( EIGRP ) 增強型內部網關路由協定:

EIGRP 設定:

CSICO EIGRP

Enhanced Interior Gateway Routing Protocol

  • 採用 DUAL Algorithmshow ip route

  • 高級 ( Advanced ) 的 DV ( Distance Vector ) or Mixed

  • IP header protocol:88

協定

protocol 值

ICMP ( 網際網路控制訊息協定 )

1

TCP ( 傳輸控制協定 )

6

UDP ( 用戶資料報協定 )

17

EIGRP ( 混合型路由協定 )

88

  • VLSM ( Variable Length Subnet Mask ) and CIDR ( Classless Inter Domain Routing )

  • AD ( 動態距離:Administration Distance ) = 90

協定

AD值

Static Route ( 靜態路由 )

1

EIGRP ( 混合型路由協定 )

90

OSPF ( 鏈路狀態路由協定 )

110

RIP ( 路由資訊協定 )

120

  • metrics ( 指標 ):BW ( 帶寬:BandWidth )、Delay ( 延時 )、Load ( 加載 )、Reliabily ( 可靠性 )、MTU ( 最大傳輸單元:Maximum Transmission Unit )

  • trigger update:224.0.0.10 (增量更新,可靠更新:Reliabily update)

    • RIPv1:255.255.255.255

    • RIPv2:224.0.0.9

補充

封包類型

作用

Hello

用於建立和維持 Neighborhood

Update

用於傳送路由條目

Ack

用於實現可靠傳輸

Query

用於路由丟失時,向鄰居發送路由請求

Reply

收到路由請求,給予回覆

EIGRP有三張表:

  1. 鄰居表 ( neighbor table )

  2. 拓樸表 ( protocol table )

  3. 路由表 ( routing table )

課堂練習

Neighbor

IP 設定

conf t
hostname R1
do writ
int e0/0
ip addr 192.168.12.1 255.255.255.0
no shut

Route 設定

router eigrp [AS No.]
auto-summary
network 192.168.12.0 0.0.0.255
do sh ip eigrp nei
do sh ip eigrp topology
do sh ip ro eigrp
neighbor 192.168.12.2 e0/0

Holdtime

int e0/0
ip hello-interval eigrp ?
ip hello-interval eigrp [AS No.] ?
ip hello-interval eigrp [AS No.] 10
ip hold-time eigrp ?
ip hold-time eigrp [AS No.] ?
ip hold-time eigrp [AS No.] 30
^z
clear ip eigrp [AS No.] nei
sh ip eigrp nei

Authentication

conf t
key chain MyChain
key 1
key-string MyPassword
exit
exit
int e0/0
ip authentication key-chain eigrp [AS No.] MyChain
ip authentication mode eigrp [AS No.] md5
do sh ip eigrp int detail

期中練習

題目:

結果:

R1

int e0/0
ip add 12.1.1.1 255.255.255.0
no shut
int e0/1
ip add 45.1.1.1 255.255.255.0
no shut
int e0/2
ip add 192.168.1.1 255.255.255.0
no shut
ip route 192.168.2.0 255.255.255.0 e0/0 12.1.1.2
ip route 192.168.2.0 255.255.255.0 e0/1 45.1.1.3 10

R2

int e0/0
ip add 12.1.1.2 255.255.255.0
no shut
int e0/1
ip add 23.1.1.2 255.255.255.0
no shut
int e0/2
ip add 192.168.2.1 255.255.255.0
no shut
ip route 192.168.1.0 255.255.255.0 e0/0 12.1.1.1 10
ip route 192.168.1.0 255.255.255.0 e0/1 23.1.1.4

R3

int e0/0
ip add 34.1.1.3 255.255.255.0
no shut
int e0/1
ip add 45.1.1.3 255.255.255.0
no shut
ip route 192.168.1.0 255.255.255.0 e0/1 45.1.1.1

R4

int e0/0
ip add 34.1.1.4 255.255.255.0
no shut
int e0/1
ip add 23.1.1.4 255.255.255.0
no shut
ip route 192.168.1.0 255.255.255.0 e0/0 34.1.1.3

VPC1

ip 192.168.1.2 255.255.0.0

VPC2

ip 192.168.2.2 255.255.0.0

Last updated

Was this helpful?