《网络互联组网配置技术》课程设计报告网络互联组网配置技术_第1页
《网络互联组网配置技术》课程设计报告网络互联组网配置技术_第2页
《网络互联组网配置技术》课程设计报告网络互联组网配置技术_第3页
《网络互联组网配置技术》课程设计报告网络互联组网配置技术_第4页
《网络互联组网配置技术》课程设计报告网络互联组网配置技术_第5页
已阅读5页,还剩19页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、网络互联组网配置技术网络互联组网配置技术课程设计报告设计题目: 网络互联组网配置技术 专 业: 网 络 技 术 班 级: 姓 名: 指导教师: 彭 祺 二一一年 十二 月 三十一 日目录1、课程设计目的32、课程设计题目描述和要求43、课程设计报告内容53. 1 实验准备53. 1. 1 硬件设备53. 1. 2 网线制作53. 2 交换机的基本配置63. 2. 1 配置远程登录密码及特权登录密码63. 2. 2 交换机vlan的划分73. 2. 3 三层交换机的配置932. 4 三层交换机的vlan划分103. 3 路由器的基本配置13 3. 3. 1 静态路由表的配置13 3. 3. 2

2、rip、ospf动态路由配置143. 3. 3 ppp、hdlc封装协议173. 3. 4 ip地址访问列表配置204、总结225、参考书目231、课程设计目的网络互联技术课程是计算机网络技术专业的核心技术课程,网络互联技术课程实训是计算机网络专业实践教学的重要组成部分。 网络互联技术课程实训教学内容以计算机网络原理和相关协议为基础,以企业局域网互联的实施及网络安全管理与维护、internet接入方案等综合实践能力为培养目标,将理论和实践有机的结合,培养学生解决实际问题的能力。 学生通过本次实训,能在进一步巩固计算机网络的基本原理及相关协议的基础上,掌握各种网络设备的功能,应用的场合、安装于配

3、置方案、网络安全配置实施、网络设备的售后技术支持等,并能自己完成企业组方案的设计,网络设备的选择、internet接入方案的实施等相关技术的工作。 2.课程设计题目描述和要求 课程设计,重点讲述网络拓扑结构、网络协议、网络互联等理论知识;组建网络互联所需要硬件设备,从传输介质开始,包括传输介质的相关制作方法,所对应使用的传输介质接口等;对交换机配置、调试的实现方法进行讲解,从交换机的基本配置到高级应用配置一一讲解;对组网必不可少的路由器从静态路由配置到策略路由配置分别予以讲述,对路由器的访问控制列表、网络地址转换做重点阐述;校园网的组建方法。 要求: 熟练掌握网线的制作及使用; 了解交换机、路

4、由器的功能和使用; 熟练掌握交换机的配置及路由器的配置; 学习组建局域网。3、课程设计报告内容3.1 实验环境3. 1. 1 硬件设备 10台cisco思科2620以上(含2620)型号的路由(每个路由必须内置至少两个快速以太网接口和一个串口) 20台cisco思科2950以上(2950)型号的二层交换机(每个交换机必须提供端口镜像功能、vip支持、生成树协议支持,并且必须哪呢过配合路由器完成单臂路由实验) 5台cisco思科3550以上(含3550)型号的三层交换机 若干思科专用的console控制口配置电缆 若干交叉网线和直通网线 至少30根1.5米长交叉线:用于交换机与交换机,路由与路由

5、器、主机和路由器以太网接口的连接。 至少30根1.5米长的直通线:用于主机与交换机与路由器之间的连接3. 1. 2 网线制作工具及材料:压线钳、剥线刀、偏口钳、rj-45水晶头、双绞线。双绞线的颜色标准:eia/tia t568a:白绿、绿、白橙、蓝、白蓝、橙、白棕、棕;eia/tia t568b:白橙、橙、白绿、蓝、白蓝、绿、白棕、棕。制作一根t568a接口的交叉线,一根t568b接口的交叉线,一根一头为t568a接口一头为t568b接口的直通线。3. 2 交换机的基本配置3. 2. 1 配置远程登录密码及特权登录密码一台交换机、两台pc机: 拓扑图形一、 实验过程:首先配置pc机的ip地址

6、为:pc1:192.168.1.2 pc2:192.168.1.3默认网关为:192.168.1.1子网掩码为:255.255.255.0利用“超级终端”程序进入交换机配置方式下配置交换机管理ip,键入命令:进入全局模式:switch#configure terminal 进入vlan 1 接口模式:switch(config)#interface vlan 1 配置管理ip地址为 192.168.1.1 :switch(config - if)#ip address 192.168.1.1 255.255.255.0 启用该端口:switch(config - if)#no shutdown

