EIGRP路由协议的简单理解及应用

EIGRP 增强型内部网关路由协议,他是动态路由协议,是思科私有的路由协议
特点:
1)路由更新:闪速更新;触发式更新;路由增量更新
2)协议更新采用组播地址来维持EIGRP的路由信息传递;具有固定的组播地址来提供EIGRP通信
(224.0.0.10EIGRP的全球组播地址)
3)EIGRP完成一次路由更新需要三张表来作为路由更新
1EIGRP邻居表
2
EIGRP拓扑表(EIGRP学习到的可行路径)
3*EIGRP路由表(EIGRP从可行路径中选出最优路由)
4)EIGRP为路由分配了度量值的计算方式,从而可以计算出每条路由的开销值
(即弥散更新算法→Metric值→DUAL算法)
5)100%无环路由协议
6)在EIGRP网络中可以存在255台路由器,相当于和TTL数量持平(TTL=255为最大值)

标准指令
routereigrpx(x代表AS,AS:自治系统;自治系统号必须一致才可以路由交互)
network网络号
noauto-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

一、详细配置

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
posted @ 2019-01-05 15:35  reaperhero  阅读(558)  评论(0编辑  收藏  举报