模拟路由器的设置-华为

上传人:豆浆 文档编号:50061366 上传时间:2018-08-06 格式:PPT 页数:16 大小:496.50KB
返回 下载 相关 举报
模拟路由器的设置-华为_第1页
第1页 / 共16页
模拟路由器的设置-华为_第2页
第2页 / 共16页
模拟路由器的设置-华为_第3页
第3页 / 共16页
模拟路由器的设置-华为_第4页
第4页 / 共16页
模拟路由器的设置-华为_第5页
第5页 / 共16页
点击查看更多>>
资源描述

《模拟路由器的设置-华为》由会员分享,可在线阅读,更多相关《模拟路由器的设置-华为(16页珍藏版)》请在金锄头文库上搜索。

1、 第五章 华为路由器 的基本配置和使用华为路由器的基本 配置和使用主讲:张剑锋1华为路由器 的基本配置 和使用实 训 内 容2实验名称华为路由器的基本配置。华为路由器的基本 配置和使用(实训) 3实验目的掌握路由器的基本配置方法。华为路由器的基本 配置和使用(实训) 4实验设备华为R2126路由器2台。 计算机3台。 网线3根。 路由器串口线1根。华为路由器的基本 配置和使用(实训) 5实验拓扑华为路由器的基本 配置和使用(实训) 6实验步骤 1.在HW-routesim中,根据实验拓扑图组建局 域网。 2.根据拓扑图对每台计算机配置IP地址。其 中计算机 A的IP为192.168.1.10,

2、网关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

3、, 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、实验步骤 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.1

5、68.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.

6、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命令,查看 各路由器的配置内容。华为路由器的基本 配置和使用(实训)

7、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

8、access-list in ! interface Ethernet1 ip address: 192.168.2.1 255.255.255.0 no access-list ininterface 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 ! netwo

9、rk 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-c

10、enter 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 ininterface Serial0 clock DTE ip address: 1

11、92.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 255.255.255.0 192.168.4.1|192.168.2.0 255.255.255.0 192.168.4.1| ! password login ! return华为路由器的基本 配置和使用(实训) 14本 课 总 结华为路由器 的基本配置 和使用 (实训)15谢谢大家!华为路由器的基本 配置和使用(实训)16

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号