1、PC1在LAN1中,PC2在LAN2 中,配置RIPv2协议实现两个LAN中的PC能够通信;
2、*使用Loopback口模拟LAN内的某一网段,手动汇总,R1和R2关于R3的环回口只
学到一条汇总路由;
1、PC1在LAN1中,PC2在LAN2 中,配置RIPv2协议实现两个LAN中的PC能够通信;
基本配置
R-1
Router>enable
Router#configure terminal
Router(config)#hostname R-1
R-1(config)#interface f0/1
R-1(config-if)#ip address 10.10.10.254 255.255.255.0
R-1(config-if)#no shutdown
R-1(config-if)#interface f0/0
R-1(config-if)#ip address 12.12.12.1 255.255.255.252
R-1(config-if)#no shutdown
R-2
Router>enable
Router#configure terminal
Router(config)#hostname R-2
R-2(config)#interface f0/0
R-2(config-if)#ip address 12.12.12.2 255.255.255.252
R-2(config-if)#no shutdown
R-2(config-if)#interface f0/1
R-2(config-if)#ip address 23.23.23.1 255.255.255.252
R-2(config-if)#