网络实验报告.docx

上传人:b****2 文档编号:24172138 上传时间:2023-05-25 格式:DOCX 页数:89 大小:1.12MB
下载 相关 举报
网络实验报告.docx_第1页
第1页 / 共89页
网络实验报告.docx_第2页
第2页 / 共89页
网络实验报告.docx_第3页
第3页 / 共89页
网络实验报告.docx_第4页
第4页 / 共89页
网络实验报告.docx_第5页
第5页 / 共89页
点击查看更多>>
下载资源
资源描述

网络实验报告.docx

《网络实验报告.docx》由会员分享,可在线阅读,更多相关《网络实验报告.docx(89页珍藏版)》请在冰豆网上搜索。

网络实验报告.docx

网络实验报告

许昌学院计算机科学与技术学院《计算机网络》课程实验教学手册

 

课程实验教学手册

 

姓名:

学号:

专业:

计算机科学与技术

班级:

级班

 

任课教师:

时间:

2010学年度2011学期

 

综合成绩:

 

计算机科学与技术学院《计算机网络》课程组

计算机科学与技术学院《计算机网络》课程实验教学手册

 

实验一

 

实验名称:

网线制作

实验时间:

2010年10月10日

实验地点:

网络工程实验室

同组同学:

实验目的:

(1)了解标准T568A与T568B网线的线序;

(2)掌握网线的制作和测试方法;

(3)了解不同网线的作用及应用场合。

实验要求:

(1)写出T568A与T568B网线的线序;

(2)写出网线的制作过程。

(1)了解在制作双绞线过程中所需要的工具和材料,以及压线钳的使用方法。

压线钳、水晶头、网线

(2)要了解交叉线和直通线的线序排列情况。

(1)写出T568A与T568B网线的线序;

T568A的线序是:

白绿绿白橙白蓝白棕橙蓝棕

T568B的线序是:

白橙橙白绿蓝白蓝绿白棕棕

(2)写出网线的制作过程。

1.准备好RJ45水晶头、网线钳、网线,利用压线钳的剪线刀口裁出需要用到

的双绞线的长度。

2.将网线两头灰色保护层外皮削去约1.5cm,利用压线钳的剪线刀将线剪齐。

3.将一头的芯线按T568B顺序排列整齐保持在一个平面上,将水晶头露出铜

片的面向上,插入芯线至底.

4.水晶头头部放入压线钳,用力压、压得过程中是水晶头凸出在外面的针脚全

部压入水晶头内听到“啪”的一声即可。

5.另一头,直通线顺序同上,交叉线顺序为白绿绿白橙白蓝白棕橙蓝棕

第2页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

交叉线一般用于双机互联,直通线一般用于猫或交换器与计算机互联。

 

1.直通线和交叉线的应用场合是什么?

直通线用在不同设备之间的链接,交叉线用在相同设备之间的链接。

2.用网线将两台计算机连接后,怎样测试它们的连通性?

在PC机的DOS里用Ping命令测试连通性。

 

 

教师签名:

 

第3页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

 

实验二

 

实验名称:

交换机路由器的基本配置。

实验时间:

2010年10月20日

实验地点:

网络工程

实验室

同组同学:

实验目的:

(1)了解锐捷系列交换机和路由器的几种配置模式;

(2)了解交换机与路由器的作用;

(3)掌握交换机与路由器的基本配置方法与命令。

实验要求:

(1)写出给交换机或路由器命名的过程;

(2)写出交换机和路由器的其它常用配置过程。

了解锐捷系列交换机和路由器的几种配置模式,掌握交换机与路由器的基

本配置方法与命令。

用户模式

特权模式

全局配置模式

接口配置模式

VLAN配置模式

交换机的基本配置:

Red_Giant>enable

Password:

xcu2008

Red_Giant#configureterminal

Red-Giant(config)#hostnameSwitchA

SwitchA(config)#interfacefa0/1

SwitchA(config)#exit

实SwitchA(config)#exit

SwitchA(config)#vlan10

SwitchA(config)#exit

SwitchA(config)#interfacerangefa0/1-3

SwitchA(config)#switchportmodeaccess

SwitchA(config)#intf0/24

SwitchA(config)#switchportmodetrunk

SwitchA#showinterface

 

第4页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

 

显示交换机switchA的全部配置

 

 

1.交换机和路由器经常被用于何种场合?

交换机经常用在局域网中,路由器经常用在不同网络之间的通信进行数据

转发。

2.为路由器的广域网接口1配置ip地址211.67.188.3,请填空:

