实验目的:
1、理解EIGRP 的自动汇总的缺点。
2、掌握EIGRP 的手工自动总结的配置方法。
实验拓扑图:
16

实验步骤及要求:
1、配置各台路由器的IP 地址,并且使用Ping 命令确认各路由器的直连口的互
通性。
2、配置各台路由器的EIGRP 协议,并且不关闭自动总结。
3、在R2 上使用ping 测试网络路由,会发现R2 路由器无法ping 通路由器R4
所连接的10.1.X.0/24 网络子网。如下所示:
R2#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/46/92 ms
R2#
R2#ping 10.1.16.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.16.1, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
R2#
R2#ping 10.1.17.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.17.1, timeout is 2 seconds:
U.U.U
Success rate is 0 percent (0/5)
R2#
4、查看R2 的路由表:
R2#show ip route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 3 subnets
D 172.16.1.8 [90/307200] via 172.16.1.6, 00:06:25, Ethernet1/1
C 172.16.1.4 is directly connected, Ethernet1/1
C 172.16.1.0 is directly connected, Ethernet1/0
D 10.0.0.0/8 [90/409600] via 172.16.1.1, 00:06:09, Ethernet1/0
D 192.168.0.0/24 [90/409600] via 172.16.1.6, 00:06:25, Ethernet1/1
D 192.168.1.0/24 [90/409600] via 172.16.1.6, 00:06:25, Ethernet1/1
D 192.168.2.0/24 [90/409600] via 172.16.1.6, 00:06:25, Ethernet1/1
批注 [stanley22]: 无法
ping 通10.1.16.1 的IP 地
址。
批注 [stanley23]: R2 路由
器显示的汇总路由。
17
D 192.168.3.0/24 [90/409600] via 172.16.1.6, 00:06:25, Ethernet1/1
R2#
5、查看R2 路由器的拓扑数据库:
R2#show ip eigrp topology all-links
IP-EIGRP Topology Table for AS(50)/ID(172.16.1.5)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status
P 10.0.0.0/8, 1 successors, FD is 409600, serno 3
via 172.16.1.1 (409600/128256), Ethernet1/0
via 172.16.1.6 (435200/409600), Ethernet1/1
P 192.168.0.0/24, 1 successors, FD is 409600, serno 4
via 172.16.1.6 (409600/128256), Ethernet1/1
P 192.168.1.0/24, 1 successors, FD is 409600, serno 5
via 172.16.1.6 (409600/128256), Ethernet1/1
P 192.168.2.0/24, 1 successors, FD is 409600, serno 6
via 172.16.1.6 (409600/128256), Ethernet1/1
P 192.168.3.0/24, 1 successors, FD is 409600, serno 7
via 172.16.1.6 (409600/128256), Ethernet1/1
P 172.16.1.8/30, 1 successors, FD is 307200, serno 8
via 172.16.1.6 (307200/281600), Ethernet1/1
P 172.16.1.4/30, 1 successors, FD is 281600, serno 2
via Connected, Ethernet1/1
P 172.16.1.0/30, 1 successors, FD is 281600, serno 1
via Connected, Ethernet1/0
R2#
6、导致R2 无法ping 路由器R4 所连接的10.1.X.0/24 的网络主要原因是:R1
本身属于主类的边界,其会将本地路由表中的子网向主类网络自动汇总。而R4
也属于主类的界,也会与R1 做出相同的动作。因此R2 会从不同的接口,收到相
同的汇总路由,即10.0.0.0/8 网络路由。由于R2 在比较了两条路由的可行距离
后,选择了较小的FD 值的路由,即R1 通告的10.0.0.0/8 汇总路由。而忽略了
另外一个接口收到汇总路由。其实真正的原因,并不是路由选择出错,而是自动
汇总不能做到精确的控制原因导致的。
7、为了解决汇总问题,需要在R1 和R4 上关闭自动汇总,而采用手工汇总。配
置如下:
R1(config)#router eigrp 50
R1(config-router)#no auto-summary
批注 [stanley24]:
all-links 参数是显示所有
链路。
批注 [stanley25]: 到底
10.0.0.0/8 网络有两条路
由。
注意两条路由的FD 值是不同
的。
批注 [stanley26]: 关闭自
动汇总。
18
R1(config-router)#exit
R1(config)#
R1(config)#interface fastEthernet 0/1
R1(config-if)#ip summary-address eigrp 50 10.1.0.0 255.255.252.0
R1(config-if)#exit
R1(config)#exit
R4(config)#router eigrp 50
R4(config-router)#no auto-summary
R4(config-router)#exit
R4(config)#
R4(config)#interface fastEthernet 0/0
R4(config-if)#ip summary-address eigrp 50 10.1.16.0 255.255.252.0
R4(config-if)#exit
R4(config)#exit
8、再次查看R2 路由表:
R2#show ip route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 3 subnets
D 172.16.1.8 [90/307200] via 172.16.1.6, 00:21:08, Ethernet1/1
C 172.16.1.4 is directly connected, Ethernet1/1
C 172.16.1.0 is directly connected, Ethernet1/0
10.0.0.0/22 is subnetted, 2 subnets
D 10.1.0.0 [90/409600] via 172.16.1.1, 00:03:13, Ethernet1/0
D 10.1.16.0 [90/435200] via 172.16.1.6, 00:01:02, Ethernet1/1
D 192.168.0.0/24 [90/409600] via 172.16.1.6, 00:21:08, Ethernet1/1
D 192.168.1.0/24 [90/409600] via 172.16.1.6, 00:21:08, Ethernet1/1
D 192.168.2.0/24 [90/409600] via 172.16.1.6, 00:21:08, Ethernet1/1
D 192.168.3.0/24 [90/409600] via 172.16.1.6, 00:21:08, Ethernet1/1
R2#
9、再次使用ping 命令确认网络可达性:
R2#ping 10.1.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/69/145 ms
R2#ping 10.1.1.1
Type escape sequence to abort.
批注 [stanley27]: 进行手
工汇总,其汇总路由为
10.1.0.0/22
批注 [stanley28]: 被汇总
的/22 位网络路由。
19
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/44/64 ms
R2#ping 10.1.16.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.16.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 60/97/140 ms
R2#ping 10.1.17.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.17.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/93/149 ms
R2#
10、再次查看R2 的路由表:
R2#show ip route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 3 subnets
D 172.16.1.8 [90/307200] via 172.16.1.6, 00:23:45, Ethernet1/1
C 172.16.1.4 is directly connected, Ethernet1/1
C 172.16.1.0 is directly connected, Ethernet1/0
10.0.0.0/22 is subnetted, 2 subnets
D 10.1.0.0 [90/409600] via 172.16.1.1, 00:05:49, Ethernet1/0
D 10.1.16.0 [90/435200] via 172.16.1.6, 00:03:38, Ethernet1/1
D 192.168.0.0/24 [90/409600] via 172.16.1.6, 00:23:45, Ethernet1/1
D 192.168.1.0/24 [90/409600] via 172.16.1.6, 00:23:45, Ethernet1/1
D 192.168.2.0/24 [90/409600] via 172.16.1.6, 00:23:45, Ethernet1/1
D 192.168.3.0/24 [90/409600] via 172.16.1.6, 00:23:45, Ethernet1/1
R2#
11、为了能够有效的减少路由表的大小,还可以通过EIGRP 对192.168.X.0/24
的C 类网络路由进行手工路由汇总,具体配置如下:
R3(config)#router eigrp 50
R3(config-router)#no auto-summary
R3(config-router)#exit
R3(config)#
R3(config)#interface ethernet 1/1
R3(config-if)#ip summary-address eigrp 50 192.168.0.0 255.255.252.0
R3(config-if)#exit
批注 [stanley29]:
192.168.X.0/24 具体路由。
批注 [stanley30]: 虽然在
R3 上配置的是超网汇总,仍
然需要在R3 的EIGRP 进程中
关闭自动汇总特性,否则,
EIGRP 还是会向外通告具体
路由。
20
R3(config)#
R3(config)#inter ethernet 1/0
R3(config-if)#ip summary-address eigrp 50 192.168.0.0 255.255.252.0
R3(config-if)#exit
R3(config)#
12、查看R4 和R2 的路由表:
R4#show ip route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 3 subnets
C 172.16.1.8 is directly connected, FastEthernet0/0
D 172.16.1.4 [90/284160] via 172.16.1.9, 00:02:41, FastEthernet0/0
D 172.16.1.0 [90/309760] via 172.16.1.9, 00:02:23, FastEthernet0/0
10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D 10.1.0.0/22 [90/437760] via 172.16.1.9, 00:02:23, FastEthernet0/0
C 10.1.19.0/24 is directly connected, Loopback0
C 10.1.18.0/24 is directly connected, Loopback0
C 10.1.17.0/24 is directly connected, Loopback0
D 10.1.16.0/22 is a summary, 00:03:33, Null0
C 10.1.16.0/24 is directly connected, Loopback0
D 192.168.0.0/22 [90/156160] via 172.16.1.9, 00:02:41, FastEthernet0/0
R4#
R2#show ip route
Gateway of last resort is not set
172.16.0.0/30 is subnetted, 3 subnets
D 172.16.1.8 [90/307200] via 172.16.1.6, 00:02:54, Ethernet1/1
C 172.16.1.4 is directly connected, Ethernet1/1
C 172.16.1.0 is directly connected, Ethernet1/0
10.0.0.0/22 is subnetted, 2 subnets
D 10.1.0.0 [90/409600] via 172.16.1.1, 00:16:13, Ethernet1/0
D 10.1.16.0 [90/435200] via 172.16.1.6, 00:02:54, Ethernet1/1
D 192.168.0.0/22 [90/409600] via 172.16.1.6, 00:02:54, Ethernet1/1
R2#
13、使用ping 命令确认路由有效性:
R2#ping 192.168.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds:
批注 [stanley31]: 从R3 收
到的手工汇总的路由。
批注 [stanley32]: 从R3 收
到的手工汇总的路由。
21
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/28/60 ms
R2#
R4#ping 192.168.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/37/48 ms
R4#
14、通过本实验可以看出,虽然EIGRP 的自动汇总能够为网络配置带来便捷,但
是其依赖于IP 子网的规划。如果遇到糟糕的子网规划,则需要小心使用自动特
性。
38、实验完成。

