EIGRP基本配置
EIGRP实验配置过程详解

实验环境说明:1.将路由器R1的Fa0/0端口配置ip:172.16.0.1/24;S1/2端口配置ip:192.168.1.1/242.将路由器R2的Fa0/0端口配置ip:192.168.3.2/24;S1/2端口配置ip:192.168.1.2/243.将路由器R3 的Fa0/0端口配置ip:172.16.0.3/244.将交换机SW1分别划分两个VLAN2、VLAN3,将端口Fa1/13、Fa1/15划入VLAN2,将端口Fa1/14划入VLAN3实验结果:要求路由器间两两可以互相通信配置过程详解:交换机SW1的配置清单:1.首先禁用错误命令当域名解析和关闭超时退出控制台:SW1(config)#no ip domain-looSW1(config)#line con 0SW1(config-line)#no exec-tSW1(config-line)#exit2.划分VLAN:SW1#vlan dataSW1(vlan)#vlan 2SW1(vlan)#vlan 3SW1(vlan)#exit3.将Fa1/13端口设为全双工模式,并划入VLAN2:SW1(config)#int fa1/13SW1(config-if)#speed 100SW1(config-if)#duplex fullSW1(config-if)#sw mod accSW1(config-if)#sw acc vlan 2SW1(config-if)#exit4.将Fa1/15端口设为全双工模式,并划入VLAN2:SW1(config)#int fa1/15SW1(config-if)#speed 100SW1(config-if)#duplex fullSW1(config-if)#sw mod accSW1(config-if)#sw acc vlan 2SW1(config-if)#exit5.将Fa1/14端口设为全双工模式,并划入VLAN3:SW1(config)#int fa1/14SW1(config-if)#speed 100SW1(config-if)#duplex fullSW1(config-if)#sw mod accSW1(config-if)#sw acc vlan 3SW1(config-if)#exit路由器R1的配置清单:1.首先禁用错误命令当域名解析和禁用超时退出控制台:R1(config)#no ip domain-looR1(config)#line con 0R1(config-line)#no exec-tR1(config-line)#exit2.将Fa0/0端口设为全双工模式并配置ip:R1(config)#int fa0/0R1(config-if)#speed 100R1(config-if)#duplex fullR1(config-if)#ip add 172.16.0.1 255.255.255.0R1(config-if)#no shutR1(config-if)#exit3.为S1/2端口配置ip:R1(config)#int s1/2R1(config-if)#ip add 192.168.1.1 255.255.255.0R1(config-if)#no shutR1(config-if)#exit4.在路由器R1上配置EIGRP:R1(config)#router eigrp 100R1(config-router)#no auto-summaryR1(config-router)#network 172.16.0.1 0.0.0.0R1(config-router)#network 192.168.1.1 0.0.0.255R1(config-router)#exitR1(config)#exit路由器R2的配置清单:1.首先禁用错误命令当域名解析和禁用超时退出控制台:R2(config)#no ip domain-looR2(config)#line con 0R2(config-line)#no exec-tR2(config-line)#exit2.将Fa0/0端口设为全双工模式并配置ip:R2(config)#int fa0/0R2(config-if)#speed 100R2(config-if)#duplex fullR2(config-if)#ip add 192.168.3.2 255.255.255.0R2(config-if)#no shutR2(config-if)#exit3.为S1/2端口配置ip:R2(config)#int s1/2R2(config-if)#ip add 192.168.1.2 255.255.255.0R2(config-if)#no shutR2(config-if)#exit4.在路由器R2上配置EIGRP:R2(config)#router eigrp 100R2(config-router)#network 192.168.3.0 0.0.0.255R2(config-router)#network 192.168.1.0 0.0.0.255R2(config-router)#exitR2(config)#exit路由器R3的配置清单:1.首先禁用错误命令当域名解析和禁用超时退出控制台:R3(config)#no ip domain-looR3(config)#line con 0R3(config-line)#no exec-tR3(config-line)#exit2.将Fa0/0端口设为全双工模式并配置ip:R3(config)#int fa0/0R3(config-if)#speed 100R3(config-if)#duplex fullR3(config-if)#ip add 172.16.0.3 255.255.255.0R3(config-if)#no shutR3(config-if)#exit3.在路由器R3上配置EIGRP:R3(config)#router eigrp 100R3(config-router)#no auto-summaryR3(config-router)#network 172.16.0.3 0.0.0.0R3(config-router)#exitR3(config)#exit验证EIGRP配置:查看每台路由器的邻居表:#show ip eigrp neiR1的邻居表:R1#show ip eigrp neiIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq(sec) (ms) Cnt Num1 172.16.0.3 Fa0/0 11 00:00:48 168 1008 0 40 192.168.1.2 Se1/2 14 00:25:23 244 1464 0 3R2的邻居表:R2#show ip eigrp neiIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq(sec) (ms) Cnt Num0 192.168.1.1 Se1/2 14 00:28:34 195 1755 0 5R3的邻居表:R3r#show ip eigrp neiIP-EIGRP neighbors for process 100H Address Interface Hold Uptime SRTT RTO Q Seq(sec) (ms) Cnt Num0 172.16.0.1 Fa0/0 12 00:02:07 134 804 0 8实验的最终结果是每台路由器之间都可以ping通其他的路由器,实验过程到此结束。
路由协议EIGRP配置

路由协议EIGRP配置EIGRP(Enhanced Interior Gateway Routing Protocol)是一种基于距离矢量算法的内部网关路由协议,主要用于在大型企业网络中实现路由器之间的动态路由。
本文将介绍EIGRP的配置过程,以帮助读者更好地理解和应用该协议。
1. EIGRP的基本概念EIGRP是一种高效可靠的路由协议,具有以下特点:- 支持VLSM(可变长度子网掩码):可以根据网络需求分配不同的子网掩码。
- 支持CIDR(无类别域间路由):能够将多个连续的IP地址作为一个整体进行路由计算。
- 支持自动汇总:能够将多个子网自动合并为一个超网,减小路由表的规模。
- 支持无环路:使用DUAL(Diffusing Update Algorithm)算法,有效解决了路由循环的问题。
2. EIGRP的配置步骤在配置EIGRP之前,需要了解以下参数:- 自治系统号(AS number):EIGRP所在的自治系统号,范围为1~65535。
- 路由器ID:用于区分不同的路由器,可以是IP地址的一部分,也可以手动指定。
下面是EIGRP的配置步骤:步骤1:进入路由器配置模式```Router# configure terminal```步骤2:配置EIGRP进程和AS号```Router(config)# router eigrp <AS号>```步骤3:添加网络```Router(config-router)# network <网络地址>```此命令将指定哪些接口将被EIGRP协议使用。
可以指定单个IP地址、子网地址或主机地址。
步骤4:配置路由器ID(可选)```Router(config-router)# eigrp router-id <路由器ID>```使用此命令可以手动指定路由器ID,如果不手动指定,将使用默认的路由器ID。
步骤5:配置其他可选参数(可选)根据需要,可以配置其他参数,如带宽、延迟、可靠性等。
路由EIGRP配置

