多语言展示
当前在线:888今日阅读:23今日分享:25

思科rip配置实验

思科rip配置实验
工具/原料
1

电脑

2

安装有PacketTracer7

方法/步骤
1

新建拓扑

2

ip地址规划:ip规划:pc0:192.168.10.2/24pc1:192.168.20.2/24pc2:192.168.30.2/24router0 gig0/0:10.1.1.1/24router0 gig0/1:192.168.10.1/24router1 gig0/0:10.1.1.2/24router1 gig0/1:10.1.2.1/24router1 gig0/1:192.168.20.1/24router2 gig0/0:10.1.2.1/24router2 gig0/1:192.168.30.1/24

3

配置个路由器接口ip:router0:configure terminalinterface gigabitEthernet 0/1ip address 192.168.10.1 255.255.255.0no shutdownexit interface gigabitEthernet 0/0ip address 10.1.1.1 255.255.255.0no shutdownexit do show ip interface brief  router1:configure terminalinterface gigabitEthernet 0/1ip address 10.1.2.1 255.255.255.0no shutdownexit interface gigabitEthernet 0/0ip address 10.1.1.2 255.255.255.0no shutdownexit interface gigabitEthernet 0/2ip address 192.168.20.1 255.255.255.0no shutdownexitdo show ip interface brief router2:configure terminalinterface gigabitEthernet 0/0ip address 10.1.2.2 255.255.255.0no shutdownexitdo show ip interface brief

4

配置路由器上的rip协议:router0:config trouter ripversion 2network  192.168.10.0network 10.1.1.0do show ip protocols   router1:config trouter ripversion 2network 10.1.2.0network 10.1.1.0network 192.168.20.0do show ip protocols   router2:config trouter ripversion 2network 10.1.2.0network 192.168.30.0do show ip protocols

5

验证是否联通:ping 192.168.20.2 ping 192.168.30.2

注意事项

这里rip版本一定要是version 2

推荐信息