1、路由器基本配置
R1:
<Huawei>system-view
[Huawei]sysname R1
[R1]interface g0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.10.10.1 255.255.255.0
[R1-GigabitEthernet0/0/0]interface g0/0/1
[R1-GigabitEthernet0/0/1]ip address 11.11.11.1 255.255.255.0
R2:
<Huawei>system-view
[Huawei]sysname R2
[R2]interface g0/0/0
[R2-GigabitEthernet0/0/0]ip address 10.10.10.2 255.255.255.0
[R2-GigabitEthernet0/0/0]interface g0/0/1
[R2-GigabitEthernet0/0/1]ip address 12.12.12.254 255.255.255.0
R3:
<Huawei>system-view
[Huawei]sysname R3
[R3]interface g0/0/0
[R3-GigabitEthernet0/0/0]ip address 11.11.11.2 255.255.255.0
[R3-GigabitEthernet0/0/0]interface g0/0/1
[R3-GigabitEthernet0/0/1]ip address 13.13.13.254 255.255.255.0
[R3-GigabitEthernet0/0/1]interface loopback 0
[R3-LoopBack0]ip address 172.16.10.1 255.255.255.0
[R3-LoopBack0]interface loopback 1
[R3-LoopBack1]ip address 172.16.20.1 255.255.255.0
[R3-LoopBack1]interface
[R3-LoopBack1]interface loopback 2
[R3-LoopBack2]ip address 172.16.30.1 255.255.255.0
2、配置RIP
R1
[R1]rip
[R1-rip-1]version 2
[R1-rip-1]network 10.0.0.0
[R1-rip-1]network 11.0.0.0
R2
[R2]rip
[R2-rip-1]version 2
[R2-rip-1]network 10.0.0.0
[R2-rip-1]network 12.0.0.0
R3
[R3]rip
[R3-rip-1]version 2
[R3-rip-1]network 11.0.0.0
[R3-rip-1]network 13.0.0.0
[R3-rip-1]network 172.16.0.0
Cisco模拟器下配置RIP协议请参考:https://blog.csdn.net/qq_34889607/article/details/103821779
来源:CSDN
作者:coisini_覔
链接:https://blog.csdn.net/qq_34889607/article/details/103860089