EIGRP的基本配置(1)掌握EIGRP路由协议的基本配置;(2)掌握EIGRP的通配符掩配置方法(3)掌握EIGRP的自动动汇总特性,以及如何关闭自动动汇总(4)掌握EIGRP的手工汇总(5 )掌握通过ip default-network命令配置EIGRP默认网络(6)理解可行距离FD、通告距离RD及其可行性条件FC(7)掌握EIGRP的认证的配置。
2.实验内容根据拓扑进行EIGRP路由协议的基本配置,自动动汇总、手工工汇总以及通告默认网络,同时,在配置的基础上,理解掌握EIGRP路由协议。
3.实验原理EIGRP是一种距离矢量路由协议(distance vector protocol)。
EIGRP使用了一种称为扩散更新算法DUAL,在多台路由器之间通过一种并行的方式执行路由的计算,从而保持尤环路的拓扑时可以随时获得较快的收敛。
EIGRP的路由更新,任然是把距离矢量传递给它直连的邻居。
但是这种更新并非周期性的、是部分部分新,所以比典型的距离矢觉路由协议使川的带宽要少得多。
EIGRP是无类路由协议;支持认证MD5加密与明文认证两种方式;支持多协议议,如IP、IPX、AppleTalk。
不足之处在于EIGRP路由协议是思科专有的,只能在纯思科设备的网络中使用o下面是一些验证命令:Show ip eigrp neighbors 用于显示运行eigrp路由协议的邻居关系Show ip eigrp toplogy 显示 eigrpl路由协议的拓扑表Show ip route eigrpl 显示eigrpl路由协议的路由表how ip eigrp traffic 显示 eigrp的通信状态4.实验环境与网络拓扑实验拓扑图:Eigrp配置:A(config)#router eigrp 1A(config-router)#network 202.196.32.0A(config-router)#network 192.168.1.0A(config-router)#network 192.168.2.0A(config)#ip route 0.0.0.0 0.0.0.0 s0/0/0A(config)#router eigrp 1A(config-router)#redistribute staticB(config)#router eigrp 1B(config-router)#no auto-summaryB(config-router)#network 192.168.1.0B(config-router)#network 172.16.1.0B(config-router)#network 192.168.3.0B(config-router)#passive-interface f0/1C(config)#router eigrp 1C(config-router)#no auto-summaryC(config-router)#network 192.168.2.0C(config-router)#network 192.168.3.0C(config-router)#network 172.16.2.0C(config-router)#passive-in f0/1 //更新不往f0/1上发D(config)#router eigrp 1D(config-router)#network 202.196.32.0路由表情况:A172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksD 172.16.0.0/16 [90/30720] via 192.168.1.2, 00:15:23, FastEthernet0/0 D 172.16.2.0/24 [90/30720] via 192.168.2.3, 00:13:36, FastEthernet0/1 C 192.168.1.0/24 is directly connected, FastEthernet0/0C 192.168.2.0/24 is directly connected, FastEthernet0/1D 192.168.3.0/24 [90/2172416] via 192.168.2.3, 00:13:49, FastEthernet0/1[90/2172416] via 192.168.1.2, 00:12:48, FastEthernet0/0 202.196.32.0/24 is variably subnetted, 2 subnets, 2 masksD 202.196.32.0/24 is a summary, 00:19:16, Null0C 202.196.32.0/30 is directly connected, Serial0/0/0S* 0.0.0.0/0 is directly connected, Serial0/0/0B172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksC 172.16.0.0/16 is directly connected, FastEthernet0/1D 172.16.2.0/24 [90/33280] via 192.168.1.1, 00:13:36, FastEthernet0/0C 192.168.1.0/24 is directly connected, FastEthernet0/0D 192.168.2.0/24 [90/30720] via 192.168.1.1, 00:15:33, FastEthernet0/0 C 192.168.3.0/24 is directly connected, Serial0/0/0D 202.196.32.0/24 [90/2172416] via 192.168.1.1, 00:15:33, FastEthernet0/0D*EX 0.0.0.0/0 [170/6780416] via 192.168.1.1, 00:15:33, FastEthernet0/0C172.16.0.0/16 is variably subnetted, 2 subnets, 2 masksD 172.16.0.0/16 [90/33280] via 192.168.2.1, 00:13:54, FastEthernet0/0C 172.16.2.0/24 is directly connected, FastEthernet0/1D 192.168.1.0/24 [90/30720] via 192.168.2.1, 00:13:54, FastEthernet0/0C 192.168.2.0/24 is directly connected, FastEthernet0/0C 192.168.3.0/24 is directly connected, Serial0/0/0D 202.196.32.0/24 [90/2172416] via 192.168.2.1, 00:13:54, FastEthernet0/0D*EX 0.0.0.0/0 [170/6780416] via 192.168.2.1, 00:13:54, FastEthernet0/0实验分析及调试:有了上次的经验后,这次在D上用EIGRP将202的网络通配出去,当时在配置过程中还是出现了一些小问题,在EIGRP协议中将默认路由发出去,和以往的RIP,OSPF有所不同。
EIGRP的基本配置

