HP ProCurve 7000dl Series Basic Management And Configuration Manual page 599

Procurve 7000dl series secure router
Hide thumbs Also See for ProCurve 7000dl Series:
Table of Contents

Advertisement

Router A
Routing table
10.2.8.0/24
10.1.0.0/16 B
Figure 11-4. Prefix Lengths with Static Routing
You add routes to the routing table from the global configuration mode
context. Enter this command:
Syntax: ip route <destination network A.B.C.D> <subnet mask | /prefix length> <next
hop A.B.C.D | forwarding interface ID> [track <name>] [<administrative distance>]
You should make the network address and subnet as short as possible for the
next-hop address to still be valid for all matching packets. For example, to
configure a route to network 10.1.3.0 /24 on Router A shown in Figure 11-4,
you could enter a route to the entire 10.1.0.0 /16 network:
ProCurve(config)# ip route 10.1.0.0 255.255.0.0 10.1.1.2
You would have to configure a more specific route to network 10.1.3.0 /24 on
Router B:
ProCurve(config)# ip route 10.1.3.0 255.255.255.0 10.1.30.2
For point-to-point connections, instead of the next-hop IP address, you can
specify the forwarding interface (for example, PPP 1 or Frame Relay 1.103).
It is often a good idea to specify the forwarding interface rather than the next-
hop address, particularly when connecting to an external network, because
IP addresses can change without notice. The route in the routing table includes
the specified forwarding interface, but forwards traffic to any next-hop neigh-
bor that connects to the interface. See Figure 11-5.
IP Routing—Configuring Static Routes
Router C
10.1.1.2
10.1.20.2
Router B
Routing table
Router D
10.1.2.0/24 C
10.1.30.2
10.1.3.0/24 D
Configuring Static Routes
10.1.2.0/24
10.1.3.0/24
11-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 7102dlProcurve 7103dlJ8752aJ8753a

Table of Contents