RIPv1配置实验
版权声明:原创作品,如需转载,请与作者联系。否则将追究法律责任。 |
RIPv1配置实验:
![]() R1配置:
Router>en Router#conf t R1(config)#int f0/0 R1(config-if)#ip address 192.168.1.254 255.255.255.0 R1(config-if)#description Lan Connection to PC1 R1(config-if)#no shutdown R1(config-if)#int s1/0 R1(config-if)#ip address 192.168.2.1 255.255.255.0 R1(config-if)#description Wan Connection to R2 R1(config-if)#no shutdown R2配置:
Router>en Router#conf t R2(config)#int s0/1 R2(config-if)#ip address 192.168.2.2 255.255.255.0 R2(config-if)#description Wan Connection to R1 R2(config-if)#clock rate 64000 R2(config-if)#no shutdown R2(config-if)#int s0/2 R2(config-if)#ip address 192.168.3.1 255.255.255.0 R2(config-if)#description Wan Connection to R3 R2(config-if)#clock rate 64000 R2(config-if)#no shutdown R3配置:
Router>en Router#conf t R3(config)#int s1/0 R3(config-if)#ip add 192.168.3.2 255.255.255.0 R3(config-if)#description Wan connection to R2 R3(config-if)#no shutdown R3(config-if)#int f0/0 R3(config-if)#ip add 192.168.4.254 255.255.255.0 R3(config-if)#description Lan connection to PC2 R3(config-if)#no shutdown RIP配置:
R1(config)#router rip R1(config-router)#network 192.168.1.0 R1(config-router)#network 192.168.2.0 R1(config-router)#end R2(config)#router rip R2(config-router)#network 192.168.2.0 R2(config-router)#network 192.168.3.0 R2(config-router)#end R3(config)#router rip R3(config-router)#network 192.168.3.0 R3(config-router)#network 192.168.4.0 R3(config-router)#end R3#show ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set
C 192.168.4.0/24 is directly connected, FastEthernet0/0
R 192.168.1.0/24 [120/2] via 192.168.3.1, 00:00:08, Serial1/0 R 192.168.2.0/24 [120/1] via 192.168.3.1, 00:00:08, Serial1/0 C 192.168.3.0/24 is directly connected, Serial1/0 客户机配置:
PC1: IP:192.168.1.1/24 IP default-gateway:192.168.1.254 PC2: IP:192.168.4.1/24 IP default-gateway:192.168.4.254 测试连通性:
PC1#ping 192.168.4.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.4.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 124/210/304 ms 本文出自 “甜蜜的T007之家” 博客,转载请与作者联系! 本文出自 51CTO.COM技术博客 |




RIPv1配置实验拓扑图
SyT007
博客统计信息
热门文章
最新评论
友情链接