网络组建与设计实习报告
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
实
习
报
告
实习课题:1教和4#男生公寓网络配置班级:电信(3)081
姓名:帅勇
指导老师:石宏宇
实习时间:2010.9.7-9.10
一.实习目的
为了能使我们在上学期所学的原理和理论能得到实践和我
们班进行了为期一个星期的网络组建与试调,在实习中主要是
用要求同学们能认识交换机和路由器能工作结构,认识一些简单的网络结构图,能通过对网络交换机和路由的配置实现网络的互联,能掌握一些简单的交换机配置命令。
二.一号教学楼和四号公寓楼网络拓扑图
三.网络配置概述
一号教学楼和四号公寓楼设为同一个网段,划为vlan 2,vlan 3,vlan 4和vlan 5五个vlan,其中办公室和教务处划为一个vlan,财务室划为一个vlan,学生处和值班室划为一个vlan,学生机划为一个vlan.
四.核心层交换机
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#exit
Switch(config)#vlan 4
Switch(config-vlan)#exit
Switch(config)#vlan 5
Switch(config-vlan)#exit
Switch(config)#int range f0/1-5
Switch(config-if-range)#switchport mode trunk
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int f0/1
Switch(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
Switch(config-if)#exit
Switch(config)#int range f0/3-4
Switch(config-if-range)#switchport mode trunk
五.一号教学楼接入层交换机
Switch>en
Switch#configure terminal
Switch(config)#hostname shuaiyong-1
shuaiyong-1(config)#enable password 123
shuaiyong-1(config)#line vty 0 4
shuaiyong-1(config-line)#password 456
shuaiyong-1(config-line)#login
shuaiyong-1(config-line)#exit
shuaiyong-1(config)#int vlan 1
shuaiyong-1(config-if)#ip add
shuaiyong-1(config-if)#ip address 192.168.1.1 255.255.255.0
% 192.168.1.0 overlaps with Vlan20
shuaiyong-1(config-if)#no shut
shuaiyong-1(config-if)#exit
shuaiyong-1(config)#vlan 2
shuaiyong-1(config-vlan)#exit
shuaiyong-1(config)#vlan 3
shuaiyong-1(config-vlan)#exit
shuaiyong-1(config)#vlan 4
shuaiyong-1(config-vlan)#exit
shuaiyong-1(config)#vlan 5
shuaiyong-1(config-vlan)#exit
shuaiyong-1(config)#vlan 6
shuaiyong-1(config-vlan)#exit
shuaiyong-1(config)#int vlan 6
shuaiyong-1(config-if)#ip address 192.168.2.1 255.255.255.0
% 192.168.2.0 overlaps with Vlan10
shuaiyong-1(config-if)#no shut
shuaiyong-1(config-if)#exit
shuaiyong-1 (config)#int vlan 3
shuaiyong-1(config-if)#ip address 192.168.1.1 255.255.255.0 % 192.168.1.0 overlaps with Vlan1
shuaiyong-1config-if)#no shut
shuaiyong-1 (config-if)#exit
shuaiyong-1(config)#int range f0/1 - 2
shuaiyong-1(config-if-range)#switchport mode trunk shuaiyong-1(config-if-range)#exit
shuaiyong-1(config)#spanning-tree mode rapid-pvst shuaiyong-1(config)#end
%SY1-CONFIG_I: Configured from console by console shuaiyong-1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
六.4#男生公寓楼交换机配置内容:
Switch>
Switch>en
Switch#conf
Switch(config)#hostname shuaiyong-4
shuaiyong-4(config)#enable password 123
shuaiyong-4(config)#line vty 0 4
shuaiyong-4(config-line)#password 456
shuaiyong-4(config-line)#login
shuaiyong-4(config-line)#exit
shuaiyong-4(config)#int vlan 1
shuaiyong-4(config-if)#ip address 192.168.1.1 255.255.255.0 shuaiyong-4(config-if)#no shut
shuaiyong-4(config-if)#int f0/4
shuaiyong-4(config-if)#exit
shuaiyong-4(config)#int f0/1
shuaiyong-4(config-if)#exit
shuaiyong-4(config-vlan)#exit
shuaiyong-4(config-if)#exit
shuaiyong-4(config)#int range f0/4-9
shuaiyong-4(config-if-range)#switchport access vlan 2 shuaiyong-4(config-if-range)#exit
shuaiyong-4(config)#int f0/1
shuaiyong-4(config-if)#switchport ACCess VLAN 6
shuaiyong-4(config-if)#EXIT
shuaiyong-4(config)#INT F0/10
shuaiyong-4(config-if)#switchport mode trunk
shuaiyong-4(config-if)#exit