




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、计算机网络实验报告 专 业: 信息管理与信息系统 课题名称: 小型局域网的构建 班 级: 学 号: 姓 名: 指导教师: 任务:小型局域网的构建【需求分析】某企业有公司办公室、财务部、销售部、设计部、生产部5个部门。每个部门预算配置2
2、00台电脑,公司使用一个B类网络地址129.250.0.0。现要求:1、 每个部门划分1个子网;2、 通过配置路由协议实现不同VLAN之间的主机能够互通。【实验任务】1、 完成企业网络拓扑方案设计;2、 列出所需网络设备、PC机的设备清单;3、 给出部门PC机的IP地址分配方案;4、 给出第三层VLAN设计方案;5、 给出路由器配置方案6、 验证调试。【实验环境】计算机操作系统:Windows 7;软件:Cisco Packet Tracer【实验任务设计】1、拓扑图: 2、所需网络设备、服务器、PC机的设备清单:设备名称数量主机1000二层交换机44三层交换机2网线若干3、部门PC机的IP地
3、址分配方案:VLAN号相应部门子网IP子网掩码2财务部129.250.1.0/24255.255.255.03销售部129.250.2.0/24255.255. 255.04办公室129.250.3.0/24255.255. 255.05设计部129.250.4.0/24255.255. 255.06生产部129.250.5.0/24255.255. 255.04、第三层VLAN设计方案VLAN号接口号三层交换机2Fa 0/1Multilayer Switch03Fa 0/24Fa 0/310Fa 0/45Fa 0/1Multilayer Switch16Fa 0/210Fa 0/4【实验内容
4、】一、安装packet tracker软件二、打开软件,添加五个两层交换机和两个三层交换机,主机10台然后用连接线连接各个部分三、配置两层交换机switch0Switch>enableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#vlan 2Switch(config-vlan)#name officeSwitch(config-vlan)#exit /创建vlan2 名称office(办公室)Switch(config)#vlan 3
5、Switch(config-vlan)#name financeSwitch(config-vlan)#exit /创建vlan3 名称 finance(财务部)Switch(config)#vlan 4Switch(config-vlan)#name salesSwitch(config-vlan)#exit /创建vlan4 名称 sales(销售部)Switch(config)#Switch(config)#interface FastEthernet0/1Switch(config-if)#Switch(config-if)#exitSwitch(config)#no vlan 3Sw
6、itch(config)#no vlan 4Switch(config)#Switch(config)#interface FastEthernet0/4Switch(config-if)#Switch(config-if)#exitSwitch(config)#interface FastEthernet0/4 /将端口fa0/4划分到vlan2Switch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 2Switch(config-if)#Switch(config-if)#exitSwitch(
7、config)#interface FastEthernet0/5 /将端口fa0/5划分到vlan2Switch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 2Switch(config-if)#Switch(config-if)#exitSwitch(config)#interface FastEthernet0/1 /将端口fa0/1设置TrunkSwitch(config-if)#Switch(config-if)#switchport mode trunkSwitch(config-if)
8、#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#switchport mode accessSwitch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 2Switch(conf
9、ig-if)#Switch(config-if)#exitSwitch(config)#Switch#四、配置三层交换机Switch>enableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#interface FastEthernet0/1Switch(config-if)#Switch(config-if)#switchport mode trunkCommand rejected: An interface whose trunk
10、 encapsulation is "Auto" can not be configured to "trunk" mode.Switch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to upSwitch(config-if)#exitSwitch(
11、config)#interface FastEthernet0/2Switch(config-if)#Switch(config-if)#switchport mode trunkCommand rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.Switch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, ch
12、anged state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upSwitch(config-if)#exitSwitch(config)#interface FastEthernet0/3Switch(config-if)#Switch(config-if)#switchport mode trunkCommand rejected: An interface whose trunk encapsulation is "Auto" c
13、an not be configured to "trunk" mode.Switch(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to upSwitch(config-if)#exitSwitch(config)#exitSwitch#vlan database% Wa
14、rning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.Switch(vlan)#%SYS-5-CONFIG_I: Configured from console by consolevlan 10 name vlan10VLAN 10 modified: Name: vlan10Switch(vl
15、an)#Switch(vlan)#Switch(vlan)#Switch(vlan)#Switch(vlan)#vlan 2 name office /创建vlan2 名称office(办公室)VLAN 2 modified: Name: officeSwitch(vlan)#vlan 3 name finance /创建vlan3 名称 finance(财务部)VLAN 3 modified: Name: financeSwitch(vlan)#vlan 4 name sales /创建vlan4 名称 sales(销售部)VLAN 4 modified: Name: salesSwitch
16、(vlan)#Switch(vlan)#exitAPPLY completed.Exiting.Switch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#interface FastEthernet0/1 /将端口fa0/1划分到vlan2Switch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 2Switch(config-if)#Switch(config
17、-if)#exitSwitch(config)#interface FastEthernet0/2 /将端口fa0/2划分到vlan3Switch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 3Switch(config-if)#Switch(config-if)#exitSwitch(config)#interface FastEthernet0/3 /将端口fa0/3划分到vlan4Switch(config-if)#Switch(config-if)#Switch(config-if)#swi
18、tchport access vlan 4 Switch(config-if)#Switch(config-if)#exitSwitch(config)#interface FastEthernet0/4 /将端口fa0/4划分到vlan10Switch(config-if)#Switch(config-if)#Switch(config-if)#switchport access vlan 10Switch(config-if)#(另外一个三层交换器配置相同)为不同vlan配置IP地址Switch>enSwitch>enSwitch>enable Switch#intSwi
19、tch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#intSwitch(config)#interface vlan 2Switch(config-if)#%LINK-5-CHANGED: Interface Vlan2, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan2, changed state to upSwitch(config-if)#ip addSwitch(confi
20、g-if)#ip address 129.250.1.1 255.255.255.0Switch(config-if)#intSwitch(config-if)#exitSwitch(config)#intSwitch(config)#interface vlan 3Switch(config-if)#%LINK-5-CHANGED: Interface Vlan3, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to upSwitch(config-if)#ip
21、addSwitch(config-if)#ip address 129.250.2.1 255.255.255.0Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface vlan 4Switch(config-if)#%LINK-5-CHANGED: Interface Vlan4, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to upSwitch(config-if)#ip addSwi
22、tch(config-if)#ip address 129.250.3.1 255.255.255.0Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface vlan 10Switch(config-if)#%LINK-5-CHANGED: Interface Vlan10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to upSwitch(config-if)#ip addSwitch
23、(config-if)#ip address 129.250.10.1 255.255.255.0Switch(config-if)#exitSwitch(config)#Switch>enSwitch>enSwitch>enable Switch#intSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#intSwitch(config)#interface vlan 5Switch(config-if)#%LINK-5-CHANGED: Interf
24、ace Vlan5, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan5, changed state to upSwitch(config-if)#ip addSwitch(config-if)#ip address 129.250.4.1 255.255.255.0Switch(config-if)#intSwitch(config-if)#exitSwitch(config)#intSwitch(config)#interface vlan 6Switch(config-if)#%LINK-5-
25、CHANGED: Interface Vlan6, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan6, changed state to upSwitch(config-if)#ip addSwitch(config-if)#ip address 129.250.5.1 255.255.255.0Switch(config-if)#exitSwitch(config)#intSwitch(config)#interface vlan 4Switch(config-if)#%LINK-5-CHANGE
26、D: Interface Vlan4, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan4, changed state to upSwitch(config-if)#ip addSwitch(config-if)#ip address 129.250.3.1 255.255.255.0Switch(config-if)#exitSwitch(config)#inSwitch(config)#interface vlan 10Switch(config-if)#%LINK-5-CHANGED: Int
27、erface Vlan10, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan10, changed state to upSwitch(config-if)#ip addSwitch(config-if)#ip address 129.250.10.2 255.255.255.0Switch(config-if)#exitSwitch(config)#使用OSPF动态路由协议为不同vlan配置路由Switch>enSwitch#conf tEnter configuration command
28、s, one per line. End with CNTL/Z.Switch(config)#rouSwitch(config)#router ospf 1IP routing not enabledSwitch(config)#Switch(config)#ip routing /启动路由协议Switch(config)#rouSwitch(config)#router ospf 1 /启动OSPF协议Switch(config-router)#netSwitch(config-router)#network 129.250.1.0 0.0.0.255 area 0 /左边交换器声明路由S
29、witch(config-router)#netSwitch(config-router)#network 129.250.2.0 0.0.0.255 area 0Switch(config-router)#netSwitch(config-router)#network 129.250.3.0 0.0.0.255 area 0Switch(config-router)#endSwitch#Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#rouSwitch(config)#router ospf 1Switch(config-router)#netSwitch(config-router)#network 129.250.10.0 0.0.0.255 area 0Switch(config-
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 投资管理实战经验试题及答案讨论
- 升结肠癌患者的护理查房
- 学校创新教育汇报
- 阿荣旗2025年一级建造师市政工程临考冲刺试题含解析
- 安全文明培训
- 2024年消防设施操作员考试干货试题及答案
- 体育场馆安全管理制度探讨计划
- 小班卫生习惯培养计划
- 数据驱动决策的实践案例计划
- 消费者行为变迁对品牌的启示计划
- 针灸方法汇总培训课件
- 浙江省房屋建筑面积测算实施细则(试行)全文20110522
- 《鸿门宴》课件35张
- 预应力混凝土桥梁施工质量通病与防治措施课件
- 2012年临床执业医师资格考试试题及答案
- 毕业论文-基于51单片机的电动轮椅智能速度控制系统的设计与实现
- 城市基础设施投资管理实务
- 高考英语专题复习作文第1期:倡议书课件
- 物业绿化工绩效考核表
- 来电来访首问责任制登记台账
- 社会文化因素与健康课件
评论
0/150
提交评论