1 / 24

   第五章 在华为路由器上配置静态路由和 RIP 协议 ( 实训 )

   第五章 在华为路由器上配置静态路由和 RIP 协议 ( 实训 ). 主讲 : 王毅. 在华为路由器上配置静态路由和 RIP 协议(实训). 在华为路由器上配置静态路由和 RIP 协议(实训). 实 训 内 容. 配置路由器静态路由. 配置路由器 RIP 路由. 实验名称. 在华为路由器上配置静态路由和 RIP 协议(实训). 在华为路由器上配置静态路由和 RIP 协议。. 实验目的. 在华为路由器上配置静态路由和 RIP 协议(实训). 掌握路由器静态路由的配置方法。 掌握路由器动态路由 RIP 的配置方法。. 实验设备.

ila-reed
Download Presentation

   第五章 在华为路由器上配置静态路由和 RIP 协议 ( 实训 )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1.    第五章 在华为路由器上配置静态路由和RIP协议 (实训) 主讲:王毅 在华为路由器上配置静态路由和RIP协议(实训)

  2. 在华为路由器上配置静态路由和RIP协议(实训)在华为路由器上配置静态路由和RIP协议(实训) 实 训 内 容 配置路由器静态路由 配置路由器RIP路由

  3. 实验名称 在华为路由器上配置静态路由和RIP协议(实训) 在华为路由器上配置静态路由和RIP协议。

  4. 实验目的 在华为路由器上配置静态路由和RIP协议(实训) • 掌握路由器静态路由的配置方法。 • 掌握路由器动态路由RIP的配置方法。

  5. 实验设备 在华为路由器上配置静态路由和RIP协议(实训) • 华为R2126路由器3台。 • 计算机3台。 • 网线3根。 • 路由器串口线2根。

  6. 实验拓扑 路由器静态路由配置(实训)

  7. 实验步骤 路由器静态路由配置(实训) 1.在HW-routesim中,根据实验拓扑图组建局域网。 2.根据拓扑图对每台计算机配置IP地址。 如计算机A配置为: • PCA login: root • password: linux • [root@PCA root]# ifconfig eth0 192.168.11.10 netmask 255.255.255.0 • [root@PCA root]# route add default gw 192.168.11.1

  8. 实验步骤 路由器静态路由配置(实训) 3.进入路由器A,对其如下进行配置。 • <Quidway>sys Enter system view, return to user view with Ctrl+Z. • [Quidway]int e0 • [Quidway-Ethernet0]ip add 192.168.11.1 255.255.255.0 • [Quidway-Ethernet0]undo shutdown • [Quidway-Ethernet0]quit • [Quidway]int s0 • [Quidway-Serial0]ip add 192.168.1.1 255.255.255.0 • [Quidway-Serial0]clock rate 64000 • [Quidway-Serial0]undo shutdown • [Quidway-Serial0]quit • [Quidway]ip route 192.168.12.0 255.255.255.0 192.168.1.2 • [Quidway]ip routing

  9. 实验步骤 路由器静态路由配置(实训) 4.进入路由器B,对其如下进行配置。 • <Quidway>sys Enter system view, return to user view with Ctrl+Z. • [Quidway]int e0 • [Quidway-Ethernet0]ip add 192.168.12.1 255.255.255.0 • [Quidway-Ethernet0]undo shutdown • [Quidway-Ethernet0]quit • [Quidway]int s0 • [Quidway-Serial0]ip add 192.168.1.2 255.255.255.0 • [Quidway-Serial0]undo shutdown • [Quidway-Serial0]quit • [Quidway]ip route 192.168.11.0 255.255.255.0 192.168.1.1 • [Quidway]ip routing

  10. 实验步骤 路由器静态路由配置(实训) 5.分别进入每台计算机,Ping其它计算机,测试能否Ping通。 6.分别进入每个路由器,用display ip route命令,查看各路由器的路由表。

  11. 路由器A的路由表 路由器RIP配置(实训) • [Quidway]display ip route Routing Table: Destination/Mask Proto perf Mertic Nexthop interface 192.168.11.0/24 Direct 0 0 127.0.0.1 FastEthernet0/0 192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0 192.168.12.0/24 Static 60 1 192.168.1.2 Serial0/0

  12. 路由器B的路由表 路由器RIP配置(实训) • [Quidway]display ip route Routing Table: Destination/Mask Proto perf Mertic Nexthop interface 192.168.12.0/24 Direct 0 0 127.0.0.1 FastEthernet0/0 192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0 192.168.11.0/24 Static 60 1 192.168.1.1 Serial0/0

  13. 实验拓扑 路由器RIP配置(实训)

  14. 实验步骤 路由器RIP配置(实训) 1.在HW-routesim中,根据实验拓扑图组建局域网。 2.根据拓扑图对每台计算机配置IP地址。 如计算机A配置为: • PCA login: root • password: linux • [root@PCA root]# ifconfig eth0 192.168.11.10 netmask 255.255.255.0 • [root@PCA root]# route add default gw 192.168.11.1

  15. 实验步骤 路由器RIP配置(实训) 3.进入路由器A,对其如下进行配置。 • <Quidway>system Enter system view, return to user view with Ctrl+Z. • [Quidway]interface e0 • [Quidway-Ethernet0]ip add 192.168.11.1 255.255.255.0 • [Quidway-Ethernet0]undo shutdown • [Quidway-Ethernet0]quit • [Quidway]int s0 • [Quidway-Serial0]ip add 192.168.1.1 255.255.255.0 • [Quidway-Serial0]undo shut • [Quidway-Serial0]quit • [Quidway]rip • [Quidway-rip]network 192.168.11.0 • [Quidway-rip]network 192.168.1.0 • [Quidway-rip]quit • [Quidway]ip routing

  16. 实验步骤 路由器RIP配置(实训) 4.进入路由器B,对其如下进行配置。 • <Quidway>system Enter system view, return to user view with Ctrl+Z. • [Quidway]interface e0 • [Quidway-Ethernet0]ip add 192.168.12.1 255.255.255.0 • [Quidway-Ethernet0]undo shutdown • [Quidway-Ethernet0]quit • [Quidway]int s0 • [Quidway-Serial0]ip add 192.168.1.2 255.255.255.0 • [Quidway-Serial0]undo shut • [Quidway-Serial0]quit • [Quidway]int s1 • [Quidway-Serial1]ip add 192.168.2.2 255.255.255.0 • [Quidway-Serial1]undo shut • [Quidway-Serial1]quit • [Quidway]rip • [Quidway-rip]network 192.168.12.0 • [Quidway-rip]network 192.168.1.0 • [Quidway-rip]network 192.168.2.0 • [Quidway-rip]quit • [Quidway]ip routing

  17. 实验步骤 路由器RIP配置(实训) 5.进入路由器C,对其如下进行配置。 • <Quidway>system Enter system view, return to user view with Ctrl+Z. • [Quidway]interface e0 • [Quidway-Ethernet0]ip add 192.168.13.1 255.255.255.0 • [Quidway-Ethernet0]undo shutdown • [Quidway-Ethernet0]quit • [Quidway]int s1 • [Quidway-Serial1]ip add 192.168.2.3 255.255.255.0 • [Quidway-Serial1]undo shut • [Quidway-Serial1]quit • [Quidway]rip • [Quidway-rip]network 192.168.13.0 • [Quidway-rip]network 192.168.2.0 • [Quidway-rip]quit • [Quidway]ip routing

  18. 实验步骤 路由器RIP配置(实训) 6.分别进入每台计算机,Ping其它计算机,测试能否Ping通。 7.分别进入每个路由器,用display ip route命令,查看各路由器的路由表。

  19. 路由器A的路由表 路由器RIP配置(实训) • [Quidway]display ip route Routing Table: Destination/Mask Proto perf Mertic Nexthop interface 192.168.11.0/24 Direct 0 0 127.0.0.1 FastEthernet0/0 192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0 192.168.12.0/24 RIP 100 1 192.168.1.2 Serial0/0 192.168.2.0/24 RIP 100 1 192.168.1.2 Serial0/0 192.168.13.0/24 RIP 100 2 192.168.1.2 Serial0/0

  20. 路由器B的路由表 路由器RIP配置(实训) • [Quidway]display ip route Routing Table: Destination/Mask Proto perf Mertic Nexthop interface 192.168.12.0/24 Direct 0 0 127.0.0.1 FastEthernet0/0 192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0 192.168.2.0/24 Direct 0 0 127.0.0.1 Serial0/1 192.168.11.0/24 RIP 100 1 192.168.1.1 Serial0/0 192.168.13.0/24 RIP 100 1 192.168.2.3 Serial0/1

  21. 路由器C的路由表 路由器RIP配置(实训) • [Quidway]display ip route Routing Table: Destination/Mask Proto perf Mertic Nexthop interface 192.168.13.0/24 Direct 0 0 127.0.0.1 FastEthernet0/0 192.168.2.0/24 Direct 0 0 127.0.0.1 Serial0/1 192.168.12.0/24 RIP 100 1 192.168.2.2 Serial0/1 192.168.1.0/24 RIP 100 1 192.168.2.2 Serial0/1 192.168.11.0/24 RIP 100 2 192.168.2.2 Serial0/1

  22. 作业 路由器RIP配置(实训) • 根据本次实训,完成实训报告

  23. 在华为路由器上配置静态路由和RIP协议(实训)在华为路由器上配置静态路由和RIP协议(实训) 本 课 总 结 配置路由器静态路由 配置路由器RIP路由

  24. Thank You ! 交换机STP的 配置(实训) 谢谢大家!

More Related