Configuring A Default 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
Because OSPF routes have an administrative distance of 110, specify 120 for
the floating static route's administrative distance. (Refer to Table 11-1 on page
11-11 for the administrative distance of various routing protocols.)

Configuring a Default Route

A default route is a special static route that applies to all traffic. Typically,
when the router receives a packet that it does not know how to forward, it
drops it. A default route allows the router to forward all such packets toward
the destination most likely to be able to route them.
To configure a default route, enter a route to a destination address of all zeros
with an all-zero subnet mask. The all-zero subnet mask indicates to the router
that a packet's IP address does not have to match any of the destination
address bits in order for the route to be valid. Because the router always
matches traffic to the most specific route, it will only use the default route for
traffic that would otherwise be dropped.
To configure the default route, move to the global configuration mode context
and enter this command:
Syntax: ip route 0.0.0.0 [0.0.0.0 | /0] <next hop A.B.C.D | forwarding interface ID>
[<administrative distance>]
The ProCurve Secure Router allows you to enter the default route in CIDR
notation.
Instead of configuring a route to a default next-hop address, you can configure
a default forwarding interface. A default route is often used to forward
external traffic. In this case, specifying the WAN interface as the default
forwarding interface can be a good idea so that the default remains valid no
matter what IP address the remote router has.
For example, your router connects to the Internet with a PPP connection. You
could configure the following default route for all external traffic:
ProCurve(config)# ip route 0.0.0.0 0.0.0.0 ppp 1
Default routes can be especially useful for routers with a single point-to-point
WAN connection. If necessary, add static routes for any local subnets that are
not directly connected to the Ethernet ports. (Directly connected networks
are automatically added.) Then add a default route for all other traffic through
the WAN interface.
11-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 7102dl seriesProcurve 7103dl series

Table of Contents