9.2.4 Configuring Multipath Routes
Set a multipath static route.
- Points to note
-
Use the ip route command to configure a multipath route by omitting the distance or by specifying the same distance for static routes to the same destination.
Command examples
-
(config)# ip route 192.168.2.0 255.255.255.0 172.16.1.100 noresolve
Specifies neighboring gateway 172.16.1.100 as the next hop of static route 192.168.2.0/24.
-
(config)# ip route 192.168.2.0 255.255.255.0 172.16.2.100 noresolve
Specifies neighboring gateway 172.16.2.100 as the next hop of the static route 192.168.2.0/24. The static route 192.168.2.0/24 is therefore configured as a multipath route through neighboring gateways 172.16.1.100 and 172.16.2.100.