How to quickly configure floating routes to achieve link redundancy and floating route link Redundancy
1. Create an experiment environment
1. Router R1 \ R2 switch SW1 \ SW2 PC1 \ PC2
# Configure the port IP Address
R1 # interface gigabitethernet0/0/1
Undo shutdown
Ip address 192.168.2.1 255.255.255.0
# Interface route/0/2 undo shutdown ip address 192.168.4.1 255.255.255.0 # interface gigabitethernet0/0/0 undo shutdown ip address 192.168.1.1 255.255.255.255.0 # configure Static Routing and priority ip route-staeic 192.168.3.0 255.255.255.0 192.168.2.2 preference 110 ip route- staeic 192.168.3.0 255.255.255.0 192.168.4.2 preference 120
R2 # interface gigabitethernet0/0/0
Undo shutdown
Ip address 192.168.2.2 255.255.255.0
# Interface route/0/2 undo shutdown ip address 192.168.4.2 255.255.255.0 # interface gigabitethernet0/0/1 undo shutdown ip address 192.168.3.1 255.255.255.255.0 # configure Static Routing and priority ip route-staeic 192.168.1.0 255.255.255.0 192.168.2.1 preference 110 ip route- staeic 192.168.1.0 255.255.255.0 192.168.4.1 preference 120 # viewing the static route table dis ip routing the route table only displays static routes with high priority, if a route entry with a higher priority is broken, the route entry with a lower priority will appear in the route table. Table.