网络技术实验报告1

时间:2024.4.13

昆明理工大学信息工程与自动化学院学生实验报告

20## 20## 学年第学期

课程名称:计算机网络技术        开课实验室:自动化系    2014   年  5  月 14  日

一、实验目的:

l 掌握常用网络命令的使用方法;                                           

l 掌握win2000网络配置的基本步骤;                                       

l 熟悉和掌握网络管理、网络维护的基本内容和方法                           

二、实验报告内容:

Microsoft Windows XP [版本 5.1.2600]

(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\user>ARP

Displays and modifies the IP-to-Physical address translation tables used by

address resolution protocol (ARP).

ARP -s inet_addr eth_addr [if_addr]

ARP -d inet_addr [if_addr]

ARP -a [inet_addr] [-N if_addr]

  -a            Displays current ARP entries by interrogating the current

                protocol data.  If inet_addr is specified, the IP and Physical

                addresses for only the specified computer are displayed.  If

                more than one network interface uses ARP, entries for each ARP

                table are displayed.

  -g            Same as -a.

  inet_addr     Specifies an internet address.

  -N if_addr    Displays the ARP entries for the network interface specified

                by if_addr.

  -d            Deletes the host specified by inet_addr. inet_addr may be

                wildcarded with * to delete all hosts.

  -s            Adds the host and associates the Internet address inet_addr

                with the Physical address eth_addr.  The Physical address is

                given as 6 hexadecimal bytes separated by hyphens. The entry

                is permanent.

  eth_addr      Specifies a physical address.

  if_addr       If present, this specifies the Internet address of the

                interface whose address translation table should be modified.

                If not present, the first applicable interface will be used.

Example:

  > arp -s 157.55.85.212   00-aa-00-62-c6-09  .... Adds a static entry.

  > arp -a                                    .... Displays the arp table.

C:\Documents and Settings\user>Ping

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]

            [-r count] [-s count] [[-j host-list] | [-k host-list]]

            [-w timeout] target_name

Options:

    -t             Ping the specified host until stopped.

                   To see statistics and continue - type Control-Break;

                   To stop - type Control-C.

    -a             Resolve addresses to hostnames.

    -n count       Number of echo requests to send.

    -l size        Send buffer size.

    -f             Set Don't Fragment flag in packet.

    -i TTL         Time To Live.

    -v TOS         Type Of Service.

    -r count       Record route for count hops.

    -s count       Timestamp for count hops.

    -j host-list   Loose source route along host-list.

    -k host-list   Strict source route along host-list.

    -w timeout     Timeout in milliseconds to wait for each reply.

C:\Documents and Settings\user>Ipconfig

Windows IP Configuration

Ethernet adapter 本地连接:

        Media State . . . . . . . . . . . : Media disconnected

C:\Documents and Settings\user>Nbtstat

Displays protocol statistics and current TCP/IP connections using NBT

(NetBIOS over TCP/IP).

NBTSTAT [ [-a RemoteName] [-A IP address] [-c] [-n]

        [-r] [-R] [-RR] [-s] [-S] [interval] ]

  -a   (adapter status) Lists the remote machine's name table given its name

  -A   (Adapter status) Lists the remote machine's name table given its

                        IP address.

  -c   (cache)          Lists NBT's cache of remote [machine] names and their IP

 addresses

  -n   (names)          Lists local NetBIOS names.

  -r   (resolved)       Lists names resolved by broadcast and via WINS

  -R   (Reload)         Purges and reloads the remote cache name table

  -S   (Sessions)       Lists sessions table with the destination IP addresses

  -s   (sessions)       Lists sessions table converting destination IP

                        addresses to computer NETBIOS names.

  -RR  (ReleaseRefresh) Sends Name Release packets to WINS and then, starts Refr

esh

  RemoteName   Remote host machine name.

  IP address   Dotted decimal representation of the IP address.

  interval     Redisplays selected statistics, pausing interval seconds

               between each display. Press Ctrl+C to stop redisplaying

               statistics.

C:\Documents and Settings\user>net

此命令的语法是:

NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |

      HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |

      SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]

C:\Documents and Settings\user>Netstat

Active Connections

  Proto  Local Address          Foreign Address        State

C:\Documents and Settings\user>hostname

ZDH-20

C:\Documents and Settings\user>Route

Manipulates network routing tables.

