How to configure floating routing
This article is about configuring floating routes. The editor thought it was very practical, so I shared it with you to learn. The following information is about the configuration of floating routes.
1, Lab name: configure floating rout
2. Experimental purpose: interworking between PC1 and PC2
3, Experimental Topology:
4. Experimental steps:
Undo terminal monitor
System-view
[Huawei] sysname R1
[R1] interface gi0/0/0
[R1-GigabitEthernet0/0/0] ip add 192.168.1.254 255.255.255.0
[R1-GigabitEthernet0/0/0] undo shutdown
[R1-GigabitEthernet0/0/0] interface gi0/0/1
[R1-GigabitEthernet0/0/1] ip add 192.168.2.1 255.255.255.0
[R1-GigabitEthernet0/0/1] undo shutdown
[R1-GigabitEthernet0/0/1] interface gi0/0/2
[R1-GigabitEthernet0/0/2] ip add 192.168.3.1 255.255.255.0
[R1-GigabitEthernet0/0/2] undo shutdown
[R1-GigabitEthernet0/0/2] q
[R1] ip route-static 192.168.4.0 255.255.255.0 192.168.2.2 preference 80 (the smaller the better)
[R1] ip route-static 192.168.4.0 255.255.255.0 192.168.3.2 preference 90 (the smaller the better)
[R1]
R2
UNDO terminal monitor
System-view
[Huawei] sysname R2
[R2] interface gi0/0/1
[R2-GigabitEthernet0/0/1] ip add 192.168.2.2 255.255.255.0
[R2-GigabitEthernet0/0/1] undo shutdown
[R2-GigabitEthernet0/0/1] interface gi0/0/2
[R2-GigabitEthernet0/0/2] ip add 192.168.3.2 255.255.255.0
[R2-GigabitEthernet0/0/2] undo shutdown
[R2-GigabitEthernet0/0/2] interface gi0/0/0
[R2-GigabitEthernet0/0/0] ip add 192.168.4.254 255.255.255.0
[R2-GigabitEthernet0/0/0] undo shutdown
[R2-GigabitEthernet0/0/0] q
[R2] ip route-static 192.168.1.0 255.255.255.0 192.168.2.1 preference 80
[R2] ip route-static 192.168.1.0 255.255.255.0 192.168.3.1 preference 90
5. Verification and testing:
6. Summary:
Configuration ideas:
(1) configure the IP address of PC
(2) configure the IP addresses of routers R1 and R2
(3) configure next hop and link redundancy
(4) Verification
The steps described above are the steps to configure floating routing, and the specific usage needs to be used by everyone through hands-on experiments. If you want to know more about it, welcome to follow the industry information channel!