您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 其它文档 > 计算机网络实验二 在PC机上熟悉常用网络命令实验报告
计算机网络原理实验报告实验二熟悉常用的网络命令实验报告姓名:陈津生班级:12级数字媒体技术2班学号:2012329700056指导教师:张芳计算机网络原理实验报告1.实验目的:学会使用常用ping,ipconfig,nslookup,arp,tracert等常用网络测试命令检测网络连通、了解网络的配置状态,跟踪路由诊断域名系统等相关网络问题。2实验环境:(1)运行windows2000/2003/xp操作系统的PC一台(2)每台PC机具有一块网卡,通过双绞线与局域网网相连。(3)局域网能连接Internet3.实验步骤:用户名:1234567891234密码:01234561、ARP:显示和修改IP地址与物理地址之间的转换表C:\DocumentsandSettings\ligongARP-aInterface:10.16.24.18---0x10003InternetAddressPhysicalAddressType192.168.1.300-00-00-00-00-00invalidC:\DocumentsandSettings\ligongARP-gInterface:10.16.24.18---0x10003InternetAddressPhysicalAddressType192.168.1.300-00-00-00-00-00invalidC:\DocumentsandSettings\ligongARP-dC:\DocumentsandSettings\ligongARP-sDisplaysandmodifiestheIP-to-Physicaladdresstranslationtablesusedbyaddressresolutionprotocol(ARP).ARP-sinet_addreth_addr[if_addr]ARP-dinet_addr[if_addr]ARP-a[inet_addr][-Nif_addr]-aDisplayscurrentARPentriesbyinterrogatingthecurrentprotocoldata.Ifinet_addrisspecified,theIPandPhysicaladdressesforonlythespecifiedcomputeraredisplayed.If计算机网络原理实验报告morethanonenetworkinterfaceusesARP,entriesforeachARPtablearedisplayed.-gSameas-a.inet_addrSpecifiesaninternetaddress.-Nif_addrDisplaystheARPentriesforthenetworkinterfacespecifiedbyif_addr.-dDeletesthehostspecifiedbyinet_addr.inet_addrmaybewildcardedwith*todeleteallhosts.-sAddsthehostandassociatestheInternetaddressinet_addrwiththePhysicaladdresseth_addr.ThePhysicaladdressisgivenas6hexadecimalbytesseparatedbyhyphens.Theentryispermanent.eth_addrSpecifiesaphysicaladdress.if_addrIfpresent,thisspecifiestheInternetaddressoftheinterfacewhoseaddresstranslationtableshouldbemodified.Ifnotpresent,thefirstapplicableinterfacewillbeused.Example:arp-s157.55.85.21200-aa-00-62-c6-09....Addsastaticentry.arp-a....Displaysthearptable.2、ftp:(功能就不用描述了,请参看下面的具体用法)ftpopen10.16.23.2Connectedto10.16.23.2.220欢迎登陆计算机基础教研室FTP服务器User(10.16.23.2:(none)):1234567891234331Usernameokay,needpassword.Password:230Userloggedin,proceed.ftp-vInvalidcommand.ftpftp-vInvalidcommand.ftpftp[-v]Invalidcommand.ftpcdRemotedirectoryftp!550/ftp:Nosuchfileordirectory.ftp!MicrosoftWindowsXP[版本5.1.2600](C)版权所有1985-2001MicrosoftCorp.3、IpconfigC:\DocumentsandSettings\ligongipconfigWindowsIPConfigurationEthernetadapter本地连接2:计算机网络原理实验报告Connection-specificDNSSuffix.:IPAddress............:192.168.1.119SubnetMask...........:255.255.255.0DefaultGateway.........:192.168.1.1C:\DocumentsandSettings\ligong4、Nbtstat.exeC:\DocumentsandSettings\ligongnbtstat.exeDisplaysprotocolstatisticsandcurrentTCP/IPconnectionsusingNBT(NetBIOSoverTCP/IP).NBTSTAT[[-aRemoteName][-AIPaddress][-c][-n][-r][-R][-RR][-s][-S][interval]]-a(adapterstatus)Liststheremotemachine'snametablegivenitsname-A(Adapterstatus)Liststheremotemachine'snametablegivenitsIPaddress.-c(cache)ListsNBT'scacheofremote[machine]namesandtheirIPaddresses-n(names)ListslocalNetBIOSnames.-r(resolved)ListsnamesresolvedbybroadcastandviaWINS-R(Reload)Purgesandreloadstheremotecachenametable-S(Sessions)ListssessionstablewiththedestinationIPaddresses-s(sessions)ListssessionstableconvertingdestinationIPaddressestocomputerNETBIOSnames.-RR(ReleaseRefresh)SendsNameReleasepacketstoWINSandthen,startsRefreshRemoteNameRemotehostmachinename.IPaddressDotteddecimalrepresentationoftheIPaddress.intervalRedisplaysselectedstatistics,pausingintervalsecondsbetweeneachdisplay.PressCtrl+Ctostopredisplayingstatistics.C:\DocumentsandSettings\ligongnbtstat-CDisplaysprotocolstatisticsandcurrentTCP/IPconnectionsu(NetBIOSoverTCP/IP).NBTSTAT[[-aRemoteName][-AIPaddress][-c][-n][-r][-R][-RR][-s][-S][interval]]-a(adapterstatus)Liststheremotemachine'snametable-A(Adapterstatus)Liststheremotemachine'snametableIPaddress.-c(cache)ListsNBT'scacheofremote[machine]addresses-n(names)ListslocalNetBIOSnames.-r(resolved)Listsnamesresolvedbybroadcastand计算机网络原理实验报告-R(Reload)Purgesandreloadstheremotecachen-S(Sessions)Listssessionstablewiththedestina-s(sessions)ListssessionstableconvertingdestiaddressestocomputerNETBIOSnames.-RR(ReleaseRefresh)SendsNameReleasepacketstoWINSaneshRemoteNameRemotehostmachinename.IPaddressDotteddecimalrepresentationoftheIPaddresintervalRedisplaysselectedstatistics,pausingintervbetweeneachdisplay.PressCtrl+Ctostopredstatistics.C:\DocumentsandSettings\ligongnbtstat-n本地连接2:NodeIpAddress:[192.168.1.119]ScopeId:[]NetBIOSLocalNameTableNameTypeStatus---------------------------------------------H1600UNIQUERegisteredH1620UNIQUERegistered2HJF00GROUPRegistered2HJF1EGROUPRegisteredC:\DocumentsandSettings\ligongnbtstat-s本地连接2:NodeIpAddress:[192.168.1.119]ScopeId:[]NoConnections5、net:C:\DocumentsandSettings\ligongnet此命令的语法是:NET[ACCOUNTS|COMPUTER|CONFIG|CONTINUE|FILE|GROUP|HELP|HELPMSG|LOCALGROUP|NAME|PAUSE|PRINT|SEND|SESSION|SHARE|START|STATISTICS|STOP|TIME|USE|USER|VIEW]C:\DocumentsandSettings\ligongC:\DocumentsandSettings\ligongnet此命令的语法是:NET[ACCOUNTS|COMPUTER|CONFIG|CONTINUE|FILEHELPMSG|LOCALGROUP|NAME|PAUSE|PRINT|SHARE|START|STATISTICS|STOP|TIME|USEC:\DocumentsandSettings\ligongnetstat.exeActiveConnectionsProtoLocalAddressForeignAddre
本文标题:计算机网络实验二 在PC机上熟悉常用网络命令实验报告
链接地址:https://www.777doc.com/doc-4896459 .html