小型校园网地设计与组建实验报告材料.doc

上传人:李司机 文档编号:1132074 上传时间:2022-06-30 格式:DOC 页数:18 大小:101.76KB
返回 下载 相关 举报
小型校园网地设计与组建实验报告材料.doc_第1页
第1页 / 共18页
小型校园网地设计与组建实验报告材料.doc_第2页
第2页 / 共18页
小型校园网地设计与组建实验报告材料.doc_第3页
第3页 / 共18页
小型校园网地设计与组建实验报告材料.doc_第4页
第4页 / 共18页
小型校园网地设计与组建实验报告材料.doc_第5页
第5页 / 共18页
点击查看更多>>
资源描述

《小型校园网地设计与组建实验报告材料.doc》由会员分享,可在线阅读,更多相关《小型校园网地设计与组建实验报告材料.doc(18页珍藏版)》请在三一办公上搜索。

1、小型校园网的设计与组建实验报告一实验目的计算机网络是一门实践性较强的技术,课堂教学应该和实践环节严密结合。计算机网络实验培养学生具有独立进展计算机网络架构和设计能力,提高学生的网络设备使用水平,以与将理论与实践相结合的能力。二实验环境与设备2台路由器、2台交换机、3台PC机三实验的内容和要求根据要求,设计并搭建一个校园网。要求进展子网划分和结构设计,并将网络结构建立起来。最后完成网络设备的调试。四实验说明某大学分为总校和分校,为该校设计校园网,总校有一个局域网共20台计算机,分校由VLAN划分为两个局域网,分别有10台计算机。该校被分配了一个C类网段,总校和分校各有一台路由器与一台交换机。请进

2、展网络设计,将总校和分校各个局域网连接起来。根据要求,设计IP地址分配表,设计网络结构,画出网络拓扑图。根据设计搭建网络结构。配置网络设备,完成网络调试。提示:1使用IP子网掩码的原理设计IP地址分配表。 2用到的设备为两台路由器,以与两台交换机。五实验设计一、设计思路总校局域网20台计算机,分校2个局域网各有10台计算机,假如要满足要求,如此至少需要5位主机位,即大小为25=32台主机的局域网。由于是C类网段,最后8计算机ID码5位用作主机号,还有3位可以用作子网号,即可以划分23-2=6个子网000和111不可用作子网号,因此子网掩码为1111 1111.1111 1111.1111 11

3、11.1110 0000。而总校、分校各个局域网只需从6个子网中任选其一并且不重复即可。由此可以设计IP分配表如下二、IP分配表用途网段网络号子网掩码子网号起始IP地址完毕IP地址总校网1001路由器间2010分校网13011分校网24100三、拓扑结构routerArouterBswitchAswitchBPc111111pc2pc3网段2:网段1:网段3:网段4:六实验配置本人做主校交换机和路由器配置主校交换机配置switchAen 14Password:switchA#configure terminalEnter configuration mands, one per line. E

4、nd with TL/Z.switchA(config)#vlan 30/创建vlanswitchA(config-vlan)#exitswitchA(config)#exitswitchA#configureEnter configuration mands, one per line. End with TL/Z.switchA(config)#interface range fastEthernet 0/1-20/将1-20端口划入vlan30中switchA(config-if-range)#switchport access vlan 30switchA(config-if-rang

5、e)#exitSwitch (config)# interface fastethernet 0/24 Switch (config-if)# switchport mode trunk !配置trunk端口Switch (config-if)# endswitchA(config)#exitswitchA#show vlan/对switchA的配置进展验证VLAN Name Status Ports- - - -1 default active Fa0/21,Fa0/22,Fa0/23,Fa0/24, 30 VLAN0030 active Fa0/1 ,Fa0/2 ,Fa0/3 ,Fa0/4

6、Fa0/5 ,Fa0/6 ,Fa0/7 ,Fa0/8Fa0/9 ,Fa0/10,Fa0/11,Fa0/12Fa0/13,Fa0/14,Fa0/15,Fa0/16 Fa0/17,Fa0/18,Fa0/19,Fa0/20 Fa0/24switchA#Press RETURN to get started!主校路由器配置R2632en 14Password:R2632#configure terminalEnter configuration mands, one per line. End with TL/Z.R2632(config)#show ip interface brief/查看路由器的

7、端口Interface IP-Address(Pri) OK? Statusserial 4/0 no address YES DOWNserial 4/1 no address YES DOWNFastEthernet 3/0 no address YES DOWNFastEthernet 3/1 no address YES DOWNNull 0 no address YES UPR2632(config-subif)#encapsulation dot1Q 30R2632(config-subif)#exitR2632(config)#show ip interface briefInt

