Netopia 2e-h-w ユーザーガイド

ページ / 170
Cayman 2E-H-W User’s Guide
Using the Command Line Interface
November 2000
4-29
You can configure as many as 16 static IP routes for a Cayman 
2E-H-W. Use the following commands to maintain static routes to the 
Cayman 2E-H-W routing table:
set ip static-routes destination-network net_address
Specifies the network address for the static route. Enter a network 
address in the 
net_address
 argument in dotted decimal format. The 
net_address
 argument cannot be 0.0.0.0.
set ip static-routes destination-network net_address 
netmask netmask
Specifies the subnet mask for the IP network at the other end of the 
static route. Enter the 
netmask
 argument in dotted decimal format. 
The subnet mask associated with the destination network must 
represent the same network class (A, B, or C) or a lower class (such 
as a class C subnet mask for class B network number) to be valid.
set ip static-routes destination-network net_address 
interface [ ip-address | ppp ]
Specifies the interface through which the static route is accessible.
set ip static-routes destination-network net_address 
gateway-address gate_address
If you specified the gateway is accessible through an IP address, 
specifies the IP address of the gateway for the static route. The 
default gateway must be located on a network connected to the 
Cayman 2E-H-W configured interface.
set ip static-routes destination-network net_address 
metric integer
Specifies the metric (hop count) for the static route. The default 
metric is 1. Enter a number from 1 to 15 for the integer argument to 
indicate the number of routers (actual or best guess) a packet must 
traverse to reach the remote network.
You can enter a metric of 1 to indicate either: