




已阅读5页,还剩11页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
第五章 华为路由器 的基本配置和使用 华为路由器的基本 配置和使用 主讲:张剑锋 1 华为路由器 的基本配置 和使用 实 训 内 容 2 实验名称 华为路由器的基本配置。 华为路由器的基本 配置和使用(实训) 3 实验目的 掌握路由器的基本配置方法。 华为路由器的基本 配置和使用(实训) 4 实验设备 华为R2126路由器2台。 计算机3台。 网线3根。 路由器串口线1根。 华为路由器的基本 配置和使用(实训) 5 实验拓扑 华为路由器的基本 配置和使用(实训) 6 实验步骤 1.在HW-routesim中,根据实验拓扑图组建局 域网。 2.根据拓扑图对每台计算机配置IP地址。其 中计算机 A的IP为192.168.1.10,网关192.168.1.1; B的IP为192.168.2.10,网关192.168.2.1; C的IP为192.168.3.10,网关192.168.3.1. 如计算机A配置为: PCA login: root password: linux rootPCA root# ifconfig eth0 192.168.1.10 netmask 255.255.255.0 rootPCA root# route add default gw 192.168.1.1 华为路由器的基本 配置和使用(实训) 7 实验步骤 3.进入路由器A,对其如下进行配置。 system Enter system view, return to user view with Ctrl+Z. Quidwayinterface e0 Quidway-Ethernet0ip add 192.168.1.1 255.255.255.0 Quidway-Ethernet0undo shutdown Quidway-Ethernet0quit Quidwayinterface e1 Quidway-Ethernet1ip add 192.168.2.1 255.255.255.0 Quidway-Ethernet1undo shutdown Quidway-Ethernet1quit 华为路由器的基本 配置和使用(实训) 8 实验步骤 4.分别进入计算机A和B,Ping对方计算机,测试能否 Ping通。结果应该能通。 5.分别进入路由器A,用display curr命令,查看路 由器的配置信息。 华为路由器的基本 配置和使用(实训) 9 实验步骤 7.进入路由器A,对其如下进行配置。 Quidwayinterface s1 Quidway-Serial1ip add 192.168.4.1 255.255.255.0 Quidway-Serial1clock rate 64000 Quidway-Serial1undo shutdown Quidway-Serial1quit Quidwayip route 192.168.3.0 255.255.255.0 192.168.4.2 Quidway 华为路由器的基本 配置和使用(实训) 10 实验步骤 8.进入路由器B,对其如下进行配置。 system Enter system view, return to user view with Ctrl+Z. Quidwaysysname RB RBint e1 RB-Ethernet1ip add 192.168.3.1 255.255.255.0 RB-Ethernet1undo shutdown RB-Ethernet1quit RBint s0 RB-Serial0ip add 192.168.4.2 255.255.255.0 RB-Serial0undo shutdown RB-Serial0quit RBip route 192.168.1.0 255.255.255.0 192.168.4.1 RBip route 192.168.2.0 255.255.255.0 192.168.4.1 RBsysname RB RBip routing 华为路由器的基本 配置和使用(实训) 11 实验步骤 5.分别进入每台计算机,Ping其它计算机,测试能否 Ping通。结果应该都能通。 6.分别进入每个路由器,用display curr命令,查看 各路由器的配置内容。 华为路由器的基本 配置和使用(实训) 12 路由器A的配置 Quidwaydisplay current-configuration Now create configuration. Current configuration ! version 1.74 info-center console firewall enable sysname Quidway super password ! interface Aux0 async mode flow phy-mru 0 link-protocol ppp ! interface Ethernet0 ip address: 192.168.1.1 255.255.255.0 no access-list in ! interface Ethernet1 ip address: 192.168.2.1 255.255.255.0 no access-list in interface Serial0 clock DTE no ip address link-protocol ppp no access-list in ! shutdown ! interface Serial1 clock rate :64000 ip address: 192.168.4.1 255.255.255.0 link-protocol ppp no access-list in ! network import static cost x import direct cost x ip routing ip route-static 192.168.3.0 255.255.255.0 192.168.3.2|192.168.3.0 255.255.255.0 192.168.4.2| ! password login ! return 华为路由器的基本 配置和使用(实训) 13 路由器B的配置 RBdisp current-configuration Now create configuration. Current configuration ! version 1.74 info-center console firewall enable sysname RB super password ! interface Aux0 async mode flow phy-mru 0 link-protocol ppp ! interface Ethernet0 no ip address no access-list in ! shutdown ! interface Ethernet1 ip address: 192.168.3.1 255.255.255.0 no access-list in interface Serial0 clock DTE ip address: 192.168.4.2 255.255.255.0 link-protocol ppp no access-list in ! ! ! interface Serial1 clock DTE no ip address link-protocol ppp no access-list in ! shutdown ! network import static cost x import direct cost x ip routing ip route-static 192.168.1.0
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 江苏省徐州市部分2026届八年级数学第一学期期末质量跟踪监视试题含解析
- 北京安全生产巡查行动讲解
- 电量课件教学课件
- 电车自燃安全知识培训课件
- 电车维修专业知识培训内容课件
- 电解铝环保知识培训内容课件
- 电视评论写作课件
- 2025【新房购房合同范本下载】新房购房合同书样本
- 功和机械能全章教学提纲教案(2025-2026学年)
- 电老虎课件教学课件
- 2025广东东莞市寮步镇人民政府招聘专职安全员10人考前自测高频考点模拟试题及答案详解一套
- 2024石家庄市国企招聘考试真题及答案
- 湘潭钢铁集团有限公司2026届校园操作类招聘备考考试题库附答案解析
- 山东初级注册安全工程师(安全生产法律法规)题库及答案(2025年)
- 2025天津宏达投资控股有限公司及所属企业招聘工作人员笔试模拟试题及答案解析
- 新安全生产法课件
- 恐龙妈妈藏蛋课件
- 消防证考试题目及答案
- 2025浙江杭州市西湖区民政局招聘编外合同制工作人员3人笔试备考试题附答案详解(满分必刷)
- 静脉留置针应用及维护
- 《中国急性肾损伤临床实践指南(2023版)-》解读
评论
0/150
提交评论