Configuring Basic EIGRP 实验目的:1、掌握EIGRP的基本配置。
2、掌握EIGRP的通配符掩配置方法。
3、掌握EIGRP的自动汇总特性,以及如何关闭自动汇总。
4、掌握EIGRP的手工汇总。
实验拓扑图:R1(config)#inter lo 0R1(config-if)#ip add 10.1.1.1 255.255.255.0R1(config-if)#inter lo 1R1(config-if)#ip add 10.1.2.1 255.255.255.0R1(config-if)#inter lo 2R1(config-if)#ip add 10.1.3.1 255.255.255.0R1(config-if)#inter lo 4R1(config-if)#ip add 10.1.4.1 255.255.255.0R1(config-if)#inter s1/1R1(config-if)#ip add 172.16.1.1 255.255.255.252R1(config-if)#router eigrp 50R1(config-router)#net 10.1.1.0R1(config-router)#net 10.1.2.0R1(config-router)#net 10.1.3.0R1(config-router)#net 10.1.4.0R1(config-router)#net 172.16.0.0R2(config)#inte lo 0R2(config-if)#ip add 131.131.1.1 255.255.0.0R2(config-if)#inter s1/0R2(config-if)#ip add 172.16.1.2 255.255.255.252R2(config-if)#inter s1/1R2(config-if)#ip add 172.16.1.5 255.255.255.252R2(config-if)#router eigrp 50R2(config-router)#net 131.131.0.0R2(config-router)#net 172.16.0.0 \\默认情况下,EIGRP在配置路由器时,可以直接network主类网络号。
EIGRP协议基本配置和常用命令

配置EIGRP协议#c o n f t#r o u t e r e i g r p100*E I G R P需要配置A S号**A S标识了属于一个互连网络中的所有路由器,**同一个A S内的不同路由如果想要互相学习路由信息,必须配置相同的A S号。
* #n e t1.1.1.00.0.0.255*宣告接口,使用的是反掩码形式,如果不输入反掩码,路由默认会使用接口的主类网络号* "n e t12.1.1.0"等价于"n e t12.0.0.00.255.255.255"#n e t0.0.0.0*如果路由的所有接口都宣告进E I G R P进程,则可以使用"n e t0.0.0.0"一次性宣告所有接口*查询EIGRP 在running-config中的配置明细#s h r u n n i n g-c o n f i g|s e c t i o n r e ir o u t e r e i g r p100n e t w o r k1.1.1.00.0.0.255n e t w o r k12.1.1.00.0.0.255n e t w o r k21.1.1.00.0.0.255a u t o-s u m m a r yEIGRP表EIGRP中有三张表:邻居表、路由表、拓扑表邻居表(Neighbor Table)在EIGRP中,两台相邻路由器要建立起邻接关系需要满足两个条件:1)具有相同的AS号; 2)具有相匹配的K值;可以通过下面的命令来查看EIGRP默认的K 值:#s h o w i p p r o t o c o l s/*A S=100*/u t e rf a c ee l l oC i s21.0.0.0/8i s v a r i a b l y s u b n e t t e d,2s u b n e t s,2m a s k sC21.1.1.0/24i s d i r e c t l y c o n n e c t e d,F a s t E t h e r n e t1/0D21.0.0.0/8i s a s u m m a r y,00:14:58,N u l l012.0.0.0/8i s v a r i a b l y s u b n e t t e d,2s u b n e t s,2m a s k sC12.1.1.0/24i s d i r e c t l y c o n n e c t e d,S e r i a l0/0D12.0.0.0/8i s a s u m m a r y,00:15:00,N u l l0路由表中的"D1.0.0.0/8i s a s u m m a r y,01:40:23,N u l l0"是一条自动汇总产生的路由,E I G R P和R I P默认都在主网边界自动汇总,不同的是E I G R P会在本地产生一条自动汇总后的路由,目标指向空接口(N u l l0)R1发现路由表中有一条1.0.0.0/8的条目能够匹配(子网掩码最长匹配,这个条目比默认路由子网掩码长,所以优先选取)发往空接口的数据会被丢弃。
eigrp配置的综合实训

eigrp配置的综合实训
EIGRP(Enhanced Interior Gateway Routing Protocol)是一个用于IP网络的动态路由协议,可以帮助网络管理员轻松管理和配置路由。
以下是EIGRP配置综合实训的步骤:
1. 配置基本网络设置:
- 配置主机IP地址和子网掩码。
- 配置路由器的主机名。
2. 启用EIGRP协议:
- 在路由器上启用EIGRP进程。
- 配置EIGRP AS号码(Autonomous System)。
3. 配置EIGRP邻居关系:
- 配置路由器之间的邻居关系。
- 使用neighbor指令指定邻居路由器的IP地址。
4. 配置EIGRP网络:
- 使用network指令配置使用EIGRP协议的网络。
- 确保所有需要使用EIGRP协议的网络都被包含在内。
5. 配置EIGRP路由策略:
- 配置路由器的EIGRP路由策略。
- 使用路由地图(Route Map)来控制通告的路由。
6. 验证EIGRP配置:
- 使用show命令验证EIGRP邻居关系是否建立。
- 使用show ip route命令验证路由表中是否包含正确的EIGRP路由。
7. 测试EIGRP实时性和容错性:
- 运行traceroute命令验证EIGRP路由。
- 模拟故障,并观察EIGRP协议重新计算路由的能力。
在进行综合实训之前,建议提前了解EIGRP协议的基本概念和相关配置命令。
另外,确保使用网络仿真工具(如Packet Tracer)或实际物理设备进行实验,以便实际操作和验证配置的效果。
EIGRP