ROUTE [-f] [-p] [command [destination]

                  [MASK netmask]  [gateway] [METRIC metric]  [IF interface]

  -f           Clears the routing tables of all gateway entries.  If this is

               used in conjunction with one of the commands, the tables are

               cleared prior to running the command.

  -p           When used with the ADD command, makes a route persistent across

               boots of the system. By default, routes are not preserved

               when the system is restarted. Ignored for all other commands,

               which always affect the appropriate persistent routes. This

               option is not supported in Windows 95.

  command      One of these:

                 PRINT     Prints  a route

                 ADD       Adds    a route

                 DELETE    Deletes a route

                 CHANGE    Modifies an existing route

  destination  Specifies the host.

  MASK         Specifies that the next parameter is the 'netmask' value.

  netmask      Specifies a subnet mask value for this route entry.

               If not specified, it defaults to 255.255.255.255.

  gateway      Specifies gateway.

  interface    the interface number for the specified route.

  METRIC       specifies the metric, ie. cost for the destination.

All symbolic names used for destination are looked up in the network database

file NETWORKS. The symbolic names for gateway are looked up in the host name

database file HOSTS.

If the command is PRINT or DELETE. Destination or gateway can be a wildcard,

(wildcard is specified as a star '*'), or the gateway argument may be omitted.

If Dest contains a * or ?, it is treated as a shell pattern, and only

matching destination routes are printed. The '*' matches any string,

and '?' matches any one char. Examples: 157.*.1, 157.*, 127.*, *224*.

Diagnostic Notes:

    Invalid MASK generates an error, that is when (DEST & MASK) != DEST.

    Example> route ADD 157.0.0.0 MASK 155.0.0.0 157.55.80.1 IF 1

             The route addition failed: The specified mask parameter is invalid.

 (Destination & Mask) != Destination.

Examples:

    > route PRINT

    > route ADD 157.0.0.0 MASK 255.0.0.0  157.55.80.1 METRIC 3 IF 2

             destination^      ^mask      ^gateway     metric^    ^

                                                         Interface^

      If IF is not given, it tries to find the best interface for a given

      gateway.

    > route PRINT

    > route PRINT 157*          .... Only prints those matching 157*

    > route CHANGE 157.0.0.0 MASK 255.0.0.0 157.55.80.5 METRIC 2 IF 2

      CHANGE is used to modify gateway and/or metric only.

    > route PRINT

    > route DELETE 157.0.0.0

    > route PRINT

C:\Documents and Settings\user>Tracert

Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name

Options:

    -d                 Do not resolve addresses to hostnames.

    -h maximum_hops    Maximum number of hops to search for target.

    -j host-list       Loose source route along host-list.

    -w timeout         Wait timeout milliseconds for each reply.

C:\Documents and Settings\user>

更多相关推荐:
计算机网络实训报告

1绪论11项目的背景及意义我校以亚运村小营的校本部为中心共有14个校区辐射分布在北京市城近郊区每个校区的网络单独来看是一个相对独立的园区网基本都实现了千兆到楼宇百兆到桌面的网络连接各校区的园区网以校本部校区为中...

网络实训报告

实训报告网络设备组装与配置20xx年6月5日黄河科技学院实训报告第I页摘要21世纪是信息的时代在信息化风起云涌的今天企业内部网络的搭建已经成为了提升企业可信竞争力的关键因素企业网已被越来越多的人所提及网络信息技...

计算机网络实验实验报告1

计算机网络实验实验报告1,内容附图。

计算机网络实验报告

计算机网络实验报告学号0604305015姓名杨宁班级06计算机专业计算机科学与技术指导教师刘海雄实验名称IE及Outlook设置与应用实验目的使学生学会设置和使用IE浏览器以及outlook收发邮件实验内容与...

计算机网络实训报告

信息工程系综合实训报告姓名:XXXX学号:0000000专业:计算机网络实训地点:指导教师:XXXXX20xx年x月x日目录一、项目简介及客户需求........................错误!未定义书…

网络实验报告--常用网络命令

计算机网络课程-常用网络命令实验报告

网络监测实验报告

南京邮电大学课程设计II报告20xx20xx学年第一学期题目专业信息安全学生姓名赢猛班级学号Q11010330指导教师孙国梓指导单位计算机学院信息安全系日期20xx年1月7日课程设计II报告网络服务监测系统一课...

安徽工业大学计算机网络实验报告

计算机网络实验报告专业计算机科学与技术班级计122班学号129074068姓名叶玉虎指导教师肖维民安徽工业大学计算机学院20xx年12月29号1目录实验总体说明3实验一实验三实验四实验五实验六以太网帧的构成3路...

计算机网络编程实验报告

华北科技学院计算机系综合性实验实验报告课程名称网络编程实验学期20xx至20xx学年第1学期学生所在系部计算机系年级09级专业班级计算机应用学生姓名孙岩学号20xx07013201任课教师黄江兰实验成绩计算机系...

网络营销实验报告一

西安财经学院信息学院实验报告实验名称认识常用网络营销工具及信息传递特征实验室实验日期第1页共6页第2页共6页第3页共6页第4页共6页第5页共6页第6页共6页

计算机网络实验报告

学生实验报告(理工类)课程名称:计算机网络与通信专业班级:学生学号:学生姓名:所属院部:指导教师:20XX20XX学年第2学期金陵科技学院教务处制实验报告书写要求实验报告原则上要求学生手写,要求书写工整。若因课…

计算机网络综合实验报告

华北科技学院计算机系综合性实验实验报告课程名称计算机网络技术实验学期20xx至20xx学年第二学期学生所在系部管理系年级20xx级专业班级电商B092学生姓名刘伟学号20xx04064221任课教师陈振国实验成...

网络实验报告(26篇)