TCPIP实用程序的使用.docx
福建农林大学计算机与信息学院实验报告课程名称:计算机网络姓 名:*学 院:计算机与信息学院专 业:信息与计算科学年 级:2011 级学 号:31160030*指导教师:林要华职 称:讲师2014年5月30日实验项目列表序号实验项目名称成绩指导教师1TCP/IP实用程序的使用2345678总评实验报告实验一:TCP/IP实用程序的使用一、实验目的统过WINDOWS操作系统中自带的实用程序,测试计算机上的TCP/IP配置及测试本计算机与 计算机的连接性能、获取计算机名称、验证计算机上的TCP/IP的配置及选项。二、实验原理1、使用Ping程序测试计算机的TCP/IP配置及测试本计算机与计算机的连接性能,确保可以在 网络上通信;2、使用Hostname程序来获得计算机的名称;3、使用Ipconfig程序来验证计算机上的TCP/IP配置选项,包括MAC地址、IP地址、子网掩 码和缺省网关等配置信息;4、考察实验用的计算机的TCP/IP配置。三、实验步骤与结果分析1、使用Ping实用程序来测试计算机上的TCP/IP配置(1)登陆到 Windows XP 中。(2)单击开始,然后将鼠标指针移到程序上,再移到附件上,然后单击命令提示符。(3)在命令提示窗口键入ping 127.0.0.1 o2、使用Hostname实用程序来获得计算机的名称(1)在命令提示窗口键入hostnameo(2)在命令提示窗口键入ping计算机(其中计算机是在上一步骤中获得的主机名称)。C:DocumentsPC33and Settings"sTldninistrator>liostnameC:Documentsand SettingsAdninistrator>ping PC33Pinging PC33192.168.2.33 with 32 bytes of data:Reply Reply ffteply ffteplyfrom 192.168.2.33:from 192.168.2.33:from 192.168_2_33:from 192.168.2.33:bytes=32bytes=32bytes=32bytes=32time<lms TTL=64 time<lms TTL=64 time<lms TTL=64 time<lms TTL=64Ping statistics for 192.168.2.33:Packets: Sent = 4, Received = 4, Lost = 0 <0Z loss>, Hppi'oximate round trip times in milli-seconds:Minimum = 0ms, Maximum = 0ms, Auevage = 0ms|C 二 SDocumentg 己nd Sett ings "-fldiiin己tor3、使用Ping实用程序测试本计算机与其它计算机的连接性能。(1)在命令窗口输入net view,得到其他主机的主机名。(2)用ping命令验证与其它王机的连通性。3: Documents and Settingsfidministrator>ping PC62Pinging PC62 192.168.2.62 3 uith 32 bytes of data:ReplsrRepluReplsrReplyfrom 192.168.2.62:from 192.168.2.62:fron 192.168.2.62:from 192.168.2.62:bytes=32bytes=32bytes=32bytes=32time<liis TTL=64 tine<lns TTL=64 time<liis TTL=64Ping statistics for 192.168.2.62:Packets: Sent = 4, Received = 4, Lost = Q <0Z loss>, Approximate round trip times in milliseconds:Minimum = Sms, Maximuin = 0ms, Auerage = SmsDocuments and SettingsAdninistratoF>!4、考察TCP/IP配置(1)单击开始,然后将鼠标指针移到设置上,再移到网络和拨号连接上,然后右击本地连接;(2)单击属性;(3)单击 Internet 协议(TCP/IP);(4)单击属性,考察TCP/IP配置。5、使用Ipconfig实用程序验证计算机上的TCP/IP配置选项(1)在命令提示窗口键入ipconfig;(2)在命令窗口键入ipconfig/alloC: XDocuments and Sett ings'sfldininistrator>ipcon£ig/all3Uindous IP Conf igurationHost Name .:PC33Primary Dns Suffix Node Type IP Routing EnabledUINS Proxy EnabledEthernet adapter 本弛连接Connection-specific DNS Suffix Descript ion.:Unknown.:No.:No.:Realtek RTL8139/810X Family FastEthernet NICPhysical AddressDhcp EnabledAutoconfiguvation Enabled . Autoconf igurat ion IP Address _ . Subnet Mask Default Gateway .:EC-88-8F-F2-17-1A.:Ves.:Ves.:169.254.230.187.:255.255.0.0Ethernet adapter 本地连接:1Connection-spec if ic Descript ion . Et he met Cont ro 1 le rPhys ical Address _ . Dhcp Enabled. IP AddressSubnet Mask . Default Gateway . DNS Seruers .DNSSuff ix .:Maruell Vukon 88E8057 PCI-E Gigabit44-37-E6-A2-A3-82No192.168.2.33255.255.255.0192.168.2.254218.85.157.99C: XDocuments and Settings"sfldministratoi试比较以上两种操作。四、总结通过本次实验,我知道了统过WINDOWS操作系统中自带的实用程序,测试计算机上的TCP/IP 配置及测试本计算机与计算机的连接性能、获取计算机名称、验证计算机上的TCP/IP的配置及选项。