Presentation is loading. Please wait.

Presentation is loading. Please wait.

第六章 在华为路由器上配置动态路由OSPF协议(实训)

Similar presentations


Presentation on theme: "第六章 在华为路由器上配置动态路由OSPF协议(实训)"— Presentation transcript:

1 第六章 在华为路由器上配置动态路由OSPF协议(实训)
主讲:王毅 第六章 在华为路由器上配置动态路由OSPF协议(实训)

2 在华为路由器上配置动态路由OSPF协议(实训)
实 训 内 容 在华为路由器上配置动态路由OSPF协议(实训) 配置单区域OSPF路由器

3 在华为路由器上配置单区域OSPF路由器。
实验名称 配置OSPF路由器 在华为路由器上配置单区域OSPF路由器。

4 实验目的 配置OSPF路由器 掌握配置单区域OSPF路由器。 掌握配置多区域OSPF路由器。

5 实验设备 配置OSPF路由器 华为R2126路由器2台。 计算机2台。 网线2根。 路由器串口线2根。

6 实验拓扑 配置单区域OSPF路由器

7 1.在HW-routesim中,根据实验拓扑图组建局域网。
实验步骤 1.在HW-routesim中,根据实验拓扑图组建局域网。 2.根据拓扑图对每台计算机配置IP地址。 如计算机A配置为: PCA login: root password: linux root]# ifconfig eth netmask root]# route add default gw 配置单区域OSPF路由器

8 实验步骤 配置单区域OSPF路由器 3.进入路由器A,对其如下进行配置。 <Quidway>system
Enter system view, return to user view with Ctrl+Z. [Quidway]interface e0 [Quidway-Ethernet0]ip add [Quidway-Ethernet0]ospf enable area 0 [Quidway-ospf]quit [Quidway]interface s0 [Quidway-Serial0]ip add [Quidway-Serial0]clock rate 64000 [Quidway-Serial0]undo shutdown [Quidway-Serial0]ospf enable area 0 [Quidway]ospf enable [Quidway-ospf]import-route direct [Quidway]ip routing 配置单区域OSPF路由器

9 实验步骤 配置单区域OSPF路由器 4.进入路由器B,对其如下进行配置。 <Quidway>system
Enter system view, return to user view with Ctrl+Z. [Quidway]interface e0 [Quidway-Ethernet0]ip add [Quidway-Ethernet0]undo shutdown [Quidway-Ethernet0]ospf enable area 0 [Quidway-ospf]quit [Quidway]interface s0 [Quidway-Serial0]ip add [Quidway-Serial0]undo shutdown [Quidway-Serial0]ospf enable area 0 [Quidway]ospf enable [Quidway-ospf]import-route direct 配置单区域OSPF路由器

10 实验步骤 5.分别进入每台路由器,Ping对方路由器,测试能否Ping通。再分别进入每台计算机,Ping其它计算机,测试能否Ping通。 6.分别进入每个路由器,用display ip route命令,查看各路由器的路由表。 配置单区域OSPF路由器

11 路由器A的路由表 配置单区域OSPF路由器 [Quidway]disp current-configuration
! interface Ethernet1 no ip address no access-list in shutdown interface Serial0 clock rate :64000 ip address: link-protocol ppp interface Serial1 clock DTE ospf network import static cost x import direct cost x ip routing ip route-static [Quidway] [Quidway]disp 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: no access-list in shutdown 配置单区域OSPF路由器

12 路由器B的配置信息 配置单区域OSPF路由器 interface Serial0 clock DTE
ip address: link-protocol ppp no access-list in ! interface Serial1 no ip address shutdown ospf network import static cost x import direct cost x ip routing ip route-static line vty 0 4 password return [Quidway] [Quidway]display 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: no access-list in interface Ethernet1 no ip address shutdown 配置单区域OSPF路由器

13 作业 根据本次实训,完成实训报告 配置OSPF路由器

14 在华为路由器上配置动态路由OSPF协议(实训)
本 课 总 结 在华为路由器上配置动态路由OSPF协议(实训) 配置单区域OSPF路由器 配置多区域OSPF路由器

15 谢谢大家! Thank You ! 第六章 在华为路由器上配置动态路由OSPF协议(实训)


Download ppt "第六章 在华为路由器上配置动态路由OSPF协议(实训)"

Similar presentations


Ads by Google