8、erface IP-Address(Pri) OK? Statusserial 4/0 no address YES DOWNserial 4/1 no address YES DOWNFastEthernet 3/0 no address YES DOWNFastEthernet 3/1 no address YES DOWNNull 0 no address YES UPR2632(config)#exitR2632#Configured from console by consoleR2632#conEnter configuration mands, one per line. End

9、 with TL/Z.R2632(config)#interface serial 4/0R2632(config-if)#ip ad/设置交换机ip地址和子网掩码R2632(config-if)#no shutdownR2632(config-if)#endR2632#Configured from console by consoleR2632#show ip interface briefInterface IP-Address(Pri) OK? StatusYES UPserial 4/1 no address YES DOWNFastEthernet 3/0 no address Y

10、ES DOWNFastEthernet 3/1 no address YES DOWNNull 0 no address YES UPR2632#conEnter configuration mands, one per line. End with TL/Z./写入静态路由表R2632(config)#endR2632#Configured from console by consoleR2632#show ip route/对主校路由器配置验证Codes: C - connected, S - static, R - RIP O - OSPF, IA - OSPF inter area N

11、1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 * - candidate defaultGateway of last resort is no setC 210.100.10.64/27 is directly connected, serial 4/0R2632#分校的交换机和路由器配置由小组另一成员完成分校交换机配置SwitchAenable 14Password:Switcha#configure ter

12、minal !进入全局配置模式 SwitchA(config)#SwitchA(config)#vlan 10SwitchA(config-vlan)#exitSwitchA(config)#vlan 20SwitchA(config-vlan)#exitswitchA(config)#interface range fastEthernet 0/1-10switchA(config-if-range)#switchport access vlan 10SwitchA(config-if)#exitSwitchA(config)#interface range fastethernet 0/1

13、1-20SwitchA(config-if-range)#switchaport access vlan 20SwitchA(config-if)#exitSwitchA(config)#interface fastethernet 0/24SwitchA(config-if)#switchaport mode trunkSwitchA(config-if)#endSwitchA#show vlan/对switchA的配置进展验证VLAN Name Status Ports- - - -1 default active Fa0/23,Fa0/2410 network2 active Fa0/1

14、 ,Fa0/2 ,Fa0/3 ,Fa0/4 Fa0/5 ,Fa0/6 ,Fa0/7 ,Fa0/8 Fa0/9 ,Fa0/10,Fa0/2420 network3 active Fa0/11,Fa0/12,Fa0/13,Fa0/14 Fa0/15,Fa0/16,Fa0/17,Fa0/18 Fa0/19,Fa0/20,Fa0/24SwitchA#Press RETURN to get started!分校路由器配置R2632en 14Password:R2632#conEnter configuration mands, one per line. End with TL/Z.R2632#conE

15、nter configuration mands, one per line. End with TL/Z.R2632(config)#interface serial 4/0R2632(config-if)#clock rate 64000R2632(config-if)#no shutdownR2632(config-if)#exitR2632(config)#interface fastEthernet 3/0R2632(config-if)#no ip addressR2632(config-if)#no shutdownR2632(config-if)#exitR2632(confi

16、g-subif)#no ip addressR2632(config-subif)#exitR2632(config-subif)#encapsulation dot1Q 10R2632(config-subif)#exitR2632(config-subif)#encapsulation dot1Q 20R2632(config-subif)#endR2632#Configured from console by consoleR2632#show ip interface brief/对分校路由器配置验证Interface IP-Address(Pri) OK? StatusYES UPs

17、erial 4/1 no address YES DOWNFastEthernet 3/0 no address YES DOWNFastEthernet 3/1 no address YES DOWNNull 0 no address YES UPR2632#conEnter configuration mands, one per line. End with TL/Z.R2632(config)#endR2632#Configured from console by consoleR2632#show ip routeCodes: C - connected, S - static, R

18、 - RIP O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 * - candidate defaultGateway of last resort is no setC 210.100.10.64/27 is directly connected, serial 4/0R2632#R2632 CON0 is now availablePress RE

19、TURN to get started七实验测试分校之间的通信:pc2 与pc3之间通信pc3Pc2主校与分校的通信:pc1与pc3之间通信pc1pc3:八思考题1要使总校局域网能够与分校两个局域网通信,如何配置静态路由?分别为分校的两个网段配置静态路由,并且全部经过的连接分校交换机的路由器。针对本实验,具体配置为:Router1# configure terminalRouter1(config)#iproute210.100.10.128255.255.255.224210.100.10.66Router1(config)#end2如果分校两个局域网分别有20台主机,交换机快速以太网口是否够用?如不够用,如此如何解决该问题?不够用,因为,交换机共有24个快速以太网口,其中一个作为trunk口,剩余23个。假如接两个局域网,共20*2=40台主机,快速以太网口不够用。需要再加一个交换机或者更换一个有41个以上快速以太网口的交换机。

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

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号