实验9 静态路由配置.docVIP

  • 8
  • 0
  • 约6千字
  • 约 5页
  • 2018-07-04 发布于河南
  • 举报
实验9 静态路由配置

实验9 静态路由配置 一、实验目的 1、理解路由表 2、掌握静态路由的配置 二、应用环境 1、在小规模环境里,静态路由是最佳的选择 2、静态路由开销小,但不灵活,适用于相对稳定的网络 三、实验拓扑 四、实验要求 配置表 Router0 Router1 Router2 S0/0/0(DCE) 192.168.1.1 S0/0/0(DTE) 192.168.1.2 F0/0 192.168.2.2 F0/0 12.168.0.1 F0/0 192.168.2.1 F0/1 192.168.3.1 五、实验步骤 (一)按照上表配置所有接口的地址,保证所有接口全部是up状态 1、router0配置 Router Routerenable Router#config t Router(config)#int s0/0/0 Router(config-if)#clock rate 128000 Router(config-if)#ip address 192.168.1.1 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#^z Router#config t Router(config)#int f0/0 Router(config-if)#ip address 192.168.0.1 255.255.255.0 Router(config-if)#no shutdown 2、router1配置 Router Routerenable Router#config t Router(config)#int s0/0/0 Router(config-if)#ip address 192.168.1.2 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#^z Router#config t Router(config)#int f0/0 Router(config-if)#ip address 192.168.2.1 255.255.255.0 Router(config-if)#no shutdown 3、router2配置 Router Routerenable Router#config t Router(config)#int f0/0 Router(config-if)#ip address 192.168.2.2 255.255.255.0 Router(config-if)#no shutdown Router(config-if)#^z Router#config t Router(config)#int f0/1 Router(config-if)#ip address 192.168.3.1 255.255.255.0 Router(config-if)#no shutdown (二)查看router0的路由表 Router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C 192.168.0.0/24 is directly connected, FastEthernet0/0 !直连的路由 C 192.168.1.0/24 is directly connected, Serial0/0/0 !直连的路由 (三)查看router1的路由表 Router# Router#show ip route Codes: C - connected, S - static,

文档评论(0)

1亿VIP精品文档

相关文档