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

1551426-20190105153144854-1904099039.png

一、详细配置

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

转载于:https://www.cnblogs.com/reaperhero/articles/10224732.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值