组网技术实验报告_第1页
组网技术实验报告_第2页
组网技术实验报告_第3页
组网技术实验报告_第4页
组网技术实验报告_第5页
已阅读5页,还剩16页未读 继续免费阅读

下载本文档

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

文档简介

组网工程实验报告 1 实验一 交换机实验 一 实验目的 掌握 NetSim 模拟器的安装配置 掌握交换机的工作原理以及交换机各项基本配置 二 实验内容及测试结果 您设计的拓扑图 测试结果 1 注销会话 再重新登录交换机 验证控制台密码 2 由用户模式进入特权模式 验证特权密码 组网工程实验报告 2 3 用 show running config 命令查看配置信息 组网工程实验报告 3 4 用 ping 命令检查 PC1 与 PC2 的连通性 以及 PC 机与交换机的连通性 5 保存配置文件 重启交换机 查看效果 组网工程实验报告 4 三 算法或核心技术思考体会 1 算法 1 按图 2 1 所示连接网络 2 配置交换机名字为 S1 3 设置交换机的控制台口令为 12345 4 设置交换机的远程登录口令为 54321 5 设置交换机的特权口令为 abcde 特权密码为 edcba 6 配置交换机的管理 IP 为 192 168 0 11 24 7 配置交换机的默认网关为 192 168 0 1 8 配置 PC1 的 IP 地址为 192 168 0 21 24 默认网关为 192 168 0 1 9 配置 PC2 的 IP 地址为 192 168 0 22 24 默认网关为 192 168 0 1 2 思考体会 通过交换机第一次上机实验 使我掌握 NetSim 模拟器的使用 尤其是交 换机的配置 掌握交换机的工作原理以及交换机各项基本配置 我们通过交换 机的 Console 口搭建配置环境 完成交换机的基本配置后 通过其他方式对交 换机进行远程管理 组网工程实验报告 5 四 附件 源代码 可选 Switch enable Switch conf t Enter configuration commands one per line End with CNTL Z Switch config hostname S1 S1 config line console 0 S1 config line login login disabled on line 0 until password is set S1 config line password 12345 S1 enable S1 conf t Enter configuration commands one per line End with CNTL Z S1 config line vty 0 15 S1 config line login S1 config line password 54321 S1 config line exit S1 config enable password abcde S1 config enable secret edcba S1 conf t Enter configuration commands one per line End with CNTL Z S1 config interface vlan 1 S1 config if ip address 192 168 0 11 255 255 255 0 S1 config if no shutdown LINK 3 UPDOWN Interface Vlan 1 changed state to up S1 config if ip default gateway 192 168 0 1 S1 config S1 config show running config 组网工程实验报告 6 实验二 路由器实验 一 实验目的 掌握 NetSim 模拟器的使用 掌握路由器的工作原理以及路由器各项基本配置 二 实验内容及测试结果 您设计的拓扑图 测试结果一 1 注销会话 再重新登录路由器 验证控制台密码 2 由用户模式进入特权模式 验证特权密码 3 用 show 命令查看路由器的配置文件 接口状态 路由表 组网工程实验报告 7 4 用 ping 命令检查 PC1 与 PC2 的连通性 以及 PC 机与路由器的连通性 5 保存配置文件 重启路由器 查看效果 组网工程实验报告 8 测试结果二 1 用 show 命令查看路由器的配置文件 接口状态 路由表 组网工程实验报告 9 2 用 ping 命令检查两个路由器的连通性 三 算法或核心技术思考体会 1 算法配置一 1 按图 1 1 所示连接网络 2 配置路由器名字为 R1 3 设置路由器的控制台口令为 12345 4 设置路由器的远程登录口令为 54321 5 设置路由器的特权口令为 abcde 特权密码为 edcba 组网工程实验报告 10 6 配置路由器的以太网接口 E0 口的 IP 地址为 192 168 0 1 24 E1 口的 IP 地址为 192 168 1 1 24 7 配置 PC1 的 IP 地址为 192 168 0 11 24 默认网关为 192 168 0 1 8 配置 PC2 的 IP 地址为 192 168 1 22 24 默认网关为 192 168 1 1 2 算法配置二 1 按图 1 2 所示连接网络 2 配置路由器名字分别为 R1 和 R2 3 配置两个路由器的同步串行口 R1 的 S0 口的 IP 地址为 192 168 10 1 24 R2 的 S0 口 的 IP 地址为 192 168 10 2 24 注意 DCE 端和 DTE 端的区别 4 配置两个路由器的回环接口 R1 的 L0 口的 IP 地址为 192 168 1 1 24 R2 的 L0 口的 IP 地址为 192 168 2 1 24 3 思考体会 通过本次组网实验 掌握 NetSim 模拟器的使用掌握路由器的工作原理以及路由器各 项基本配置 本次实验理论与实践相结合 达到了很好的学习效果 这也能使我们对以后 计算机在生活中的运用更具帮助性 四 附件 源代码 可选 代码 1 Router enable Router conf t Enter configuration commands one per line End with CNTL Z Router config hostname R1 R1 config line console 0 R1 config line login login disabled on line 0 until password is set R1 config line password 12345 R1 config line vty 0 4 R1 config line login R1 config line password 54321 R1 config line exit R1 config enable password abcde R1 config enable secret edcba R1 config exit R1 conf t Enter configuration commands one per line End with CNTL Z 组网工程实验报告 11 R1 config interface e0 R1 config if ip address 192 168 0 1 24 Incomplete command R1 config if no shutdown LINK 3 UPDOWN Interface Ethernet0 changed state to up R1 config if interface e1 R1 config if ip address 192 168 1 1 24 Incomplete command R1 config if no shutdown LINK 3 UPDOWN Interface Ethernet1 changed state to up 代码 2 Router enable Router conf t Enter configuration commands one per line End with CNTL Z Router config hostname R1 R1 config interface s0 R1 config if ip address 192 168 10 1 24 Incomplete command R1 config if clock rate 64000 R1 config if no shutdown Router enable Router conf t Enter configuration commands one per line End with CNTL Z Router config hostname R2 R2 config interface s0 R2 config if ip address 192 168 10 2 24 Incomplete command R2 config if no shutdown R2 config if exit 组网工程实验报告 12 实验三 路由器 交换机综合实验 一 一 实验目的 掌握 NetSim 模拟器的使用 掌握复杂情况下路由器 交换机的配置 二 实验内容及测试结果 您设计的拓扑图 测试结果 R1 的路由表中应包含 2 条直连路由 C 1 条静态路由 S 1 条由 RIP 学习到的路由 R R2 的路由表中应包含 2 条直连路由 C 1 条默认路由 S R3 的路由表中应包含 2 条直连路由 C PC2ping PC1 成功 组网工程实验报告 13 PC1pingPC3 失败 三 算法或核心技术思考体会 1 算法 1 按图 1 所示连接网络 2 配置路由器 R1 路由器的名字为 R1 E0 口的 IP 地址 192 168 0 1 24 设置 E0 口为 NAT 输入端 S0 口的 IP 地址 222 1 1 1 24 设置 S0 口为 NAT 输出端 配置 PAT 将内网中格式为 192 168 的 IP 地址转换为 S0 口的 IP 地址 配置静态路由 将目的为 192 168 1 0 网络的数据报发往 192 168 0 3 配置 RIP 路由协议 在它的外网地址上启用协议 3 配置路由器 R2 路由器的名字为 R2 E0 口的 IP 地址 192 168 0 3 24 E1 口的 IP 地址 192 168 1 1 24 配置默认路由 方向为 R1 路由器 4 配置路由器 R3 路由器的名字为 R3 E0 口的 IP 地址 200 1 1 1 24 S0 口的 IP 地址 222 1 1 2 24 配置 RIP 路由协议 在它所有的直连网络上启用协议 5 配置交换机 S1 和 S2 只需配置交换机的名字和管理 IP 6 配置各 PC 机 包括 IP 地址 子网掩码和默认网关 PC1 的默认网关为 R1 的 E0 口 IP PC2 的默认网关为 R2 的 E1 口 IP PC3 的默认网关为 R3 的 E0 口 IP 2 思考体会 通过本次交换机与路由器的综合实验 更加全面地了解了 NetSim 模拟器的使用 掌 握复杂情况下路由器 交换机的配置 搭建网络过程中的所涉及的硬件设备和软件配置 熟悉了交换机和路由器的一般配置 交换机与路由器的硬件设备之间的互联需要我们使用 配置指令来完成 四 附件 源代码 可选 Router enable Router conf t Router config hostname R1 R1 config interface e0 组网工程实验报告 14 R1 config if ip address 192 168 0 1 255 255 255 0 R1 config if ip nat inside R1 config if no shutdown R1 config if interface s0 R1 config if ip address 222 1 1 1 255 255 255 0 R1 config if clock rate 64000 R1 config if ip nat outside R1 config if no shutdown R1 config access list 1 permit 192 168 0 0 0 0 255 255 R1 config ip nat inside source list 1 interface s0 overload R1 config ip route 192 168 1 0 255 255 255 0 192 168 0 3 R1 config router rip R1 config router network 222 1 1 0 Router config hostname R2 R2 config interface e0 R2 config if ip address 192 168 0 3 255 255 255 0 R2 config if no shutdown R2 config if interface e1 R2 config if ip address 192 168 1 1 255 255 255 0 R2 config if no shutdown R2 config if exit R2 config ip route 0 0 0 0 0 0 0 0 192 168 0 1 Router config hostname R3 R3 config interface e0 R3 config if ip address 200 1 1 1 255 255 255 0 R3 config if no shutdown R3 config if interface s0 R3 config if ip address 222 1 1 2 255 255 255 0 R3 config if no shutdown R3 config if exit R3 config router rip R3 config router network 222 1 1 0 R3 config router network 200 1 1 0 Switch config hostname S1 S1 config interface vlan 1 S1 config if ip address 192 168 0 2 255 255 255 0 S1 config if no shutdown Switch config hostname S2 S2 config interface vlan 1 S2 config if ip address 192 168 1 2 S2 config if ip address 192 168 1 2 255 255 255 0 S2 config if no shutdown 组网工程实验报告 15 实验四 路由器 交换机综合实验 二 一 实验目的 掌握 NetSim 模拟器的使用 掌握复杂情况下路由器 交换机的配置 二 实验内容及测试结果 您设计的拓扑图 测试结果 R1 的路由表中应包含 2 条直连路由 C 2 条静态路由 S 2 条由 OSPF 学习到的路由 O R2 的路由表中应包含 2 条直连路由 C 1 条由 OSPF 学习到的路由 O R3 的路由表中应包含 2 条直连路由 C 1 条由 OSPF 学习到的路由 O 三层交换机的路由表中应包含 3 条直连路由 C 1 条默认路由 S 组网工程实验报告 16 PC1pingPC2 成功 PC2pingPC3 失败 三 算法或核心技术思考体会 1 算法 1 按图 1 所示连接网络 2 配置路由器 R1 路由器的名字为 R1 F0 口的 IP 地址 192 168 0 1 24 设置 F0 口为 NAT 输入端 S0 口的 IP 地址 200 1 1 1 24 设置 S0 口为 NAT 输出端 配置 NAT 池 地址范围为 200 1 1 10 200 1 1 20 将内网中格式为 192 168 的 IP 地址转换为 NAT 池中的 IP 地址 配置静态路由 将目的网络为 192 168 1 0 或 192 168 2 0 的数据报发往 192 168 0 2 配置 OSPF 路由协议 区域号为 10 在它的外网地址上启用协议 3 配置路由器 R2 路由器的名字为 R2 S0 口的 IP 地址 222 2 2 1 24 S1 口的 IP 地址 200 1 1 2 24 配置 OSPF 路由协议 区域号为 10 在它的所有直连网络上启用协议 4 配置路由器 R3 路由器的名字为 R3 组网工程实验报告 17 F0 口的 IP 地址 18 1 1 1 8 S0 口的 IP 地址 222 2 2 2 24 配置 OSPF 路由协议 区域号为 10 在它的所有直连网络上启用协议 5 配置三层交换机 把 F0 1 口设置为三层路由口 IP 地址为 192 168 0 2 24 把 F0 2 口设置为三层路由口 IP 地址为 192 168 1 1 24 把 F0 3 口设置为三层路由口 IP 地址为 192 168 2 1 24 配置默认路由 方向为 R1 路由器的 F0 口 启用路由功能 6 配置各 PC 机 包括 IP 地址 子网掩码和默认网关 PC1 的默认网关为交换机的 2 口 IP PC2 的默认网关为交换机 3 口 IP PC3 的默认网关为 R3 的 F0 口 IP 2 思考体会 通过本次综合实验 对于路由器的学习 主要是在计算机配置路由器实现上的指令设 置上 三 附件 源代码 可选 Router enable Router conf t Enter configuration commands one per line End with CNTL Z Router config hostname R1 R1 config interface e0 R1 config if ip address 192 168 0 1 255 255 255 0 R1 config if no shutdown R1 config if interface s0 R1 config if ip address 200 1 1 1 255 255 255 0 R1 config if clock rate 64000 R1 config if no shutdown R1 config if interface e0 R1 config if ip nat inside R1 config if interface s0 R1 config if ip nat outside R1 conf t Enter configuration commands one per line End with CNTL Z R1 config ip nat pool p1 200 1 1 10 200 1 1 20 netm ask 255 255 255 0 R1 config access list permit 192 1168 0 0 0 0 255 255 R1 config ip nat inside source list 1 pool p1 R1 config ip route 192 168 1 0 255 255 255 0 192 168 0 2 R1 config ip route 192 168 2 0 255 255 255 0 192 168 0 2 R1 config router ospf 10 R1 config router network 200 1 1 0 0 0 0 255 area 10 Router conf t Enter configuration commands one per line End with CNTL Z Router config hostname R2 组网工程实验报告 18 R2 config interface s0 R2 config if ip address 222 2 2 1 255 255 255 0 R2 config if clock rate 64000 R2 config if no shutdown R2 config if int s1 R2 config if ip address 200 1 1 2 255 255 255 0 R2 config if no shutdown R2 config if router ospf 10 R2 config router network 200 1 1 0 0 0 0 255 area 10 R2 config router network 222 2 2 0 0 0 0 255 area 10 Router config hostname R3 R3 config interface e0 R3 config if ip address 18 1 1 1 255 0 0 0 R3 config if no shutdown R3 config if interface s0 R3 config if ip address 222 2 2 2 255 255 255 0 R3 config if no shutdown R3 config if R3 config if end R3 conf t Enter configuration commands one per line End with CNTL Z R3 config router ospf 10 R3 config router network 222 2 2 0 0 0 0 255 area 10 R3 config router network 18 0 0 0 0 255 255 255 area 10 R3 config router exit Switch enable Switch conf t Enter configuration commands one per line End with CNTL Z Switch config interface f0 1 Switch config if no switchport Switch config if ip address 192 168 0 2 255 255 255 0 Switch config if no shutdown Switch config if interface f0 2 Switch config if no switchport Switch config if ip address 192 168 1 1 255 255 255 0 Switch config if no switchport Switch config if no shutdown Switch config if interface f0 3 Switch config if no switchport Switch config if ip address 192 168 2 1 255 255 255 0 Switch config if no shutdown Switch config if end Switch conf t Enter configuration commands one per line End with CNTL Z 组网工程实验报告 19 Switch config ip route 0 0 0 0 0 0 0 0 192 168 0 1 组网工程实验报告 20 实验五 综合布线系统计算机辅助设计 一 实验目的 掌握 VisualNet 9 0 的安装配置 掌握 VisualNet 9 0 的基本用法 掌握综合布线的整个流程 二 实验内容及测试结果 1 VisualNet 能应用在哪些

温馨提示

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

评论

0/150

提交评论