本文转自  还不算晕  51CTO博客,原文链接:http://blog.51cto.com/haibusuanyun/524954

Manually Summarizing EIGRP Routes相关推荐

  1. ASP.NET Core 中文文档 第四章 MVC(4.2)控制器操作的路由

    原文:Routing to Controller Actions 作者:Ryan Nowak.Rick Anderson 翻译:娄宇(Lyrics) 校对:何镇汐.姚阿勇(Dr.Yao) ASP.NE ...

  2. ASP.NET CORE MVC 实现减号分隔(Kebab case)样式的 URL

    ASP.NET CORE MVC 中,默认的 Route 模板是: /{controller}/{action}  .我们可以通过开启 URL 小写转换将 URL 变为小写,但此方式在 Control ...

  3. vyos User Guide

    vyos User Guide 来源 https://wiki.vyos.net/wiki/User_Guide The VyOS User Guide is focused on providing ...

  4. Goahead嵌入式linux移植资料整理

    环境 官方文档:https://www.embedthis.com/goahead/doc/ 源码下载: goahead-4.1.0-src.tgz 系统平台:Ubuntu 12.04.4 gcc v ...

  5. 《CCIE路由和交换认证考试指南(第5版) (第2卷)》——1.3节构建BGP表

    本节书摘来自异步社区<CCIE路由和交换认证考试指南(第5版) (第2卷)>一书中的第1章,第1.3节构建BGP表,作者 [美]那比克 科查理安(Narbik Kocharians) , ...

  6. 思科资料的所有资料目录

    1.20140819单臂路由.pdf 2.CCNA 实验手册之Packet_Tracer使用教程.pdf 3.CCNA_Lab_Workbook_Sample_Labs(CDP,静态路由,端口安全). ...

  7. 配置和调试EIGRP

    [实验目的]: 在本次实验中,你将安装增强的内部网关路由协议(EIGRP)和观察它的缺省行为.然后优化EIGRP配置. 在完成本次实验之后,你需要完成下列任务: 核心和其他机架使用EIGRP路由协议 ...

  8. CCNA(Stand-ALONE)Lab 12-Static Routes

    Objective: configure Routers 1, 2, and 4 with IP addresses, and then add static routes for all route ...

  9. 非你所想:eigrp非等价负载均衡

    记得NP中有道关于eigrp非等价负载均衡的题目.各方的答案有争议.今天,我就来验证eigrp非等价负载均衡. 首先,eigrp的非等价负载均衡是在Successor与Feasible Success ...

