A SERVICE OF

logo

IP Routing Features
Configuring Static IP Routes
ProCurve(config)# ip route 127.10.144.21/24 10.10.10.2 metric 12 distance 10
ProCurve(config)# ip route 127.10.144.21/24 10.10.10.3 metric 12 distance 10
Configures an ECMP set with 2 different gateways
to the same destination address.
Figure 5-8. Example of an ECMP Set With the Same Destination But Different Next-hop Routers.
Displaying Static Route Information
The show ip route static command displays the current static route configura-
tion on the routing switch. Figure 5-9 shows the configuration resulting from
the static routes configured in the preceding examples.
ProCurve(config)# show ip route static
IP Route Entries
Destination Gateway VLAN Type Sub-Type Metric Dist.
------------------ ------------ ---- --------- ---------- -------- ----
10.10.20.177/32 reject static 1 1
10.10.40.0/24 VLAN10 10 static 1 1
10.10.50.128/27 VLAN10 10 static 1 1
10.11.30.0/24 blackhole static 1 1
127.0.0.0/8 reject static 0 0
127.10.144.32/24 10.0.0.2 1 static 12 10
127.10.144.32/24 10.0.0.3 1 static 12 10
This reject (default null) route is included by default. Refer
to “Static Route Types” on page 5-24
An ECMP set with ip load-sharing set to 2 (the maximum
paths allowed)
Figure 5-9. Example of Displaying the Currently Configured Static Routes
Configuring the Default Route
You can also assign the default route and enter it in the routing table. The
default route is used for all traffic that has a destination network not reachable
through any other IP routing table entry. For example, if 208.45.228.35 is the
IP address of your ISP router, all non-local traffic could be directed to the ISP
by entering this command:
ProCurve(config)# ip route 0.0.0.0/0 208.45.228.35
5-29