RouterA(config)#

ints1/3

!

进入相应接口

RouterA(config-if)#

ipaddress211.67.188.3

配置ip地址

教师签名:

第5页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

 

实验三

 

实验名称:

PPP认证。

实验时间:

2010年11月8日

实验地点:

网络工程

实验室

同组同学:

实验目的:

(1)掌握PPPPAP认证的过程及配置;

(2)掌握PPPCHAP认证的过程及配置。

实验要求:

(1)写出在路由器上配置PPPPAP认证的过程;

(2)写出在路由器上配置PPPCHAP认证的过程。

一、PPP介绍

PPP(Point-to-PointProtocol点到点协议)是为在同等单元之间传输数

据包的链路层协议。

这种链路提供全双工操作,并按照顺序传递数据包。

设计目的主要是用来通过拨号或专线方式建立点对点连接发送数据,使其

成为各种主机、网桥和路由器之间简单连接的一种共通的解决方案。

二、PPP链路建立过程:

PPP协议中提供了一整套方案来解决链路建立、维护、拆除、上层协

验议协商、认证等问题。

PPP协议包含这样几个部分:

链路控制协议LCP(Link

前ControlProtocol);网络控制协议NCP(NetworkControlProtocol);认证协

议,最常用的包括口令验证协议PAP(PasswordAuthenticationProtocol)

和挑战握手验证协议CHAP(Challenge-HandshakeAuthenticationProtocol)。

三、认证方式

口令验证协议(PAP)

挑战-握手验证协议(CHAP)

 

第6页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

 

路由器Ra的配置:

Router>en

Router#conft

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

Router(config)#hostnameRa

Ra(config)#ints0/0

Ra(config-if)#ipadd172.16.2.1255.255.255.0

Ra(config-if)#noshutdown

%LINK-5-CHANGED:

InterfaceSerial0/0,changedstatetodown

Ra(config-if)#clockrate64000

Ra(config)#usernameRapassword0star

实Ra(config)#ints0/0

验Ra(config-if)#encapsulationppp

过Ra(config-if)#pppauthenticationpap

描述Ra当前配置命令:

Ra#showrun

Buildingconfiguration...

Currentconfiguration:

460bytes

!

version12.2

noservicepassword-encryption

!

hostnameRa

!

!

!

!

!

usernameRapassword0star

!

ipsshversion1

!

!

 

第7页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

interfaceFastEthernet0/0

noipaddress

duplexauto

speedauto

shutdown

!

interfaceFastEthernet0/1

noipaddress

duplexauto

speedauto

shutdown

!

interfaceSerial0/0

ipaddress172.16.2.1255.255.255.0

encapsulationppp

pppauthenticationpapclockrate64000

!

ipclassless

!

!

!

!

!

linecon0

linevty04

login

!

!

End

 

路由器Rb的配置:

Router>en

Router#conft

Enterconfigurationcommands,oneperline.EndwithCNTL/Z.

Router(config)#hostnameRb

Rb(config)#ints0/0

Rb(config-if)#ipadd172.16.2.2255.255.255.0

Rb(config-if)#noshu

%LINK-5-CHANGED:

InterfaceSerial0/0,changedstatetoupRb(config-if)#encapsulationpppRb(config-if)#ppppapsent-usernameRapassword0star

第8页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

Rb(config-if)#

%LINEPROTO-5-UPDOWN:

LineprotocolonInterfaceSerial0/0,changedstateto

up

%SYS-5-CONFIG_I:

ConfiguredfromconsolebyconsoleRb#

Rb当前配置命令:

Rb#showrun

Buildingconfiguration...

Currentconfiguration:

430bytes

!

version12.2

noservicepassword-encryption

!

hostnameRb

!

!

!

!

!

ipsshversion1

!

!

interfaceFastEthernet0/0

noipaddress

duplexauto

speedauto

shutdown

!

interfaceFastEthernet0/1

noipaddress

duplexauto

speedauto

shutdown

!

interfaceSerial0/0

ipaddress172.16.2.2255.255.255.0

encapsulationppp

ppppapsent-usernameRapassword0star

!

ipclassless

!

 

第9页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

!

!

!

!

linecon0

linevty04

login

!

!

end

 

根据自己的理解,写出PPP认证的作用:

 

PPP的认证包括PAP跟CHAP的作用都是来验证用户的帐号及密码。

PAP

回会把明文送出来做验证,所以不安全。

CHAP则是双方都把随机乱数+密码、透

