Configuring A Static Route - HP ProCurve Secure 7000dl Series Basic Management And Configuration Manual

Secure router procurve 7000dl series
Hide thumbs Also See for ProCurve Secure 7000dl Series:
Table of Contents

Advertisement

IP Routing—Configuring Static Routes
Configuring Static Routes
11-14
You can use static routing with dynamic routing. In this case, you supplement
routes discovered through various protocols with manually added routes. You
can configure the router to advertise these routes using a routing protocol, or
you can keep the routes private. (See Chapter 13: IP Routing—Configuring
RIP, OSPF, BGP, and PBR in the Advanced Management and Configuration
Guide to learn how to configure a routing protocol.)
For example, you can run a routing protocol, but configure a static default
route. (See "Configuring a Default Route" on page 11-17.)

Configuring a Static Route

When you configure a static route, you must enter the following information:
destination address and subnet mask
next-hop address or forwarding interface
By default, the administrative distance for a static route is 1 and the metric 0.
You can view the kind of information the ProCurve Secure Router stores in
its routing table in Figure 11-3.
ProCurve# show ip route
C
10.2.2.0/30 is directly connected, ppp 1
C
10.3.3.0/30 is directly connected, ppp 2
C
192.168.20.0/24 is directly connected, eth 0/1
S
192.168.30.0/24 [1/0] via 10.2.2.2, ppp 1
S
0.0.0.0/0 [1/0] via 10.3.3.2, ppp 2
Administrative
distance
Figure 11-3. Routing Table with Static Routes
The destination address is the network address for the destination subnet. The
subnet mask indicates how long this network address is. (The ProCurve
Secure Router also allows you to enter a prefix length instead of a subnet
mask.) When the router looks for a route that matches a packet's destination,
it only compares the bits specified by the subnet mask.
Metric
Next-hop address
Forwarding interface

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 7102dl seriesProcurve 7103dl series

Table of Contents