Load Balancing and Route Backup
Load Balancing Among Static Routes
To implement load balancing, set the same preference value for different routes to the same destination, as shown in Figure 2-3.
Both static routes from SwitchA to SwitchC have a preference value of 60 and are stored in the routing table.
Route Backup
To implement route backup, set different preference values for different routes to the same destination, as shown in Figure 2-4.
- In normal situations, the link associated with static route B is the active link. Static route B is included in the routing table and is used to forward data. Static route D is not included in the routing table and is not used to forward data.
- If a fault occurs on the active link, static route B is deleted from the routing table. Static route D is added to the routing table and is used to forward data.
- When the fault on the active link is resolved, static route B is reactivated, and is once again used to forward data. Static route D is deleted from the routing table and functions as the backup route.
- Static routes used for backup are also known as floating static routes.