Technical data

Page 54 Command Reference
route
Syntax: set route [range=range]
set route net=network_address mask=ipmask gateway=ipaddress
metric=numhops
set route rmroute=on range=range
set route displays, adds entries to, or removes entries from the routing table. Making changes
with this command requires root privileges. Options are:
net mask gateway metric range rmroute
set route [range=range]
If the set route command is entered with no options (or just a range), the current
route table (or a range of entries from the table) is displayed.
set route net=network_address mask=ipmask gateway=ipaddress metric=numhops
The second form of the command makes a new entry into the routing table. Set
network_address to the address of the network or host this routing entry should
cover. Set ipmask to the network / subnetmask for the network this routing entry
should cover, or 255.255.255.255 for a route to a single host. Set ipaddress to
the ip address of the gateway that ip packets covered by this routing entry should be
forwarded to. For the metric number, set numhops to the number of hops (number of
routers) between the local network and the destination.
set route rmroute=on range=range
The third form of the command removes entries from the routing table. Set the range
using the index numbers listed when the table is printed. (Display the table with set
route.)
You may define up to 16 route table entries.