EIGRP 邻居关系建⽴条件实验基本配置:R2:interface Loopback0ip address 2.2.2.2 255.255.255.0!interface Ethernet0ip address 192.168.1.1 255.255.255.0router eigrp 1network 2.0.0.0network 192.168.1.0no auto-summaryR3:interface Loopback0ip address 3.3.3.3 255.255.255.0!interface Ethernet0ip address 192.168.1.2 255.255.255.0router eigrp 1network 3.0.0.0network 192.168.1.0no auto-summary在对以上配置不进⾏更改的情况下,是两个路由器是可以建⽴邻居关系的,因为两个路由器建⽴邻接关系的条件都匹配。
R2#show ip eigrp neighborsIP-EIGRP neighbors for process 1H Address Interface Hold Uptime SRTT RTO Q Seq(sec) (ms) Cnt Num0 192.168.1.2 Et0 11 00:23:41 12 200 0 10现在将R2的AS号改⼀下,看邻居关系是否还存在:R2(config)#no router eigrp 1R2(config)#router eigrp 2R2(config-router)#net 192.168.1.0R2(config-router)#net 2.2.2.0R2(config-router)#no auto现在可以看到两台路由器已经失去了邻接关系R2#show ip eigrp neiIP-EIGRP neighbors for process 2现在再看下认证对邻居关系的影响:R2(config)#key chain 1R2(config-keychain)#key 12R2(config-keychain-key)#key-string ciscoR2(config-keychain-key)#exitR2(config-keychain)#exitR2(config)#in e0R2(config-if)#ip authentication mode eigrp 1 md5R2(config-if)#ip authentication key-chain eigrp 1 1R3(config)#key chain 1R3(config-keychain)#key 12R3(config-keychain-key)#keyR3(config-keychain-key)#key-string cisco1R3(config-if)#ip authentication mode eigrp 1 md5R3(config-if)#ip authentication key-chain eigrp 1 1以上将R2和R3的认证密钥设置的不匹配,可以看到两台路由器已经失去了邻居关系:R3#show ip eigrp neiIP-EIGRP neighbors for process 1R3(config)#key chain 1R3(config-keychain)#key 12R3(config-keychain-key)#keyR3(config-keychain-key)#key-string ciscoR3(config-keychain-key)#end现在将两端的认证密钥设置的⼀样,可以看到两台路由器的邻居关系⼜重新建⽴起来了。
EIGRP 协议的配置

【实验内容】
配置EIGRP协议
【实验环境】
1、硬件环境
路由器4 台,同步串行线3 条
2、软件环境
WindowsXP 操作系统、pcaket tracer 仿真软件3、拓扑结构图
【实验步骤】
1、配置并打开各路由器的IP 及时钟频率
2、配置路由协议EIGRP
3、测试网络连通性
4、查看路由协议、路由表、邻居表和拓扑表
1) 查看路由协议R1#show ip protocols
2) 查看路由表R1#show ip route
3) 查看eigrp 邻居表R2#show ip eigrp neighbors
【实验总结】
通过本实验我们掌握了EIGRP的基本配置,怎样启动EIGRP路由进程,如何进行查看邻居表、路由协议以及路由表的方法和相关信息。
了解到EIGRP是一种混合型的路由协议,具有链路状态和距离矢量路由协议的优点,能够快速收敛和易于配置等优点。
本实验为我们以后的学习打下了坚实的基础。
总结实验基本EIGRP配置

基本EIGRP 配置实验学习目标在路由器上进行基本配置任务配置并激活接口。
在所有路由器上配置EIGRP 路由。
使用show 命令检验EIGRP 路由。
禁用自动总结。
配置手动总结。
记录EIGRP 配置。
场景在本实验练习中,您将学习如何使用拓扑图中所示的网络配置路由协议EIGRP。
将在路由器R2 上使用一个环回地址来模拟通向ISP的连接,所有发往本地网络外的通信都将被发送到该地址。
某些网段使用VLSM 划分了子网。
EIGRP 是一种无类路由协议,可用于在路由更新中提供子网掩码信息。
这将使VLSM 子网信息可传播到整个网络。
任务1:准备网络。
步骤1:根据拓扑图所示完成网络电缆连接。
任务2:进行基本路由器配置。
根据下列指导原则在路由器R1、R2 和R3 上进行基本配置:配置路由器主机名。
配置执行模式口令。
任务3:配置并激活串行地址和以太网地址。
步骤1:配置路由器R1、R2 和R3 的接口。
使用拓扑图下方的表中的IP地址在路由器R1、R2 和R3 上配置接口。
步骤2:检验IP 地址和接口。
使用show ip interface brief 命令检验IP地址是否正确以及接口是否已激活。
完成后,确保将运行配置保存到路由器的NVRAM 中。
步骤3:配置PC1、PC2 和PC3 的以太网接口。
使用拓扑图下方的表格中的IP地址和默认网关配置PC1、PC2 和PC3 的以太网接口。
任务4:在路由器R1 上配置EIGRP。
步骤1:启用EIGRP。
在路由器R1 上,在全局配置模式下使用router eigrp 命令启用EIGRP。
输入进程ID 1 作为autonomous-system 参数值。
R1(config)#router eigrp 1步骤2:配置有类网络172.16.0.0。
一旦您处于EIGRP 配置子模式后,请将有类网络172.16.0.0 配置为包括在从R1 发出的EIGRP 更新中。
R1(config-router)#network 172.16.0.0该路由器将开始通过属于网络172.16.0.0 的每个接口发出EIGRP 更新消息。
Eigrp基本配置

Eigrp基本配置由于属于基本协议,使用思科的Cisco Packet Tracer Instructor软件进行模拟。
1.首先设置几台终端的和路由器的IP地址。
(1)PC0 Ip address: 192.168.1.2 gateway:192.168.1.1(网关)PC1 ip address:192.168.1.3 gateway:192.168.1.1PC2 ip address:192.168.4.2 gateway:192.168.4.1PC3 ip address:192.168.4.3 gateway:192.168.4.1(2)设置几台路由器的端口IP地址R0设置f0/0:192.168.1.1Router>enableRouter#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#interface f0/0Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdownRouter(config-if)#exitf0/1:192.168.2.1Router(config)#interface f0/1Router(config-if)#ip address 192.168.2.1 255.255.255.0 Router(config-if)#no shutdown以下几个路由器以此分别设置为R1 f0/0:192.168.2. 2 f0/1:192.168.3.1R2 f0/0:192.168.3.2 f0/1:192.168.4.12.给路由器配置EIGRP协议在特权模式下输入R0:Router(config)#router eigrp 10Router(config-router)#network 192.168.1.0 0.0.0.255Router(config-router)#network 192.168.2.0 0.0.0.255其中192.168.1.0和192.168.2.0是与路由器R0相连的网段,0.0.0.255是这两个网段地址子网掩码的反码(反码等于255.255.255.255减去其子网掩码)在指令router eigrp 10中,10表示自治域号autonomous-system,autonomous-system可以随意建立,并非实际意义上的autonomous-system,但运行EIGRP的路由器要想交换路由更新信息其autonomous-system需相同。
CCIE学习(34)——EIGRP配置