答过杂凑函数来运算,所以网路上只会监看到杂凑函数的种类及随机乱数,不会问

题看到密码,安全性很高。

 

教师签名:

 

第10页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

 

实验四

 

实验名称:

Vlan的基本配置。

实验时间:

2010年11月17日

实验地点:

网络工程

实验室

同组同学:

实验目的:

(1)认识交换机的几种工作模式和进入方式;

(2)了解vlan的用途、工作原理和几种实现技术;

(3)掌握vlan的配置方法。

实验要求:

(1)交换机上连接两台主机,测试主机联通性;

(2)在交换机上分别创建两个vlan,并为它们分配相应的端口;

(3)测试vlan内连通性和vlan间连通性。

VLAN(VirtualLocalAreaNetwork)的中文名为"虚拟局域网"。

VLAN是一

种将局域网设备从逻辑上划分成一个个网段,从而实现虚拟工作组的新兴数据交

换技术。

这一新兴技术主要应用于交换机和路由器中,但主流应用还是在交换机

之中。

但又不是所有交换机都具有此功能,只有VLAN协议的第三层以上交换机

才具有此功能,这一点可以查看相应交换机的说明书即可得知。

 

 

第11页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

交换机A的当前配置命令:

SwitchA#showrun

Buildingconfiguration...

Currentconfiguration:

1087bytes

!

version12.2

noservicetimestampslogdatetimemsec

noservicetimestampsdebugdatetimemsec

noservicepassword-encryption

!

hostnameSwitchA

!

!

!

interfaceFastEthernet0/1

switchportaccessvlan10

!

interfaceFastEthernet0/2

实!

验interfaceFastEthernet0/3

过!

程interfaceFastEthernet0/4

描!

述interfaceFastEthernet0/5switchportaccessvlan20

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

 

第12页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

!

interfaceFastEthernet0/15

!

interfaceFastEthernet0/16

!

interfaceFastEthernet0/17

!

interfaceFastEthernet0/18

!

interfaceFastEthernet0/19

!

interfaceFastEthernet0/20

!

interfaceFastEthernet0/21

!

interfaceFastEthernet0/22

!

interfaceFastEthernet0/23

!

interfaceFastEthernet0/24

switchportmodetrunk

!

interfaceGigabitEthernet1/1

!

interfaceGigabitEthernet1/2

!

interfaceVlan1

noipaddress

shutdown

!

!

linecon0

!

linevty04

login

linevty515

login

!

!

end

交换机B的当前配置命令:

SwitchB#showrun

Buildingconfiguration...

 

第13页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

Currentconfiguration:

1060bytes

!

version12.2

noservicetimestampslogdatetimemsec

noservicetimestampsdebugdatetimemsec

noservicepassword-encryption

!

hostnameSwitchB

!

!

interfaceFastEthernet0/1

switchportaccessvlan10

!

interfaceFastEthernet0/2

!

interfaceFastEthernet0/3

!

interfaceFastEthernet0/4

!

interfaceFastEthernet0/5

!

interfaceFastEthernet0/6

!

interfaceFastEthernet0/7

!

interfaceFastEthernet0/8

!

interfaceFastEthernet0/9

!

interfaceFastEthernet0/10

!

interfaceFastEthernet0/11

!

interfaceFastEthernet0/12

!

interfaceFastEthernet0/13

!

interfaceFastEthernet0/14

!

interfaceFastEthernet0/15

!

interfaceFastEthernet0/16

!

interfaceFastEthernet0/17

 

第14页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

!

interfaceFastEthernet0/18

!

interfaceFastEthernet0/19

!

interfaceFastEthernet0/20

!

interfaceFastEthernet0/21

!

interfaceFastEthernet0/22

!

interfaceFastEthernet0/23

!

interfaceFastEthernet0/24

switchportmodetrunk

!

interfaceGigabitEthernet1/1

!

interfaceGigabitEthernet1/2

!

interfaceVlan1

noipaddress

shutdown

!

!

linecon0

!

linevty04

login

linevty515

login

!

!

end

1.交换机A上1端口的PC机Ping交换机B上1端口的PC机:

 

第15页共42页

计算机科学与技术学院《计算机网络》课程实验教学手册

2.交换机B上1端口的PC机Ping交换机A上1端口的PC机:

 

3.交换机A上1端口的PC机Ping交换机A上5端口的PC机:

 

根据实验情况,将下表填写完整。

ping命令

能否ping通

同一VLAN中

PCApi

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 中国风

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1