- 7
- 0
- 约2.39千字
- 约 4页
- 2016-07-05 发布于重庆
- 举报
实验二十三RIP-2路由协议单播更新配置
实验二十三、RIP-2 路由协议单播更新配置
一、 实验目的
1. 掌握 RIP-2 单播更新的配置
2. 理解 RIP-2 组播与单播发送的机制
二、 应用环境
1. 在某些非广播的环境中,需要进行单播路由更新
2. 由于实际需要,路由器只向某个目标发送路由更新
三、 实验设备
1. DCR-1751
2. CR-V35FC
3. CR-V35MT
四、 实验拓扑
五、 实验要求
配置表
ROUTER-A
S1/1(DCE)
两台
一条
一条
192.168.1.1/24
ROUTER-B
S1/0(DTE)
192.168.1.2/24
F0/0
六、 实验步骤
192.168.0.1
F0/0
192.169.2.1/24
第一步:按照实验三和上表,配置路由器的所有接口地址并测试连通性
第二步:路由器 B 上配置 RIP 协议
Router-B#conf
Router-B_config#router rip
Router-B_config_rip#version 2
Router-B_config_rip#net 192.168.1.0
Router-B_config_rip#net 192.168.2.0
Router-B_config_rip#timer update 2
第三步:查看组播更新过程
Router-B#debug ip rip protocol
RIP protocol debugging is on
!配置为版本 2
!为方便观察,设置更新周期为 2 秒
!观察 RIP-2 组播更新的过程
Router-B#2004-1-1 00:28:09 RIP: send to 224.0.0.9 via FastEthernet0/0
2004-1-1 00:28:09 vers 2, CMD_RESPONSE, length 24
2004-1-1 00:28:09 192.168.1.0/24 via 0.0.0.0 metric 1
2004-1-1 00:28:09 RIP: send to 224.0.0.9 via Serial1/0
2004-1-1 00:28:09 vers 2, CMD_RESPONSE, length 24
2004-1-1 00:28:09 192.168.2.0/24 via 0.0.0.0 metric 1
第四步:配置单播更新
Router-B#config
Router-B_config#router rip
!组播地址为 224.0.0.9
Router-B_config_rip#neighbor 192.168.1.1
第五步:观察单播更新过程
Router-B#debug ip rip protocol
RIP protocol debugging is on
!配置单播更新
Router-B#2004-1-1 00:31:47 RIP: send to 224.0.0.9 via FastEthernet0/0
2004-1-1 00:31:47 vers 2, CMD_RESPONSE, length 24
2004-1-1 00:31:47 192.168.1.0/24 via 0.0.0.0 metric 1
2004-1-1 00:31:47 RIP: send to 192.168.1.1 via Serial1/0
2004-1-1 00:31:47 vers 2, CMD_RESPONSE, length 24
2004-1-1 00:31:47 192.168.2.0/24 via 0.0.0.0 metric 1
七、 注意事项和排错
1. debug 命令观察完毕后一定记得关闭 (no debug all)
2. 修改更新定时器只是为了便于观察,与单播配置无关
八、 配置序列
Router-B#show running-config
Building configuration...
Current configuration:
!
!使用单播更新过程
!version 1.3.2E
service timestamps log date
service timestamps debug date
no service password-encryption
!
hostname Router-B
!
!
interface FastEthernet0/0
ip address 192.168.2.1 255.255.255.0
no ip
原创力文档

文档评论(0)