CCIE学习(34)——EIGRP配置●配置实例配置目标:1)在所有接口上激活EIGRP(R1,R2,R4,R5)。
2)设置K值,使metric只考虑延迟。
3)配置R5为EIGRP桩路由器。
4)使R2的LAN接口使用的Hello和Hold定时器值分别为2和6。
5)配置R4以使其75%的接口带宽用于EIGRP更新。
6)广播R4的LAN子网,但在该LAN中不发送和接收EIGRP更新。
具体配置:1)R1的配置:router eigrp 1network 172.31.0.0metric weights 0 0 0 1 0 02)R2的配置:interface FastEthernet0/0ip hello-interval eigrp 1 2ip hold-time eigrp 1 6!router eigrp 1network 10.0.0.0network 172.31.11.2 0.0.0.0network 172.31.24.0 0.0.1.255metric weights 0 0 0 1 0 03)R4的配置:interface Serial0/0.1 point-to-pointbandwidth 64ip bandwidth-percent eigrp 1 150!router eigrp 1passive-interface Ethernet0/0network 172.31.0.0metric weights 0 0 0 1 0 04)R5的配置:router eigrp 1network 172.31.0.0metric weights 0 0 0 1 0 0eigrp stub connected summary●eigrp stub命令的选项:1)connected:广播连通的路由,仅限于那些匹配network命令的接口。
2)summary:广播自动汇总或静态配置汇总的路由。
13.动态路由EIGRP的配置

配置EIGRP:配置EIGRP基本步骤:配置R1:router eigrp 100 (注:R1 R2 R3必须要运行在同一个AS,才可以建立邻居和学习路由) network 11.1.1.0 0.0.0.255network 12.1.1.0 0.0.0.255network 13.1.1.0 0.0.0.255no auto-summary 关门自动汇总配置R2:router eigrp 100network 12.1.1.0 0.0.0.255network 22.1.1.0 0.0.0.255network 23.1.1.0 0.0.0.255no auto-summary关门自动汇总配置R3:router eigrp 100network 13.1.1.0 0.0.0.255network 23.1.1.0 0.0.0.255network 33.1.1.0 0.0.0.255no auto-summary关门自动汇总常用调试命令:Show ip interface brie 查看接口基本参数Show int e0 查看E0查相关参数Sho int s0 查看S0查相关参数Sho int s1 查看S1查相关参数Show run 查看当前运行配置Show cdp neighbor 看CDP邻居Show ip route 查看路由表的内容Show ip protocol 查看当前运行的协议Show ip eigrp neighbor 查看EIGRP邻居Show ip eigrp top 查看EIGRP的拓扑信息Debug eigrp packet查看EIGRP的DEBUG信息用命令show ip route检查IP路由表的内容:r2#show ip route33.0.0.0/24 is subnetted, 1 subnetsD 33.1.1.0 [90/2195456] via 23.1.1.3, 00:07:03, Serial111.0.0.0/24 is subnetted, 1 subnetsD 11.1.1.0 [90/2195456] via 12.1.1.1, 00:07:01, Serial013.0.0.0/24 is subnetted, 1 subnetsD 13.1.1.0 [90/2681856] via 12.1.1.1, 00:07:04, Serial0[90/2681856] via 23.1.1.3, 00:07:04, Serial1在EIGRP中如果到达目标网络有多条路径且FD相等,会自己做负载均衡.EIGRP也可实现到达目标网络的不等代价的负载均衡.必须设置variance值.例如在本例中:要实现R2到达11.1.1.0/24的负载均衡:r2#show ip eigrp topologyIP-EIGRP Topology Table for AS(100)/ID(23.1.1.2)Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,r - reply Status, s - sia StatusP 11.1.1.0/24, 1 successors, FD is 2195456via 12.1.1.1 (2195456/281600), Serial0 到达11.1.1.0/24没有FSP 12.1.1.0/24, 1 successors, FD is 2169856via Connected, Serial0P 13.1.1.0/24, 2 successors, FD is 2681856via 23.1.1.3 (2681856/2169856), Serial1via 12.1.1.1 (2681856/2169856), Serial0P 22.1.1.0/24, 1 successors, FD is 281600via Connected, Ethernet0P 23.1.1.0/24, 1 successors, FD is 2169856via Connected, Serial1P 33.1.1.0/24, 1 successors, FD is 2195456via 23.1.1.3 (2195456/281600), Serial1在R3 S0上修改delay值使得R3宣告给R2的AD小于R2到达11.1.1.0/24的FD,这样R3就成为R2到达11.1.1.0/24的FS.r3(config)#interface serial 0r3(config-if)#delay 20r2#sho ip eigrp topologyIP-EIGRP Topology Table for AS(100)/ID(23.1.1.2)Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,r - reply Status, s - sia StatusP 11.1.1.0/24, 1 successors, FD is 2195456via 12.1.1.1 (2195456/281600), Serial0via 23.1.1.3 (2200576/1688576), Serial1 R3成为R2到达11.1.1.0/24的FSP 12.1.1.0/24, 1 successors, FD is 2169856via Connected, Serial0P 13.1.1.0/24, 1 successors, FD is 2174976via 23.1.1.3 (2174976/1662976), Serial1via 12.1.1.1 (2681856/2169856), Serial0P 22.1.1.0/24, 1 successors, FD is 281600via Connected, Ethernet0P 23.1.1.0/24, 1 successors, FD is 2169856via Connected, Serial1P 33.1.1.0/24, 1 successors, FD is 2195456via 23.1.1.3 (2195456/281600), Serial1通过在R2上设置variance值实现R2到达11.1.1.0/24的不等代价负载均衡.r2(config)#router eigrp 100r2(config-router)#var2(config-router)#variance 2r2#show ip routeD 11.1.1.0 [90/2200576] via 23.1.1.3, 00:00:00, Serial1[90/2195456] via 12.1.1.1, 00:00:00, Serial0R2到达目标网络11.1.1.0/24实现了不等代价的负载均衡.r2#ping 33.1.1.3Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 33.1.1.3, timeout is 2 seconds:!!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 8/8/12 msr2#ping 11.1.1.1Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to 11.1.1.1, timeout is 2 seconds: !!!!!Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms r2#常用调试命令:Show ip interface brie 查看接口基本参数Show int e0 查看E0查相关参数Sho int s0 查看S0查相关参数Sho int s1 查看S1查相关参数Show run 查看当前运行配置Show cdp neighbor 看CDP邻居Show ip route 查看路由表的内容Show ip protocol 查看当前运行的协议Show ip eigrp neighbor 查看EIGRP邻居Show ip eigrp top 查看EIGRP的拓扑信息Debug eigrp packet查看EIGRP的DEBUG信息实例10:配置EIGRP的手工汇总如下图:在R3的S0的手工汇总配置R1:router eigrp 100network 11.1.1.0 0.0.0.255network 12.1.1.0 0.0.0.255network 13.1.1.0 0.0.0.255no auto-summary配置R2:router eigrp 100network 12.1.1.0 0.0.0.255network 22.1.1.0 0.0.0.255no auto-summary配置R3:r3(config)#int ethernet 0 为了实现汇总目的,要在E0口上增加几个辅助地址r3(config-if)#ip address 33.1.2.3 255.255.255.0 secondaryr3(config-if)#ip address 33.1.3.3 255.255.255.0 secondaryr3(config-if)#ip address 33.1.4.3 255.255.255.0 secondaryr3(config-if)#ip address 33.1.3.3 255.255.255.0 secondaryrouter eigrp 100network 13.1.1.0 0.0.0.255network 33.1.1.0 0.0.0.255network 33.1.2.0 0.0.0.255network 33.1.3.0 0.0.0.255network 33.1.4.0 0.0.0.255network 33.1.5.0 0.0.0.255no auto-summary没有配置手工汇总用在R2的可以看到5条明细路由r2#sho ip routeD 33.1.1.0 [90/2707456] via 12.1.1.1, 00:06:40, Serial0D 33.1.2.0 [90/2707456] via 12.1.1.1, 00:03:41, Serial0D 33.1.3.0 [90/2707456] via 12.1.1.1, 00:03:45, Serial0D 33.1.4.0 [90/2707456] via 12.1.1.1, 00:00:09, Serial0D 33.1.5.0 [90/2707456] via 12.1.1.1, 00:03:33, Serial0在R3的S0上手工配置汇总:r3(config-if)#ip summary-address eigrp 100 33.1.0.0 255.255.248.0在R3的S0上手工配置汇总后,在R2上只看到汇总路由,达到了汇总目的: r2#show ip route33.0.0.0/21 is subnetted, 1 subnetsD 33.1.0.0 [90/2707456] via 12.1.1.1, 00:01:42, Serial0问:在R3上手工汇总后自动产生Null0的路由,是什么意思?答:NULL0路由避免路由环路.R3#show ip routeD 33.1.0.0/21 is a summary, 00:03:34, Null0常用调试命令:Show ip interface brie 查看接口基本参数Show int e0 查看E0查相关参数Sho int s0 查看S0查相关参数Sho int s1 查看S1查相关参数Show run 查看当前运行配置Show cdp neighbor 看CDP邻居Show ip route 查看路由表的内容Show ip protocol 查看当前运行的协议Show ip eigrp neighbor 查看EIGRP邻居Show ip eigrp top 查看EIGRP的拓扑信息Debug eigrp packet查看EIGRP的DEBUG信息。
实验1 EIGRP基本配置