7、telnet登录密码的设置: 进入全局模式:switch#configure terminalenter configuration commands, one per line. end with cntl/z.配置terminal line 参数:switch(config)#line vty 0 15设置密码:switch(config - line)#password 123456switch(config - line)#loginswitch(config - line)#exit在全局模式下配置特权登录密码:switch#configure terminalenter confi

8、guration commands, one per line. end with cntl/z.switch(config)#enable password 123456switch(config)#exit测试登录密码:switchenpassword:switch#configure terminalenter configuration commands, one per line. end with cntl/z.3. 2. 2 交换机vlan的划分两台交换机、四台pc机,不同vlan配置:拓扑图形host a与host c 同一vlan;host b与host d 同一vlan;实

9、现同一vlan之间互通。二、实验过程:switch 1的配置:switchenableswitch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#vlan database switch(config)#vlan 100 vlan 100 added: name:vlan0100switch(config)#vlan 200vlan 200 added:name:vlan0200 switch(config)#exitswitch#configure te

10、rminalenter configuration commands, one per line. end with cntl/z.switch(config)#interface fastethernet 0/2switch(config-if)#switchport access vlan 100switch(config-if)#exitswitch(config)#interface fastethernet 0/3switch(config-if)#switchport access vlan 200switch(config-if)#exitswitch(config)#exits

11、witch#show vlan设置trunk 中继线路:switch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#inter fastethernet 0/1switch(config-if)#switchport mode trunk switch(config-if)#exitswitch 2 的配置:switchenableswitch#configure terminalenter configuration commands, one per

12、line. end with cntl/z.switch(config)#vlan database switch(config)#vlan 100 vlan 100 added: name:vlan0100switch(config)#vlan 200vlan 200 added:name:vlan0200 switch(config)#exitswitch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#interface fastethernet 0/

13、2switch(config-if)#switchport access vlan 100switch(config-if)#exitswitch(config)#interface fastethernet 0/3switch(config-if)#switchport access vlan 200switch(config-if)#exitswitch(config)#exitswitch#show vlan设置trunk中继线路:switch#configure terminalenter configuration commands, one per line. end with c

14、ntl/z.switch(config)#inter fastethernet 0/1switch(config-if)#switchport mode trunk switch(config-if)#exit32. 3 三层交换机的配置一台三层交换机、两台二层交换机、四台pc机: 拓扑图形二、实验过程:switch a三层交换机配置: switchenableswitch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#interface fastethe

15、rnet 0/1switch(config-if)#no switchportswitch(config-if)#ip address 192.168.1.1 255.255.255.0switch(config-if)#no shutdownswitch(config-if)#exitswitch(config)#interface fastethernet 0/2switch(config-if)#no switchport switch(config-if)#ip address 192.168.2.1 255.255.255.0switch(config-if)#no shutdown

16、switch(config-if)#exit启动三层交换机的ip路由功能:switch(config)#ip routingswitch(config)#exit显示三层交换机的路由表信息:switch#show ip routegateway of last resort is not setc 192.168.1.0 is directly connected, fastethernet0/1c 192.168.2.0 is directly connected, fastethernet0/2显示三层交换机三层端口配置:switch#show protocolsglobal values

17、: internet protocol routing is enabledfastethernet0/1 is up, line protocol is up internet address is 192.168.1.1/24fastethernet0/2 is up, line protocol is up internet address is 192.168.2.1/243. 2. 4 三层交换机的vlan划分三层交换机vlan换分,使 1 网段与 2 网段互不通信拓扑图形switch a三层交换机配置: switchenableswitch#configure terminalen

18、ter configuration commands, one per line. end with cntl/z.switch(config)#interface fastethernet 0/1switch(config-if)#no switchportswitch(config-if)#ip address 192.168.1.1 255.255.255.0switch(config-if)#no shutdownswitch(config-if)#exitswitch(config)#interface fastethernet 0/2switch(config-if)#no swi

19、tchport switch(config-if)#ip address 192.168.2.1 255.255.255.0switch(config-if)#no shutdownswitch(config-if)#exitswitch(config)#ip routingswitch(config)#exitswitch(config)#enableswitch#vlan databaseswitch(vlan)#vlan 100vlan 100 added: name:vlan0100switch(vlan)#vlan 200vlan 200 added: name:vlan0200sw

