Configuring A Static Ip Route - HP Procurve 2650 Management And Configuration Manual

Hide thumbs Also See for Procurve 2650:
Table of Contents

Advertisement

IP Routing Features
Configuring Static IP Routes
When you configure a static IP route, you specify the destination address for
the route and the next-hop gateway or routing switch interface through which
the routing switch can reach the route. The routing switch adds the route to
the IP route table. In this case, Router A knows that 207.95.6.157 is reachable
through port A2, and also assumes that local interfaces within that sub-net are
on the same port. Router A deduces that IP interface 207.95.7.188 is also on
port A2.
The software automatically removes a static IP route from the IP route table
if the port used by that route becomes unavailable. When the port becomes
available again, the software automatically re-adds the route to the IP route
table.

Configuring a Static IP Route

To configure an IP static route with a destination address of 192.0.0.0 255.0.0.0
and a next-hop router IP address of 195.1.1.1, enter the following commands:
HPswitch(config)# ip route 192.0.0.0 255.0.0.0 195.1.1.1
Syntax: ip route <dest-ip-addr>/<mask-bits> <next-hop-ip-addr>
The <dest-ip-addr> is the route's destination. The <dest-mask> is the network
mask for the route's destination IP address. Alternatively, you can specify the
network mask information by entering a forward slash followed by the
number of bits in the network mask. For example, you can enter 192.0.0.0
255.255.255.0 as 192.0.0.0/.24.
Configuring the Default Route
You can also assign the default router as the destination by entering the
command:
HPswitch(config)# ip route 0.0.0.0 0.0.0.0
15-15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve 6108

Table of Contents