5.2 实验1:EIGRP基本配置1.实验目的通过本实验可以掌握①在路由器上启动EIGRP路由进程;②启用参与路由协议的接口,并且通告网络;③EIGRP度量值的计算方法;④可行距离(FD)、通告距离(RD)以及可行性条件(FC);⑤邻居表、拓扑以及路由表的含义;⑥查看和调试EIGRP路由协议相关信息。
2.实验拓扑本实验拓扑结构如图5-1所示。
图5-1 EIGRP基本配置3.实验步骤(1)步骤1:配置路由器R1R1(config)#router eigrp 1R1(config-router)#no auto-summaryR1(config-router)#network 1.1.1.0 0.0.0.255R1(config-router)#network 192.168.12.0(2)步骤2:配置路由器R2R2(config)#router eigrp 1R2(config-router)#no auto-summaryR2(config-router)#network 192.168.12.0R2(config-router)#network 192.168.23.0(3)步骤3:配置路由器R3R3(config)#router eigrp 1R3(config-router)#no auto-summaryR3(config-router)#network 192.168.23.0R3(config-router)#network 192.168.34.0(4)步骤4:配置路由器R4R4(config)#router eigrp 1R4(config-router)#no auto-summaryR4(config-router)#network 4.4.4.0 255.255.255.0R4(config-router)#network 192.168.34.0【说明】EIGRP协议在通告网段时,如果是主类网络(即标准A、B、C类的网络,或者说没有划分子网的网络),只需输入此网络地址;如果是子网,则最好在网络号后面写子网掩码,或者反掩码,这样可以避免将所有的子网都加入EIGRP进程中。
实验EIGRP默认网络的配置

实验EIGRP默认网络的配置R1、R2、R3 运行EIGRP,用ip default-network 命令使EIGRP 传递缺省路由,各路由器的各环回口之间互相路由可达。
实验步骤(1) 内部网络 R1、R2、R3 配置EIGRP。
R1配置R1(config)#router eigrp 10R1(config-router)#no auto-summaryR1(config-router)#network 11.1.1.0 0.0.0.255R1(config-router)#network 12.1.1.0 0.0.0.255R2 配置R2(config)#router eigrp 10R2(config-router)#no auto-summaryR2(config-router)#network 22.1.1.0 0.0.0.255R2(config-router)#network 12.1.1.0 0.0.0.255R2(config-router)#network 23.1.1.0 0.0.0.255R3 配置R3(config)#router eigrp 10R3(config-router)#no auto-summaryR3(config-router)#network 33.1.1.0 0.0.0.255R3(config-router)#network 23.1.1.0 0.0.0.255在各台路由器上查看拓扑表、路由表,并互相ping测试自治域内各路由器环回口的连通性。
(2) R3 做内部网络的出口路由器,R4 做外部路由器,分别配置往返内外网的静态路由。
R1 配置R3(config)#ip route 0.0.0.0 0.0.0.0 34.1.1.4R4 配置R4(config)#ip route 11.1.1.0 255.255.255.0 34.1.1.3R4(config)#ip route 22.1.1.0 255.255.255.0 34.1.1.3R4(config)#ip route 33.1.1.0 255.255.255.0 34.1.1.3测试 R1、R2、R3 到外部网络的连通性。
EIGRP协议配置

