[Previous] [Next] [Contents] [Last]


addiproute

Configures a route to a host or network and adds it to the IP routing table. You can use this command to add static or permanent routes.

Syntax

 addiproute -r route_type -d destination_type 

-n interface_type -a destination_IP_address 

-g gateway_IP_address -m metric

Options


 -r


 Route_type. 1 = static, 2 = permanent.


 -d


 Destination_type. 0 = host, 1 = network.


 -n


 Interface. 0 = LAN interface, 1 = WAN interface


 -a


 Destination IP address.


 -g


 Gateway IP address.


 -m


 Metric.

Example

 addiproute -r 1 -d 1 -n 1 -a 129.1.1.0 -g 129.1.1.1 -m 2

This command will add a new static route to the remote network 129.1.1.0 using the WAN interface with a cost metric of 2. The gateway address will be 129.1.1.1.

Also Supported on
See Also


[Previous] [Next] [Contents] [Last]


Copyright © 2000, Ramp Networks. All rights reserved.