20、itch(vlan)#exitapply completed.exiting.switch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#hostname switchaswitcha(config)#interface vlan 100switcha(config-if)#ip address 192.168.1.1 255.255.255.0switcha(config-if)#exitswitcha(config)#interface vlan 20

21、0switcha(config-if)#ip address 192.168.2.1 255.255.255.0switcha(config-if)#exitswitcha(config)#interface fastethernet 0/1switcha(config-if)#switchport mode trunkswitcha(config-if)#switchport trunk encapsulation dot1qswitcha(config-if)#exitswitcha(config)#interface fastethernet 0/2switcha(config-if)#

22、switchport mode trunkswitcha(config-if)#switchport trunk encapsulation dot1qswitcha(config-if)#exitswitchb二层交换机的配置: switchenableswitch#vlan databaseswitch(vlan)#vlan 100switch(vlan)#exitswitch#configure terminalenter configuration commands, one per line. end with cntl/z.switch(config)#hostname switc

23、hbswitchb(config)#interface fastethernet 0/1switchb(config-if)#switchport mode trunkswitchb(config-if)#switchport trunk encapsulation dot1qswitchb(config-if)#exitswitchb(config)#interface fastethernet 0/3switchb(config-if)#switchport mode accessswitchb(config-if)#switchport access vlan 100switchb(co

24、nfig-if)#exitswitchb(config)#interface fastethernet 0/4switchb(config-if)#switchport mode accessswitchb(config-if)#switchport access vlan 100switchb(config-if)#exitswitchc二层交换机的配置:switchenableswitch#vlan databaseswitch(vlan)#vlan 200switch(vlan)#exitswitch#configure terminalenter configuration comma

25、nds, one per line. end with cntl/z.switch (config)#hostname switchcswitchc(config)#interface fastethernet 0/2switchc(config-if)#switchport mode trunkswitchc(config-if)#switchport trunk encapsulation dot1qswitchc(config-if)#exitswitchc(config)#interface fastethernet 0/3switchc(config-if)#switchport m

26、ode accessswitchc(config-if)#switchport access vlan 200switchc(config-if)#exitswitchc(config)#interface fastethernet 0/4switchc(config-if)#switchport mode accessswitchc(config-if)#switchport access vlan 2003. 3 路由器的基本配置33. 1 静态路由表的配置配置静态路由表:ip route 目的网络地址 目的子网掩码 下一跳路由ip地址;拓扑图形router r1 配置: routeren

27、able router#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#hostname r1r1(config)#interface fastethernet 0/0r1(config-if)#ip address 192.168.1.1 255.255.255.0r1(config-if)#no shutdownr1(config-if)#interface serial 0r1(config-if)#ip address 192.168.2.1 255

28、.255.255.0r1(config-if)#clock rate 64000r1(config-if)#no shutdownr1(config-if)#exitr1(config)#exitr1#configure terminalr1(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2r1(config)#exitr1#show ip routerouter r2配置: routerenable router#configure terminalenter configuration commands, one per line

29、. end with cntl/z.router(config)#hostname r2r2(config)#interface fastethernet 0/0r2(config-if)#ip address 192.168.3.1 255.255.255.0r2(config-if)#no shutdownr2(config-if)#interface serial 0r2(config-if)#ip address 192.168.2.2 255.255.255.0r2(config-if)#no shutdownr2(config-if)#exitr2(config)#exitr2#c

30、onfigure terminalr2(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1r2(config)#exitr2#show ip route33. 2 rip、ospf动态路由配置rip动态路由配置命令:router ripnetwork ip-address(网络地址);拓扑图形routera的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#i

31、nterface fastethernet 0/0router(config-if)#ip address 192.168.1.1 255.255.255.0router(config-if)#no shutdownrouter(config-if)#interface serial 0router(config-if)#ip address 192.168.2.1 255.255.255.0router(config-if)#clock rate 64000router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#ro

32、uter riprouter(config-router)#network 192.168.1.0router(config-router)#network 192.168.2.0router#show ip routerouterb的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.3.1

33、255.255.255.0router(config-if)#no shutdownrouter(config-if)#interface serial 0router(config-if)#ip address 192.168.2.2 255.255.255.0router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#router riprouter(config-router)#network 192.168.2.0router(config-router)#network 192.168.3.0router#sho

34、w ip routeospf动态路由配置命令:router ospf process_id;拓扑图形routera的配置: routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.1.1 255.255.255.0router(config-if)#no shutdownrouter(config-if)

35、#interface serial 0router(config-if)#ip add 192.168.2.1 255.255.255.0router(config-if)#clock rate 64000router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#router ospf 1router(config-router)#network 192.168.2.0 0.0.0.255 area 0router(config-router)#network 192.168.1.0 0.0.0.255 area 0ro

36、uter(config-router)#exitrouter(config)#exitrouter#show ip routerouterb的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.3.1 255.255.255.0router(config-if)#no shutdownroute

37、r(config-if)#interface serial 0router(config-if)#ip address 192.168.2.2 255.255.255.0router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#router ospf 1router(config-router)#network 192.168.2.0 0.0.0.255 area 0router(config-router)#network 192.168.3.0 0.0.0.255 area 0router(config-router

38、)#exitrouter#show ip route33. 3 ppp、hdlc封装协议ppp封装配置:拓扑图形routera的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#hostname r1 r1(config)#enable secret 123456r1(config)#username r2 password 123456r1(config)#interface fastethernet 0/0r1(

39、config-if)#ip address 192.168.1.1 255.255.255.0r1(config-if)#no shutdownr1(config-if)#exitr1(config)#interface serial 0 r1(config-if)#ip address 192.168.2.1 255.255.255.0r1(config-if)#encapsulation pppr1(config-if)#clock rate 64000r1(config-if)#ppp authentication chapr1(config-if)#no shutdownr1(conf

40、ig-if)#exitr1(config)#route ripr1(config-router)#network 192.168.1.0r1(config-router)#network 192.168.2.0r1(config-router)#exitr1(config)#exitr1#show ip routerouterb的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#hostname r2r2(confi

41、g)#enable secret 123456r2(config)#username r2 password 123456r2(config)#interface fastethernet 0/0 r2(config-if)#ip address 192.168.3.1 255.255.255.0r2(config-if)#no shutdownr2(config-if)#interface serial 0r2(config-if)#ip address 192.168.2.2 255.255.255.0r2(config-if)#encapsulation pppr2(config-if)

42、#ppp authentication chapr2(config-if)#no shutdownr2(config-if)#exitr2(config)#route ripr2(config-router)#network 192.168.2.0r2(config-router)#network 192.168.3.0r2(config-router)#exitr2(config)#exitr2#show ip router封装hdlc协议:拓扑图形routea的配置:routerenable router#configure terminalenter configuration comm

43、ands, one per line. end with cntl/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.1.1 255.255.255.0router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#interface serial 0router(config-if)#ip add 192.168.2.1 255.255.255.0router(config-if)#encapsulation hdl

44、crouter(config-if)#clock rate 64000router(config-if)#no shutdownrouter(config-if)#exitrouter(config)#exitrouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#route riprouter(config-router)#network 192.168.1.0router(config-router)#network 192.168.2.0rout

45、er(config-router)#exitrouter(config)#exitrouter#show ip routerouteb的配置:routerenable router#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.3.1 255.255.255.0router(config-if)#no shutdownrouter(

46、config-if)#interface serial 0router(config-if)#ip address 192.168.2.2 255.255.255.0router(config-if)#encapsulation hdlcrouter(config-if)#no shutdownrouter(config-if)#exitrouter(config)#exitrouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#route rip r

47、outer(config-router)#network 192.168.2.0router(config-router)#network 192.168.3.0router(config-router)#exitrouter(config)#exitrouter#show ip route33. 4 ip地址访问列表配置两台路由、四台pc,使两台路由之间建立包过滤:拓扑图形acl配置:router1 的配置:routerenablerouter#configure terminalenter configuration commands, one per line. end with cnt

48、l/z.router(config)#interface fastethernet 0/0router(config-if)#ip address 192.168.1.1 255.255.255.0router(config-if)#no shutdownrouter(config-if)#interface fastethernet 0/1router(config-if)#ip address 192.168.2.1 255.255.255.0router(config-if)#no shutdownrouter(config-if)#interface serial 0router(co

49、nfig-if)#ip address 192.168.5.1 255.255.255.0router(config-if)#encapsulation ppprouter(config-if)#clock rate 64000router(config-if)#no shutdownrouter#configure terminalenter configuration commands, one per line. end with cntl/z.router(config)#route riprouter(config-router)#network 192.168.2.0router(config-router)#network 192.168.1.0router(config-router)#network 192.168.5.0router(config-router)#exitrouter2的配置:routerenablerouter#configure terminalent

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论