EasyManuals Logo

HP ProCurve 7000dl Series User Manual

HP ProCurve 7000dl Series
910 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #599 background imageLoading...
Page #599 background image
11-15
IP Routing—Configuring Static Routes
Configuring Static Routes
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.
Router A
Router B
Routing table
10.1.0.0/16 B
Router C
10.1.2.0/24
Router D
10.1.3.0/24
Routing table
10.1.2.0/24 C
10.1.3.0/24 D
10.1.1.2
10.1.20.2
10.1.30.2
10.2.8.0/24

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP ProCurve 7000dl Series and is the answer not in the manual?

HP ProCurve 7000dl Series Specifications

General IconGeneral
BrandHP
ModelProCurve 7000dl Series
CategoryNetwork Router
LanguageEnglish

Related product manuals