详解EIGRP协议配置实验

详解 EIGRP 配置 EIGRP 实验
配置: EIGRP 协议
环境:两台路由器串口相连, IP 地址如下图
要求: 1 、在 R1 R2 上配置 EIGRP 协议,使不同网段间能够连通。
      2 、使用 show ip route 查看路由协议。
      3 、最后在 PC1 上能 ping PC2
 
第一步:给两个路由器和 PC 配好 IP
 
 R1 配置:  
R1(config)#interface s0/0
R1(config-if)#ip address 192.168.1.2 255.255.255.0
R1(config-if)#no shutdown
R1(config)#interface s0/1
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#clock rate 64000        ――配置时钟频率
R1(config-if)#no shutdown
 
R2 配置:
  R2(config)#interface s0/1
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#no shutdown
R2(config)#interface s0/0
R2(config-if)#ip address 192.168.3.1 255.255.255.0
R2(config-if)#no shutdown
第二步:配置路由协议。
 
R1 配置:
   R1(config)#router eigrp 100         ――配置 EIGRP 协议
   R1(config-router)#network 192.168.1.0 0.0.0 .255
   R1(config-router)#network 192.168.2.0 0.0.0 .255
 
 R2 配置:
   R2(config)#router eigrp 100
   R2(config-router)#network 192.168.2.0 0.0.0 .255
   R2(config-router)#network 192.168.3.0 0.0.0 .255
 
第三步:使用 show ip router 查看路由协议如下图所示:
 R1 学到的路由
R2 学到的路由
第四步:现在 PC1 PC2 可以 ping 通。
PC1#ping 192.168.3.2
!!!!!
PC2#ping 192.168.1.1
!!!!!
 
 

你可能感兴趣的:(网络,职场,休闲,EIGRP)