6. 查看和测试静态路由 6.1 查看静态路由
6.1.1 查看R1静态路由 R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPwt6qbkCyDE D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaKp5zH46zRk E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPYl4HdOAA61 i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate defaultch4PJx4BlI U - per-user static route
Gateway of last resort is not set
C 192.168.1.0 is directly connected, Ethernet0 S 192.168.2.0 [1/0] via 10.0.0.2
C 10.0.0.0 is directly connected, Serial0/0
6.1.2 查看R2静态路由 R2#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGPqd3YfhxCzo D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaE836L11DO5 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPS42ehLvE3M i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default501nNvZFis U - per-user static route
Gateway of last resort is not set
C 192.168.2.0 is directly connected, Ethernet0 C 10.0.0.0 is directly connected, Serial0/0 S 192.168.1.0 [1/0] via 10.0.0.1
6.2 测试静态路由
6.2.1 PC1 ping PC2和路由器地各接口 C:>ping 192.168.1.1
Pinging 192.168.1.1 with 32 bytes of data:
Reply from 192.168.1.1: bytes=32 time=60ms TTL=241 Reply from 192.168.1.1: bytes=32 time=60ms TTL=241 Reply from 192.168.1.1: bytes=32 time=60ms TTL=241 Reply from 192.168.1.1: bytes=32 time=60ms TTL=241 Reply from 192.168.1.1: bytes=32 time=60ms TTL=241
Ping statistics for 192.168.1.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,jW1viftGw9 Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 10.0.0.1
Pinging 10.0.0.1 with 32 bytes of data:
Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241
Ping statistics for 10.0.0.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,xS0DOYWHLP Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 10.0.0.2
Pinging 10.0.0.2 with 32 bytes of data:
Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241
Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241
Ping statistics for 10.0.0.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,LOZMkIqI0w Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241
Ping statistics for 192.168.2.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,ZKZUQsUJed Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 192.168.2.2
Pinging 192.168.2.2 with 32 bytes of data:
Reply from 192.168.2.2: bytes=32 time=60ms TTL=241 Reply from 192.168.2.2: bytes=32 time=60ms TTL=241 Reply from 192.168.2.2: bytes=32 time=60ms TTL=241 Reply from 192.168.2.2: bytes=32 time=60ms TTL=241 Reply from 192.168.2.2: bytes=32 time=60ms TTL=241
Ping statistics for 192.168.2.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,dGY2mcoKtT Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
6.2.2 PC2 ping PC1和路由器地各接口 C:>ping 192.168.2.1
Pinging 192.168.2.1 with 32 bytes of data:
Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241 Reply from 192.168.2.1: bytes=32 time=60ms TTL=241
Ping statistics for 192.168.2.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,rCYbSWRLIA Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 10.0.0.2
Pinging 10.0.0.2 with 32 bytes of data:
Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241 Reply from 10.0.0.2: bytes=32 time=60ms TTL=241
Ping statistics for 10.0.0.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,FyXjoFlMWh Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 10.0.0.1
Pinging 10.0.0.1 with 32 bytes of data:
Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241 Reply from 10.0.0.1: bytes=32 time=60ms TTL=241
Ping statistics for 10.0.0.1: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,TuWrUpPObX Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
C:>ping 192.168.1.2
Pinging 192.168.1.2 with 32 bytes of data:
Reply from 192.168.1.2: bytes=32 time=60ms TTL=241 Reply from 192.168.1.2: bytes=32 time=60ms TTL=241 Reply from 192.168.1.2: bytes=32 time=60ms TTL=241 Reply from 192.168.1.2: bytes=32 time=60ms TTL=241 Reply from 192.168.1.2: bytes=32 time=60ms TTL=241
Ping statistics for 192.168.1.2: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss>,7qWAq9jPqE Approximate round trip times in milli-seconds:
Minimum = 50ms, Maximum = 60ms, Average = 55ms
实验六 FTP服务器地安装与使用
1.实验目地:
学会FTP服务器端和客户端软件地安装方法;掌握FTP服务器地配置和管理方法. 2.实验内容:
安装和配置FTP服务器端和用户端软件,使用FTP客户端访问FTP服务器. 3.实验步骤:
①、选择3-5台计算机用双绞线和交换机连接形成小型局域网. ②、将其中一台作为主机,打开电脑控制面板中地“添加/删除程序”.
图6-1添加/删除程序面板
然后点击左边地“添加/删除Windows组件”,出现如下图地Windows组件向导,将“Internet信息服务