《网络常用命实验.doc》由会员分享,可在线阅读,更多相关《网络常用命实验.doc(7页珍藏版)》请在金锄头文库上搜索。
1、 实验(实习)报告实验(实习)名称 常用网络命令 实验(实习)日期 得分 指导教师 专业 年级 班次 姓名 学号 1、实验目的(1)掌握常用网络命令的使用方法;(2)熟悉和掌握网络管理、网络维护的基本内容和方法2、实验内容练习以下网络命令的使用(1)ARP(2)Ipconfig(3)Nbtstat(4)net(5)netstat(7)Route(8)Tracert3、实验结果(1)ARPC:Documents and Settingsnuistarp -aInterface: 192.168.11.41 - 0x10006 Internet Address Physical Address T
2、ype 192.168.11.1 00-09-73-00-1a-69 dynamic 192.168.11.37 00-09-73-00-68-0a dynamic 192.168.11.110 00-09-73-00-34-70 dynamicC:Documents and Settingsnuistarp -sDisplays and modifies the IP-to-Physical address translation tablesaddress resolution protocol (ARP).ARP -s inet_addr eth_addr if_addrARP -d i
3、net_addr if_addrARP -a inet_addr -N if_addr -a Displays current ARP entries by interrogating the cu protocol data. If inet_addr is specified, the IP an addresses for only the specified computer are displa more than one network interface uses ARP, entries fo table are displayed. -g Same as -a. inet_a
4、ddr Specifies an internet address. -N if_addr Displays the ARP entries for the network interface s by if_addr. -d Deletes the host specified by inet_addr. inet_addr m wildcarded with * to delete all hosts. -s Adds the host and associates the Internet address in with the Physical address eth_addr. Th
5、e Physical ad given as 6 hexadecimal bytes separated by hyphens. T is permanent. eth_addr Specifies a physical address. if_addr If present, this specifies the Internet address of t interface whose address translation table should be If not present, the first applicable interface willExample: arp -s
6、157.55.85.212 00-aa-00-62-c6-09 . Adds a static ent arp -a . Displays the arpC:Documents and Settingsnuistarp -aInterface: 192.168.11.41 - 0x10006 Internet Address Physical Address Type 192.168.11.1 00-09-73-00-1a-69 dynamic 192.168.11.37 00-09-73-00-68-0a dynamic 192.168.11.110 00-09-73-00-34-70 dy
7、namicC:Documents and Settingsnuistarp -d(2)IpconfigC:Documents and SettingsnuistipconfigWindows IP ConfigurationEthernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.249.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Defau
8、lt Gateway . . . . . . . . . :Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.91.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :Ethernet adapter 本地连接 2: Media State . . . . . . . .
9、. . . : Media disconnectedEthernet adapter 本地连接3 Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.11.41 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.11.1C:Documents and Settingsnuistipconfig/allWindows IP Configuration Ho
10、st Name . . . . . . . . . . . . : ZS303-19 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Unknown IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : NoEthernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : Description . . .
11、. . . . . . . . : VMware Virtual Ethernet AdapterVMnet8 Physical Address. . . . . . . . . : 00-50-56-C0-00-08 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.249.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :Ethernet adapter
12、 VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : VMware Virtual Ethernet AdapterVMnet1 Physical Address. . . . . . . . . : 00-50-56-C0-00-01 Dhcp Enabled. . . . . . . . . . . : No IP Address. . . . . . . . . . . . : 192.168.91.1 Subnet Mask . . .
13、 . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :Ethernet adapter 本地连接 2: Media State . . . . . . . . . . . : Media disconnected Description . . . . . . . . . . . : Broadcom 440x 10/100 Integratedroller Physical Address. . . . . . . . . : 00-1D-09-02-EF-CCEthernet adapter 本地连接: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fastrnet NIC #2