实验四EIGRP协议的配置一、实验目的:1.掌握在路由器上配置EIGRP路由协议的方法2.理解默认网关、默认路由的意义3.掌握查看路由表和端口的命令4.理解路由表和端口中各内容的含义5.理解自治系统的含义与使用方法二、实验环境:(自己连接线缆)1、组网图2、IP地址规划PC_A:Ip地址:192.168.1.1子网掩码:255.255.255.0网关:192.168.1.254PC_B:Ip地址:192.168.3.1子网掩码:255.255.255.0网关:192.168.3.254PC_C:Ip地址:192.168.3.2子网掩码:255.255.255.0网关:192.168.3.254PC_D:Ip地址:192.168.5.1子网掩码:255.255.255.0网关:192.168.5.254Router_A:F0/1:192.168.1.254子网掩码:255.255.255.0F0/0:192.168.2.1子网掩码:255.255.255.0S0/0:192.168.4.1子网掩码:255.255.255.0Router_B:F0/0:192.168.3.254子网掩码:255.255.255.0S0/0:192.168.7.2子网掩码:255.255.255.0Router_C:F0/0:192.168.5.254子网掩码:255.255.255.0F0/1:192.168.6.1子网掩码:255.255.255.0S0/0:192.168.4.2子网掩码:255.255.255.0Router_D:F0/0:192.168.6.2子网掩码:255.255.255.0S0/0:192.168.7.1子网掩码:255.255.255.0三、实验内容及要求:1.网络环境配置与连接将给定的实验设备按实验拓朴进行连接,自己选择使用的网络连接线的类型对实验拓朴进行IP地址规划,并画出实验拓朴图,详细并标明IP地址规划注意:路由器的控制端口(Console)与PC机的串口(COM1或COM2)使用Console控制线 路由器计算机的通过网络接口的连接使用RJ-45的网线,应选择交叉线。
实验4EIGRP协议配置实验

实验4:EIGRP协议配置实验4.1 实验相关知识(1)EIGRP协议是思科专属协议,其余厂商设备不支持EIGRP。
(2)EIGRP一种增强型距离矢量路由协议,采用复合度量,默认使用带宽和延时,带宽使用的是到达目标网络链路中的最低带宽,延时是到达目标网络中每条链路的延时总和。
(3)在Cisco设备上,EIGRP在动态路由协议中的优先级较高,管理距离为90,另外EIGRP的总结路由管理距离为5,外部引入路由的管理距离为170,实验中这三类都会出现。
(4) EIGRP的配置比较简单,主要是在路由上通告自己想要广播的网络,并可以采用通配符掩码来限定通告网络的范围,当然也可以在必要的接口上关闭网络通告。
(6)EIGRP支持手动汇总,基于接口的手动汇总可以将本地可汇总多个网络路由汇总成较少条目的汇总路由更新出去,从而减少其它设备学习到的路由条目。
(5) EGIRP配置中常见的错误包括EIGRP自治系统号不一致、路由通告错误、自动汇总错误等,可使用show命令查看并纠正。
4.2 实验目的及要求(1) 掌握动态路由协议EIGRP工作原理,理解EIGRP的DUAL算法,掌握可行性条件的判断、路由表项、拓扑表项的生成。
(2) 掌握EIGRP的基本配置,理解并掌握EIGRP的手动汇总配置,掌握EIGRP的静态路由重分布。
(3) 了解EIGRP的参数调整,包括K值、带宽、计时调整等。
(4) 掌握如何检查EIGRP路由和排除路由故障。
4.3 实验内容及步骤第一部分路由器基本配置第一步:完成设备基本配置根据拓扑图4-1,检查设备连接,完成设备更名,enable、VTY口令配置。
参考指令如下:Router>enableRouter# configure terminalRouter(config)# hostname hostname //请参照拓扑图4-1中设备上的字母提示来命名Router(config)# enable secret ciscoRouter(config)# line vty 0 15Router(config-line)# password ciscoRouter(config-line)# loginRouter(config-line)# exitRouter1(config)# service password-encryption图4-1 RIP实验拓扑结构图说明:1、此处Router3模拟的外网接口Fa0/1也接入交换机即可,2、Loopback接口为网络测试用的回环接口,是虚拟的接口,主要用来测试网络,不需要网络线缆连接第二步:完成设备接口地址及描述的配置完成设备接口配置,包括接口IP地址配置、接口描述和接口开启。
实验17 EIGRP的基本配置

实验十七 EIGRP的基本配置一.实验目的通过本实验可以掌握:(1)在路由器上启动EIGRP 路由进程(2)启用参与路由协议的接口,并且通告网络(3)邻居表、拓扑表以及路由表的含义(4)查看和调试EIGRP 路由协议相关信息二、实验要求:1):知道什么是EIGRP和相关术语2): 知道如何配置EIGRP三、实验内容:1、通过拓朴图来研究EIGRP,使得两了不同网段之间能够通信四、实验步聚实验拓朴:1).配置R1、R2和R3各个接口上IP 地址R1(config)#int s0/0R1(config-if)#ip add 192.168.1.1 255.255.255.0R1(config-if)#clock rate 64000R1(config-if)#no shR1(config)#int lo0R1(config-if)#ip add 1.1.1.1 255.255.255.0R2(config)#int s0/0R2(config-if)#ip add 192.168.1.2 255.255.255.0R2(config-if)#no shR2(config)#int s0/1R2(config-if)#ip add 192.168.2.1 255.255.255.0R2(config-if)#clock rate 64000R2(config-if)#no shR3(config)#int s0/1R3(config-if)#ip add 192.168.2.2 255.255.255.0R3(config-if)#no shR3(config)#int lo0R3(config-if)#ip add 2.2.2.2 255.255.255.02).在R1、R2和R3上配置EIGRPR1(config)#router eigrp 100R1(config-router)#net 192.168.1.0R1(config-router)#net 1.1.1.0R2(config)#router eigrp 100R2(config-router)#net 192.168.1.0R2(config-router)#net 192.168.2.0R3(config)#router eigrp 100R3(config-router)#net 192.168.2.0R3(config-router)#net 2.2.2.03).查看路由信息R1#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default, U - per-user static routeo - ODR, P - periodic downloaded static routeGateway of last resort is not set1.0.0.0/8 is variably subnetted, 2 subnets, 2 masksC 1.1.1.0/24 is directly connected, Loopback0D 1.0.0.0/8 is a summary, 00:02:52, Null0D 2.0.0.0/8 [90/2809856] via 192.168.1.2, 00:00:39, Serial0/0C 192.168.1.0/24 is directly connected, Serial0/0D 192.168.2.0/24 [90/2681856] via 192.168.1.2, 00:00:45, Serial0/0可以看出R1的路由表把网络中所有路由信息都获取到了。
实训六 EIGRP的配置与调试

