配置静态路由实现区域网连通.docVIP

  • 25
  • 0
  • 约3.86千字
  • 约 4页
  • 2019-01-13 发布于广东
  • 举报
PAGE / NUMPAGES 案例4.1 静态路由实现网络互连 【案例描述】 中北大学网络分散两个小区,拓扑图如下图所示。 使用两台路由器分别表示分散校园网络中两个不同的园区区域:左边路由器连接的是西校区,右边路由器连接的是东校区。其中,园区网络的地址规划如下表所示。现使用网络线路直接连接起来,希望通过静态路由技术实现分散的校园网络系统互连互通。 【教学目标】 学习和掌握配置静态路由的方法,理解其应用场合。 【使用设备】 设备名称 设备及端口的配置地址 Router1 F0 172.16.1.254/24 F1 172.16.2.1/24 Router2 F1 172.16.2.2/24 F0 172.16.3.254/24 PC1 172.16.1.1/24 PC2 172.16.3.1/24 【案例实施】 步骤1 在路由器Router上配置接口的ip地址 Router1(config)#interface fastEthernet 0 Router1(config-if)#ip address 172.16.1.254 255.255.255.0 Router1(config-if)#no shutdown Router1(config-if)#exit Router1(config)#interface F 1 Router1(config-if)#ip address 172.16.2.1 255.255.255.0 Router1(config-if)#no shutdown 验证测试:验证路由器接口的配置 Router1#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0 172.16.1.254 YES manual up up FastEthernet1 172.16.2.1 YES manual up up FastEthernet2 unassigned YES unset administratively down down FastEthernet3 unassigned YES unset administratively down down Serial0 unassigned YES unset administratively down down Serial1 unassigned YES unset administratively down down 可通过如下命令查看接口的状态 Router1#show interfaces FastEthernet 1 步骤2 在路由器Router上配置接口的ip地址 Router2(config)#interface fastEthernet 0 Router2(config-if)#ip address 172.16.3.254 255.255.255.0 Router2(config-if)#no shutdown Router2(config)#interface fastEthernet 1 Router2(config-if)#ip address 172.16.2.2 255.255.255.0 Router2(config-if)#no shutdown 验证测试:验证接口的配置 Router2#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0 172.16.3.254 YES manual up up FastEthernet1 172.16.2.2 YES manual up up FastEthernet2 unassigned YES unset administratively down down FastEthernet3 unassigned YES unset administratively down dow

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档