route

route

Synopsis
route List the network routing tables
route --add | -a <target> <device> [ <gateway> ] Add a new route to the routing tables
route --del | -d <target> <device> [ <gateway> ] Remove a route from the routing tables
Details
The routing table tells the JNode network stacks which network devices to use to send packets to remote machines. A routing table entry consists of the "target" address for a host or network, the device to use when sending to that address, and optionally the address of the local gateway to use.

The route command manages the routing table. The no-argument form of the command lists the current routing table. The --add and --del add and delete routes respectively.

For more information on how to use route to configure JNode networking, refer to the FAQ.