菜鸟学习CCNA-EIGRP

    EIGRP(Enhanced Interior Gateway Routing Protocol,增强型内部网关路由协议)是
Cisco 公司开发的一个平衡混合型路由(高效的路由)协议,它融合了距离向量和链路状态两种路由协议的优点。
   EICRP平衡混合型路由协议特点:1 通过发送和接收Hello 包来建立和维持邻居关系,并交换路由信息;2 采用组播(224.0.0.10)或单播进行路由更新;3  EIGRP 的管理距离为90 或170;4 采用触发更新,减少带宽占用;5支持可变长子网掩码 (VLSM),默认开启自动汇总功能;6 对每一种网络协议,EIGRP 都维持独立的邻居表、拓扑表和路由表;7 EIGRP 使用Diffusing Update 算法(DUAL)来实现快速收敛.并确保没有路由环路;8 存储整个网络拓扑结构的信息,以便快速适应网络变化;9 支持等价和非等价的负载均衡;10 使用可靠传输协议(RTP)保证路由信息传输的可靠性
网络拓扑图:
 

菜鸟学习CCNA-EIGRP_职场

具体配置:
R1(config)#route eigrp 1                      // 启用EIGRP协议
R1(config-router)#no auto-summary            // 关闭自动汇总功能
R1(config-router)#network 1.1.1.0 0.0.0.255     // 通告这一网段
R1(config-router)#network 192.168.12.0
 
R2(config)#route eigrp 1
R2(config-router)#no auto-summary
R2(config-router)#network 192.168.12.0
R2(config-router)#network 192.168.23.0
 
R3(config)#route eigrp 1
R3(config-router)#no auto-summary
R3(config-router)#network 192.168.23.0
R3(config-router)#network 192.168.34.0
附注:EIGRP 协议在通告网段时,如果是主类网络(即标准A、B、C 类的网络,或者说没有划分子网的网络),只需输入此网络地址;如果是子网的话,则最好在网络号后面写子网掩码或者反掩。
检测配置:
R1#show ip rotue
     1.0.0.0/24 is subnetted, 1 subnets
C       1.1.1.0 is directly connected, FastEthernet0/1
D    3.0.0.0/8 [90/21538560] via 192.168.12.2, 01:21:52, Serial0/0
C    192.168.12.0/24 is directly connected, Serial0/0
D    192.168.23.0/24 [90/21024000] via 192.168.12.2, 01:26:14, Serial0/0
D    192.168.34.0/24 [90/21536000] via 192.168.12.2, 01:23:42, Serial0/0
以上输出表明路由器R1 通过EIGRP 学到了3 条EIGRP 路由条目,管理距离是90; EIGRP 协议代码用字母“D”表示,如果通过重分布方式进入EIGRP 网络的路由条目,默认管
理距离为170,路由代码用“D EX”表示,也说明EIGRP 路由协议能够区分内部路由和外部
路由。
或者可以是使用“ping”命令检测:
PC0>ping 3.3.3.3
Pinging 3.3.3.3 with 32 bytes of data:
Reply from 3.3.3.3: bytes=32 time=172ms TTL=124
Reply from 3.3.3.3: bytes=32 time=157ms TTL=124
Reply from 3.3.3.3: bytes=32 time=157ms TTL=124
Reply from 3.3.3.3: bytes=32 time=156ms TTL=124
Ping statistics for 3.3.3.3:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 156ms, Maximum = 172ms, Average = 160ms