RIP路由协议
 
实验目的
1.  掌握RIPv2的配置方法。
2.  能够排除简单的RIP网络故障
完成标准<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

3台路由器上配置RIPv2路由协议,使位于3个网段的主机能够通信。
操作步骤

配置路由器接口IP地址
1RouterAf0/0接口配置IP地址为<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />10.1.1.1/24F0/1配置为192.168.1.1/24
2RouterBf0/0接口配置IP地址为10.1.2.1/24F0/1配置为192.168.1.2/24
3RouterCf0/0接口配置IP地址为192.168.1.3/24F0/1配置为192.168.2.1/24
配置RIPv2路由协议

在路由器上配置RIPv2路由协议
验证方法:
查看路由器的路由表。
查看ping包检测。
配置主机的IP地址和网关
验证方法:
发送ping包检测。

 

配置命令

配置各个路由器接口IP地址
RouterA

int f0/0
Ip add 10.1.1.1 255.255.255.0
noshut
int f0/1
ip add 192.168.1.1 255.255.255.0
noshut
RouterB

int f0/0
Ip add 10.1.2.1 255.255.255.0
noshut
int f0/1
ip add 192.168.1.2 255.255.255.0
noshut
RouterC

int f0/0
Ip add 10.1.1.3 255.255.255.0
noshut
int f0/1
ip add 192.168.2.1 255.255.255.0
noshut

 

配置RIPv2路由协议
RIP-V2协议缺省的行为要在主网络边界上进行路由汇总,为了关闭路由汇总功能以允许被通告的子网通过主网络的边界,可以在RIP的处理中使用 no auto-summary

RouterA

router rip
version 2
no auto-summary
network 10.0.0.0
network 192.168.1.0

 

RouterB

router rip
version 2
no auto-summary
network 10.0.0.0
network 192.168.1.0

 

RouterC

router rip
version 2
no auto-summary
network 10.0.0.0
network 192.168.1.0

 

配置主机的IP地址和网关
主机的网关分别为路由器接口的IP地址。