RIPv1

RIPv1
拓扑结构
RIPv1
设置路由接口ip地址
路由A:
全局模式下
int f0/0:192.168.2.1/24
int f0/1:192.168.1.1/24
路由B:
全局模式下
int f0/0:192.168.2.2/24
int f0/1:192.168.3.1/24

设置RIP
路由A:
全局模式下
router rip
network 192.168.1.0
network 192.168.2.0
路由B:
全局模式下
router rip
network 192.168.2.0
network 192.168.3.0

路由A:
RIPv1
路由B:
RIPv1
失误:设置主机PC0网关时将192.168.1.1设置成了192.168.1.0;
设置主机PC1网关时将192.168.3.1设置成了192.168.3.0.

总结:动态路由RIPv1配置很简单,相比较静态路由配置,你不需要找它的下一跳地址,只需要把它与自身所连的网段network一下。