最新文章

  1. Android4.0 Design之设计规范的十大革新
  2. 数组中三个只出现一次的数字
  3. 使用LVS实现负载均衡原理及安装配置详解
  4. 「offer来了」进程线程有啥关系?10个知识点带你巩固操作系统基础知识
  5. 机器学习算法之生成树
  6. was连接oracle rac集群,Oracle 学习之RAC(九) 集群负载均衡及故障转移
  7. Java 异常 (Exception) 剖析 与 用户自定义异常
  8. linux sound usb声卡,openwrt上用usb声卡听音乐
  9. 计算机谈歌曲简单,计算机应用基础公开课制作一首简单的MP3歌曲.ppt
  10. 统计年龄分布情况(5岁的间隔统计),绘制出年龄分布图。
  11. linux终端命令行删除当前光标之后内容ctrl +k
  12. 智能手机与个人计算机有什么区别,请问智能手机与非智能手机的区别!
  13. qcustomplot 峰值_QT 本程序可读取Yokogawa 光谱仪多个数据文件(CSV格式)并寻峰 - 下载 - 搜珍网...
  14. canvas动画科技园_Canvas 写的酷炫动画代码分析
  15. 耀世升级发布,阿里新出第三版Java多线程核心技术手册PDF全彩版
  16. 千氪公开课第一期|如何实现写作收益的最大化?-千氪
  17. 基于matlab的医学成像技术滤波反投影仿真,包括直接反投影,S-L滤波,R-L滤波,Lewitt滤波
  18. Android向系统日历添加事件提醒
  19. 面向微波毫米波频段协同的共口径天线研究综述
  20. Docker报错误Cannot connect to the Docker daemon

热门文章

  1. 新东方年会节目员工吐槽公司问题 俞敏洪:奖励12万
  2. 首富带你畅谈:蓝绿部署、滚动发布、灰度发布/金丝雀发布
  3. CompletableFuture的runAsync
  4. Linux进程学习(孤儿进程和守护进程)
  5. poj1005——I Think I Need a Houseboat
  6. 案例研究 路由器到路由器EOMPLS---基于端口
  7. CCD和CMOS的的相同点和差异
  8. 问题五十九:怎么求一元六次方程在区间内的所有不相等的实根(3)——修正一个问题
  9. 哪些影响大数据分析发展
  10. 大数据时代如何安全使用WIFI