配置并检验 RIPng 路由

来源:互联网 发布:虎牙直播app下载mac版 编辑:程序博客网 时间:2024/05/20 07:34
配置并检验 RIPng 路由
您将为所有路由器配置 RIPng 路由,确认路由表正确更新,配置并分配默认路由,以及检验端到端连通性
第 1 步: 配置 RIPng 路由
在 IPv6 中,一个接口配置多个 IPv6 地址很常见。RIPng 中取消了 network 语句。RIPng 路由在接口上启用,并用一个具有本地意义的进程名称标识,因为 RIPng 可能会创建多个进程
a. 对 R1 上参与 RIPng 路由的每个接口发出 ipv6 rip Test1 enable 命令,其中 Test1 是具有本地意义的进程名称
R1(config)# interface g0/1
R1(config)# ipv6 rip Test1 enable
R1(config)# interface s0/0/0
R1(config)# ipv6 rip Test1 enable
b. 为 R2 的串行接口配置 RIPng,使用 Test2 作为进程名称。 请勿配置 G0/0 接口的 RIPng
R2(config)# interface s0/0/0
R2(config)# ipv6 rip Test2 enable
R2(config)# interface s0/0/1
R2(config)# ipv6 rip Test2 enable
c. 为 R3 的每个接口配置 RIPng,使用 Test3 作为进程名称
R3(config)# interface g0/1
R3(config)# ipv6 rip Test3 enable
R3(config)# interface s0/0/1
R3(config)# ipv6 rip Test3 enable
d. 检验路由器上是否正在运行 RIPng
show ipv6 protocols、 show run、 show ipv6 rip database 和 show ipv6 rip 进程名称命令都可以用来确认RIPng的运行情况。 在 R1 上,发出 show ipv6 protocols 命令
R1# show ipv6 protocols
输出中如何列出 RIPng?
RIPng 按进程名称列出
e. 发出 show ipv6 rip Test1 命令。
R1# show ipv6 rip Test1
RIPv2 和 RIPng 有哪些相似之处?
答案视情况而定。 RIPv2 和 RIPng 的管理距离都是 120, 使用跳数作为度量, 并且每 30 秒发送一次更新
f. 检查每个路由器上的 IPv6 路由表。
show ipv6 route
R1# show ipv6 route

第 2 步: 配置并重分布默认路由
a. 在 R2 上,使用 ipv6 route 命令和送出接口 G0/0 的 IP 地址,创建到网络 ::0/64 的静态默认路由。 这会将所有未知目的地址的流量转发到指向 PC-B 的 R2 G0/0 接口,从而模拟 Internet。 在下面空白处写下命令
R2(config)# ipv6 route ::0/64 2001:db8:acad:b::b
b. 在接口配置模式使用 ipv6 rip 进程名称default-information originate 命令, RIPng 更新中即可包含静态路由。 配置 R2 上的串行接口,以发送 RIPng 更新中的默认路由
R2(config)# int s0/0/0
R2(config-rtr)# ipv6 rip Test2 default-information originate
R2(config)# int s0/0/1
R2(config-rtr)# ipv6 rip Test2 default-information originate

第 3 步: 检验路由配置
a. 查看 R2 上的 IPv6 路由表
R2# show ipv6 route
b. 查看 R1 和 R3 的路由表。
其路由表如何提供 Internet 流量的路径?
默认路由显示为度量为 2 的分布式 RIPng 路由
R1:
R ::/0 [120/2]
via FE80::2, Serial0/0/0
R3:
R ::/0 [120/2]
via FE80::2, Serial0/0/1

第 4 步: 检验连通性。
从 PC-A 和 PC-C 对 2001:DB8:ACAD:B::B/64 执行 ping 操作,模拟向 Internet 发送流量
ping 是否成功? __ 是
1 . 为什么要关闭 RIPv2 中的自动总结?
这样路由器就不会在主网边界处总结路由
2. 在这两种情况下, R1 和 R3 如何获知到 Internet 的路径?
通过从配置默认路由的路由器 (R2) 接收到的 RIP 路由更新得知
3. 配置 RIPv2 和 RIPng 有什么不同之处?
答案视情况而定。 RIPv2
0 0
原创粉丝点击