EIGRP路由協議的簡單理解及應用


1.EIGRP 增強型內部網關路由協議

他是動態路由協議,是思科私有的路由協議(2013年已經公有化)

特點:     1)路由更新:閃速更新;觸發式更新;路由增量更新

      2)協議更新采用組播地址來維持EIGRP的路由信息傳遞;具有固定的組播地址來提供EIGRP通信

       (224.0.0.10  EIGRP的全球組播地址)

      3)EIGRP完成一次路由更新需要三張表來作為路由更新

               1*EIGRP鄰居表

               2*EIGRP拓撲表(EIGRP學習到的可行路徑)

               3*EIGRP路由表(EIGRP從可行路徑中選出最優路由)

      4)EIGRP為路由分配了度量值的計算方式,從而可以計算出每條路由的開銷值

       (即彌散更新算法→Metric值→DUAL算法)

      5)100%無環路由協議

      6)在EIGRP網絡中可以存在255台路由器,相當於和TTL數量持平(TTL=255為最大值)

 

2.EIGRP的報文類型

      1)  Hello            (你好)         幫助EIGRP協議建立鄰居

      2)  Update       (更新)         幫助EIGRP協議學習路由

      3)  Query          (查詢)         幫助EIGRP協議在失去下一跳是進行重新查找路徑

      4)  Reply           (回復)         幫助EIGRP協議回復Query

      5)  Ack               (確認)         幫助EIGRP協議完成RTP機制(確認可靠的分組)

在正常情況下,EIGRP協議網絡中只顯示三個報文(Hello,Update,Ack→ 你好,更新,確認)

 

3.EIGRP采用RTP來保證信息的傳輸

RTP可靠性傳輸----------使用Ack來確認可靠分組

可靠分組(Update,Query,Reply)

舉例:R1→R2  Query

   R2→R1  Ack1

   R2→R1  Reply

   R1→R2  Ack2

 

4.EIGRP的特性

      1)  默認路由注入EIGRP域內(四種方法)

      2)  被動接口

      3)  非等價負載均衡

      4)  EIGRPstub

      5)  EIGRP路由手動匯總

      6)  EIGRP鏈路最大負載均衡

      7)  EIGRP鏈路認證(1.簡單密碼認證;2.MD5加密認證)

      8)  超網路由發布

      9)  EIGRP度量值偏移

      10)  EIGRP度量值(開銷值)參數調整(帶寬,延遲,可靠,負載,MTU)

 

5.EIGRP的配置

標准指令

router eigrp x(x代表AS,AS:自治系統;自治系統號必須一致才可以路由交互)

  network 網絡號

  no auto-summary

例:   12.1.1.1/24 主類號(A類地址):12.0.0.0 網絡號:12.1.1.0

       192.168.1.1/24 主類號(C類地址):192.168.1.0 網絡號:192.168.1.0

檢查路由:

1)查看鄰居                   show ip eigrp neighbors

2)查看路由                   show ip route eigrp

3)查看EIGRP協議統計信息         show ip route traffic

 

6.實驗拓撲

   

 

7.詳細配置

R1:

enable

conf t

hostname R1

no ip domain-lookup

interface Loopback1

ip address 1.1.1.1 255.255.255.0

no shu

exit

interface FastEthernet0/0

ip address 192.168.12.1 255.255.255.0

no shu

exit

router eigrp 1

network 1.0.0.0

network 192.168.12.0

no auto-summary

exit

 

R2:

enable

conf t

hostname R2

no ip domain-lookup

interface Loopback1

ip address 2.2.2.2 255.255.255.0

no shu

exit

interface FastEthernet0/0

ip address 192.168.12.2 255.255.255.0

no shu

exit

interface FastEthernet0/1

ip address 192.168.23.1 255.255.255.0

no shu

exit

router eigrp 1

network 192.168.12.0

network 2.0.0.0

network 192.168.23.0

no auto-summary

exit

 

R3:

enable

conf t

hostname R3

no ip domain-lookup

interface Loopback1

ip address 3.3.3.3 255.255.255.0

no shu

exit

interface FastEthernet0/0

ip address 192.168.23.2 255.255.255.0

no shu

exit

interface FastEthernet0/1

ip address 192.168.34.1 255.255.255.0

no shu

exit

router eigrp 1

network 3.0.0.0

network 192.168.23.0

network 192.168.34.0

no auto-summary

exit

 

R4:

enable

conf t

hostname R4

no ip domain-lookup

interface Loopback1

ip address 4.4.4.4 255.255.255.0

no shu

exit

interface FastEthernet0/0

ip address 192.168.34.2 255.255.255.0

no shu

exit

interface FastEthernet0/1

ip address 192.168.45.1 255.255.255.0

no shu

exit

router eigrp 1

network 4.0.0.0

network 192.168.34.0

network 192.168.45.0

no auto-summary

exit

 

R5:

enable

conf t

hostname R5

no ip domain-lookup

interface Loopback1

ip address 5.5.5.5 255.255.255.0

no shu

exit

interface FastEthernet0/0

ip address 192.168.45.2 255.255.255.0

no shu

exit

router eigrp 1

network 5.0.0.0

network 192.168.45.0

no auto-summary

exit

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM