




已阅读5页,还剩4页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验一、双绞线的制作一.实验目的: 制作直连和交叉双绞线二.实验内容:1、掌握直连线和交叉线的制作方法,2、理解直连线和交叉线的应用范围。 实验二、计算机和交换机的基本配置一.实验目的:1、掌握计算机的基本配置;2、掌握交换机的基本配置。2. 实验内容:3. 实验过程:systempassword:Quidwaysysname S3026 ;交换机命名S3026super password 111 ;设置特权密码S3026user-interface vty 0 4 进入TELNET 设置模式S3026-ui-vty0-4authentication-mode password 需要密码验证S3026-ui-vty0-4set authentication-mode password simple 222 S3026-ui-vty0-4user privilege level 3 TELNET 登陆后为最高的管理权限S3026-ui-vty0-4quit 退出S3026quit 退出sys 进入系统视图password:111 密码为 111S3026display currect-configS3026dis curr 显示当前配置S3026vlan 2 创建VLAN2S3026-vlan2port ethernet0/2 把0/2这个接口划分到VLAN2下S3026-vlan2port e0/4 to et0/6 把0/4到0/6这3个接口划分到VLAN2下S3026-vlan2quit S3026dis vlan 显示VLAN 的配置情况S3026int e0/3 进入接口 0/3S3026-Ethernet1port access vlan 2 把0/3这个接口划分到VLAN2下S3026-Ethernet1quit S3026dis vlan S3026dis curr S3026interface vlan 1 进入VLAN1 的路由接口S3026-Vlan-interface1ip address 10.65.1.8 255.255.0.0 配置个VLAN1的IP地址S3026-Vlan-interface1quit S3026ip route-static 0.0.0.0 0.0.0.0 10.65.1.2 做一条静态路由 所有来的数据包 下一条地址是 10.65.1.2 S3026ip default-gateway 10.65.1.2 这条实际上是和上一条一样的效果. S3026dis curr S3026save 保存配置小电脑Alogin:rootpassword:linuxrootPCA root#ifconfig eth0 10.65.1.1 netmask 255.255.0.0rootPCA root#ifconfigrootPCA root#route add default gw 10.65.1.2rootPCA root#route小电脑Blogin:rootpassword:linuxrootPCA root#ifconfig eth0 10.65.1.2 netmask 255.255.0.0rootPCA root#ifconfigrootPCA root#route add default gw 10.65.1.2rootPCA root#route4、 实验结果实验三、VLAN的配置一.实验目的:1、理解VLAN的基本原理;2、掌握在一台交换机上配置 VLAN;3、掌握跨交换机配置VLAN的方法。2. 实验内容:3. 实验过程:switchsystempassword:Quidwaysysname sasavlan 2sa-vlan2port e0/3 to e0/4sa-vlan2quitsavlan 3sa-vlan3port e0/5 to e0/6sa-vlan3quitsainterface ethernet 0/8sa-Ethernet0/8port link-type trunksa-Ethernet0/8port trunk permit vlan allsa-Ethernet0/8switchsystempassword:Quidwaysysname sbsbvlan 2sb-vlan2port e0/2 to s0/4sb-vlan2quitsbvlan 3sb-vlan3port e0/5 to e0/6sb-vlan3quitsbinterface ethernet 0/1sb-Ethernet0/1port link-type trunksb-Ethernet0/1port trunk permit vlan allsb-Ethernet0/1PCA login: rootpassword: linuxrootPCA root# ifconfig eth0 10.65.1.2 netmask 255.255.0.0rootPCA root# ifconfig eth0 inet addr: 10.65.1.2 mask: 255.255.0.0rootPCA root# route add default gw 10.65.1.10rootPCA root# route4. 实验结果:实验四、路由器的基本配置一.实验目的:掌握路由器的基本配置命令二.实验内容:systempassword:Quidwayinterface ethernet0Quidway-Ethernet0ip addr 10.65.1.2 255.255.255.0Quidway-Ethernet0undo shutdownQuidway-Ethernet0int e1Quidway-Ethernet1ip addr 10.66.1.2 255.255.255.0Quidway-Ethernet1undo shutdownrootPCA root#ifconfig eth0 10.65.1.1 netmask 255.255.0.0rootPCB root#ifconfig eth0 10.66.1.1 netmask 255.255.0.0rootPCA root#ping 10.65.1.2 (通,没有关只能ping直连的口)rootPCA root#ping 10.66.1.2 (不通,PCA 没有设置网关)rootPCA root#route add default gw 10.65.1.2rootPCA root#ping 10.66.1.2 (通)rootPCA root#ping 10.66.1.1 (不通,因PCB没有网关)rootPCB root#route add default gw 10.66.1.2rootPCA root#ping 10.66.1.1 (通)去掉计算机Host B与Router的连线,再ping:rootPCA root#ping 10.66.1.2 不通(没有接线端口会自动down掉)再连接Host B与Router的连线,再ping:rootPCA root#ping 10.66.1.2 (通)实验五、静态路由实验一.实验目的:1、理解静态路由的工作机制;2、掌握静态路由的配置方法。2. 实验内容:路由器配置:RouterAinterface ethernet0RouterA-Ethernet0ip addrress 10.65.1.2 255.255.0.0RouterA-Ethernet0undo shutdownRouterA-Ethernet0int e1RouterA-Ethernet1ip addrress 10.66.1.2 255.255.0.0RouterA-Ethernet1undo shutdownRouterA-Ethernet1int s1RouterA-Serial1ip addrress 10.67.1.2 255.255.0.0RouterA-Serial1undo shutdownRouterA-Ethernet1int s0RouterA-Serial1ip addrress 10.68.1.2 255.255.0.0RouterA-Serial1undo shutdownRouterA-Serial1clock rate 64000RouterA-Serial1quitRouterAip routingRouterAdis currRouterBinterface ethernet0RouterB-Ethernet0ip addrress 10.70.1.2 255.255.0.0RouterB-Ethernet0undo shutdownRouterB-Ethernet0int e1RouterB-Ethernet1ip addrress 10.71.1.2 255.255.0.0RouterB-Ethernet1undo shutdownRouterB-Ethernet1int s0RouterB-Serial0ip addrress 10.68.1.1 255.255.0.0RouterB-Serial0undo shutdownRouterB-Ethernet1int s1RouterB-Serial0ip addrress 10.78.1.1 255.255.0.0RouterB-Serial0undo shutdownRouterB-Serial0quitRouterBip routingRouterBdis currRouterCinterface ethernet0RouterC-Ethernet1int s0RouterC-Serial0ip addrress 10.68.1.1 255.255.0.0RouterC-Serial0undo shutdownRouterC-Ethernet1int s1RouterC-Serial0ip addrress 10.78.
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 黑龙江省齐齐哈尔市梅里斯区2024-2025学年八年级下学期期末考试语文试题(含解析)
- 社区消防员安全知识培训课件
- 项目聘用 长期合同范本
- 与焊接厂合同范本
- 看仓库人员合同范本
- 12333劳动合同范本
- 房屋全款转让合同范本
- 厂房代理合同范本
- 购买建材石材合同范本
- 蔬菜店经营合同范本
- 抖音火花合同协议
- 安全文明施工和质量管理制度
- 2024年湖南益阳市安化县医疗卫生单位招聘考试真题
- 2025二手汽车场地租赁合同
- 高一新生入学纪律教育
- 茆诗松概率论教案
- 《Java程序设计任务式教程》课件 603 构造方法
- 军队基本医疗设备配备标准
- 2024新版《突发事件应对法》及其应用案例课件
- 介入手术交接流程
- 2024年国家安全法深度解读
评论
0/150
提交评论