实训六EIGRP的配置与调试1. 实训目标在本实训中,我们将学会EIGRP的配置与调试。
2. 实训拓扑本实训所用网络拓扑见图1。
3. 实训要求我们要在各路由器上配置EIGRP,为了充分利用线路要求使用负载均衡,注意各线路上的带宽。
图1 拓扑结构图4. 实训步骤⑴在各路由器上进行各基本配置,如:路由器名称、接口的IP地址、时钟等。
⑵在各路由器进行EIGRP的基本配置:RouterA:RouterA(config)#int s0/0RouterA(config-if)#bandwidth 256RouterA(config-if)#int s0/1RouterA(config-if)#bandwidth 96RouterA(config-if)#exitRouterA(config)#router eigrp 100RouterA(config-router)#network 192.168.1.0 0.0.0.255 RouterA(config-router)#network 10.1.0.0 0.0.255.255 RouterA(config-router)#network 10.3.0.0 0.0.255.255 RouterB:RouterB(config)#int s0/0RouterB(config-if)#bandwidth 256RouterB(config-if)#int s0/1RouterB(config-if)#bandwidth 128RouterB(config-if)#exitRouterB(config)#router eigrp 100RouterB(config-router)#network 10.0.0.0 0.255.255.255 RouterC:RouterC(config)#int s0/0RouterC(config-if)#bandwidth 128RouterC(config-if)#int s0/1RouterC(config-if)#bandwidth 256RouterC(config-if)#exitRouterC(config)#router eigrp 100RouterC(config-router)#network 10.0.0.0 0.255.255.255 RouterC(config-router)#network 172.16.0.0 0.0.255.255 RouterD:RouterD(config)#int s0/0RouterD(config-if)#bandwidth 96RouterD(config-if)#int s0/1RouterD(config-if)#bandwidth 256RouterD(config-if)#exitRouterD(config)#router eigrp 100RouterD(config-router)#network 10.0.0.0 0.255.255.255⑶等待一段时间后,在各路由器上查看路由表,观察度量值等:RouterA#show ip route【问题1】注意路由器A到达网络172.16.0.0/16 有几条路由?RouterB#show ip routeRouterC#show ip route【问题2】注意路由器C到达网络192.168.1.0/24 有几条路由?RouterD#show ip route⑷测试连通性:正确配置主机A、B、C的网关,从主机A ping主机B,测试连通性。
思科设备eigrp协议配置

思科设备eigrp协议配置本次讲解路由器eigrp协议的配置:[1]EIGRP与IGRP在network命令的区别在于多了wildcard-mask参数,这是通配符掩码。
如果网络定义使用的是默认掩码,则wildcard-mask参数可以省略:如果网络定义使用的不是默认掩码,则wildcard-mask参数必须标明。
[2]EIGRP在处理有类别(A、B、C类)网络地址时,会自动地汇总路由。
这意味着即使规定RTC 连接的是10.0.3.0/24这个网络,但EIGRP仍然会发布其连接整个A类网络10.0.0.0。
在EIGRP 中,路由自动汇总功能默认是有效的。
存在不连续子网的网络中,通常需要用no auto-summary命令来关闭该功能。
本例配置模型图命令行:RA配置命令:Router>Router>enableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.^Router(config)#router eigrp 100 //使用eigrp协议。
使用系统自制号100Router(config-router)#network 202.1.1.5 0.0.0.3 //指定与该路由器直接相连的网络Router(config-router)#network 192.1.1.0 0.0.0.255 //指定与该路由器直接相连的网络Router(config-router)#no auto-summary //关闭自动汇总功能Router(config-router)#exitRouter(config)#int s1/0Router(config-if)#ip address 202.1.1.5 255.255.255.252 //依照图配置IPRouter(config-if)#clock rate 64000 //使用时钟频率Router(config-if)#bandwidth 64Router(config-if)#no shutdown%LINK-5-CHANGED: Interface Serial1/0, changed state to downRouter(config-if)#exitRouter(config)#int f0/0 //依照图配置IPRouter(config-if)#ip address 192.1.1.1 255.255.255.0Router(config-if)#no shutdown%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#exitRouter(config)#exitRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#wrBuilding configuration...[OK]Router#RB配置命令:Router>enableRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#router eigrp 100 //使用eigrp协议。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
1.实验拓补图
2.实验名称
Eigrp基本配置
3.实验设备
1841路由器4台,两台PC
4.实验目的
通过EIGRP实现沟通
5.实验步骤
连接四台路由器与两台PC
给两台PC配置IP地址
快速以太网口下的eigrp基本配置
配置IP各个端口或PC的地址:
enable 进入特权模式
Configure terminal 进入全局模式
interface f0/0或f0/1 进入各个端口
ip address 192.168.1.1 255.255.255.0 这里举例配置1网段的ip地址。
No shutdown 启用
Exit 退到上一级
router eigrp 100 启用eigrp
network 192.168.1.0
network 192.168.2.0 宣告直连网段
no auto-summary 关闭路由汇总
串口下的eigrp配置
r#enable 进入特权模式r#configure terminal 进入全局模式
r(config)#interface F0/0 进入各个端口
r(config-if)#ip address 192.168.1.1 255.255.255.0
这里举例配置1网段的ip地址。
r(config-if)#clock rate 64000 同步时钟
r(config-if)#no shutdown 启用
r(config)#router eigrp 100 启用eigrp
r(config-if)#network 192.168.1.0 宣告直连网段
r(config-if)#network 192.168.2.0
r(config-router)#no auto-summary 关闭路由汇总
6.实验结果
PC1与PC2 之间可以相互通信。
7.实验总结
没啥。