IP Routing Features

Configuring Static IP Routes

This feature allows the routing switch to adjust to changes in network topology. The routing switch does not continue trying to use routes on unavailable paths but instead uses routes only when their paths are available.

Configuring a Static IP Route

To configure an static IP route with a destination network of

192.0.0.0255.0.0.0 and a next-hop router IP address of 195.1.1.1, you would enter the following commands:

ProCurve(config)# ip route 192.0.0.0 255.0.0.0 195.1.1.1 ProCurve(config)# write memory

 

Syntax: ip route < dest-ip-addr > < dest-mask > < next-hop-ip-addr >

 

— or —

 

ip route < dest-ip-addr >/< mask-bits > < next-hop-ip-addr >

 

The < dest-ip-addr> is the route’s destination.

 

The < dest-mask> parameter specifies the subnet mask for the routes destina­

 

tion IP address. Ones are significant bits and zeros allow any value. For

 

example, the mask 255.255.255.0 matches all hosts within the Class C sub-net

 

address specified by the < dest-ip-addr>. Alternatively, you can use CIDR

 

notation and specify the number of bits in the network mask. For example,

 

you can enter 209.157.22.0/24 instead of 209.157.22.0 255.255.255.0.

 

The < next-hop-ip-addr> is the IP address of the next router in the path to the

 

destination.

 

 

N o t e

The switch allows one static route configured for a particular network desti­

 

nation. If you configure a static route to a given network and then later

 

configure a different static route to the same network, the switch replaces the

 

first static route with the second.

 

 

Configuring the Default Route

You can also assign a default route and enter it in the routing table. The default route is the route assigned to all traffic that has network destinations that are not in the local routing table. For example, if 208.45.228.35 is the IP address of your ISP router, all non-local traffic could be directed to that route by entering the commands:

ProCurve(config)# ip route 0.0.0.0 0.0.0.0 208.45.228.35

ProCurve(config)# write memory

7-18