Upload
ila-reed
View
241
Download
5
Embed Size (px)
DESCRIPTION
第五章 在华为路由器上配置静态路由和 RIP 协议 ( 实训 ). 主讲 : 王毅. 在华为路由器上配置静态路由和 RIP 协议(实训). 在华为路由器上配置静态路由和 RIP 协议(实训). 实 训 内 容. 配置路由器静态路由. 配置路由器 RIP 路由. 实验名称. 在华为路由器上配置静态路由和 RIP 协议(实训). 在华为路由器上配置静态路由和 RIP 协议。. 实验目的. 在华为路由器上配置静态路由和 RIP 协议(实训). 掌握路由器静态路由的配置方法。 掌握路由器动态路由 RIP 的配置方法。. 实验设备. - PowerPoint PPT Presentation
Citation preview
第五章
在华为路由器上配置静
态路由和R
IP协议 (
实
训 )
在华为路由器上配
置静态路由和R
IP
协议(实训)
主讲:王毅
2
配置路由器 RIP路由
在华为路由器上配置静态路由和RIP协议(实训)
在华为路由器上配置静态路由和RIP协议(实训)
实
训
内
容配置路由器静态路由
3
实验名称
在华为路由器上配置静态路由和 RIP 协议。
在华为路由器上配置静态
路由和R
IP
协议(实训)
4
实验目的
1. 掌握路由器静态路由的配置方法。2. 掌握路由器动态路由 RIP 的配置方法。
在华为路由器上配置静
态路由和R
IP
协议(实
训)
5
实验设备
1. 华为 R2126 路由器 3 台。2. 计算机 3 台。3. 网线 3 根。4. 路由器串口线 2 根。
在华为路由器上配置静
态路由和R
IP
协议(实
训)
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>sysEnter 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>sysEnter 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的路由表 [Quidway]display ip routeRouting Table:Destination/Mask Proto perf Mertic Nexthop
interface192.168.11.0/24 Direct 0 0 127.0.0.1
FastEthernet0/0192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0192.168.12.0/24 Static 60 1 192.168.1.2 Serial0/0
路由器R
IP
配置(实训)
12
路由器 B的路由表 [Quidway]display ip routeRouting Table:Destination/Mask Proto perf Mertic Nexthop
interface192.168.12.0/24 Direct 0 0 127.0.0.1
FastEthernet0/0192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0192.168.11.0/24 Static 60 1 192.168.1.1 Serial0/0
路由器R
IP
配置(实训)
13
实验拓扑
路由器R
IP
配置(实训)
14
实验步骤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
路由器R
IP
配置(实训)
15
实验步骤3. 进入路由器 A ,对其如下进行配置。 <Quidway>systemEnter 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
路由器R
IP
配置(实训)
16
实验步骤4. 进入路由器 B ,对其如下进行配置。 <Quidway>systemEnter 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
路由器R
IP
配置(实训)
17
实验步骤5. 进入路由器 C ,对其如下进行配置。 <Quidway>systemEnter 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
路由器R
IP
配置(实训)
18
实验步骤6. 分别进入每台计算机, Ping 其它计算机,测试能
否 Ping 通。7. 分别进入每个路由器,用 display ip route 命令,
查看各路由器的路由表。路由器R
IP
配置(实训)
19
路由器 A的路由表 [Quidway]display ip routeRouting Table:Destination/Mask Proto perf Mertic Nexthop interface192.168.11.0/24 Direct 0 0 127.0.0.1
FastEthernet0/0192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0192.168.12.0/24 RIP 100 1 192.168.1.2 Serial0/0192.168.2.0/24 RIP 100 1 192.168.1.2 Serial0/0192.168.13.0/24 RIP 100 2 192.168.1.2 Serial0/0
路由器R
IP
配置(实训)
20
路由器 B的路由表 [Quidway]display ip routeRouting Table:Destination/Mask Proto perf Mertic Nexthop interface192.168.12.0/24 Direct 0 0 127.0.0.1
FastEthernet0/0192.168.1.0/24 Direct 0 0 127.0.0.1 Serial0/0192.168.2.0/24 Direct 0 0 127.0.0.1 Serial0/1192.168.11.0/24 RIP 100 1 192.168.1.1 Serial0/0192.168.13.0/24 RIP 100 1 192.168.2.3 Serial0/1
路由器R
IP
配置(实训)
21
路由器 C的路由表 [Quidway]display ip routeRouting Table:Destination/Mask Proto perf Mertic Nexthop interface192.168.13.0/24 Direct 0 0 127.0.0.1
FastEthernet0/0192.168.2.0/24 Direct 0 0 127.0.0.1 Serial0/1192.168.12.0/24 RIP 100 1 192.168.2.2 Serial0/1192.168.1.0/24 RIP 100 1 192.168.2.2 Serial0/1192.168.11.0/24 RIP 100 2 192.168.2.2 Serial0/1
路由器R
IP
配置(实训)
22
作业 根据本次实训,完成实训报告
路由器R
IP
配置(实训)
23
本
课
总
结配置路由器 RIP路由
在华为路由器上配置静态路由和RIP协议(实训)
在华为路由器上配置静态路由和RIP协议(实训)
配置路由器静态路由
谢谢大家!
交换机S
TP
的配置(实训)