动态EIGRP路由
制作人:丁琪 QQ:854804038
【实验目标】
实现EIGRP的配置
【实验拓扑】
【实验原理】
基于路由器的EIGRP协议实现配置
【实验步骤】
硬件的准备和连接如上图
计算机配置
交换机不配了
路由器配置
r1>en
r1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#int fa0/0
r1(config-if)#ip route 192.168.1.254 255.255.255.0
^
% Invalid input detected at '^' marker.
r1(config-if)#ip add 192.168.1.254 255.255.255.0
r1(config-if)#no shut
r1(config-if)#exit
r1(config)#int fa0/1
r1(config-if)#ip add 192.168.2.254 255.255.255.0
r1(config-if)#no shut
r1(config-if)#int s0/0
r1(config-if)#exit
r1(config)#int s0/0
r1(config-if)#ip add 192.168.3.1 255.255.255.0
r1(config-if)#clock rate 56000
r1(config-if)#no shut
r1(config-if)#exit
r1(config)#route eigrp
% Incomplete command.
r1(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
r1#router eigrp
^
% Invalid input detected at '^' marker.
r1#cofnt
Translating "cofnt"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find computer address
r1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#router eigrp
% Incomplete command.
r1(config)#router EIGRP 100
r1(config-router)#net 192.168.1.0
r1(config-router)#net 192.168.2.0
r1(config-router)#net 192.168.3.0
r1(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
r1#
r2>en
r2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r2(config)#int s0/1
r2(config-if)#ip add 192.168.3.2 255.255.255.0
r2(config-if)#no shut
r2(config-if)#exit
r2(config)#int s0/0
r2(config-if)#ip add 192.168.4.1
% Incomplete command.
r2(config-if)#ip add 192.168.4.1 255.255.255.0
r2(config-if)#clock rate 56000
r2(config-if)#no shut
r2(config-if)#exit
r2(config)#router eigrp 100
r2(config-router)#net 192.168.3.0
r2(config-router)#
%DUAL-5-NBRCHANGE: IP-EIGRP 100: Neighbor 192.168.3.1 (Serial0/1) is up: new adjacency
net
% Incomplete command.
r2(config-router)#net 192.168.4.0
r2(config-router)#end
%SYS-5-CONFIG_I: Configured from console by console
r2#
3>en
r3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r3(config)#int s0/1
r3(config-if)#ip add 192.168.4.2
% Incomplete command.
r3(config-if)#ip add 192.168.4.2 255.255.255.0
r3(config-if)#no shut
r3(config-if)#exit
r3(config)#int fa0/0
r3(config-if)#ip add 192.168.5.254 255.255.255.0
r3(config-if)#no shut
r3(config-if)#end
%SYS-5-CONFIG_I: Configured from console by console
r3#
测试:192.168.1.1 ping 192.18.5.3
PC>ping 192.168.5.3
Pinging 192.168.5.3 with 32 bytes of data:
Request timed out.
Reply from 192.168.5.3: bytes=32 time=188ms TTL=125
Reply from 192.168.5.3: bytes=32 time=187ms TTL=125
Reply from 192.168.5.3: bytes=32 time=172ms TTL=125
Ping statistics for 192.168.5.3:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 172ms, Maximum = 188ms, Average = 182ms
PC>
【实验总结】
测试连通