h6. [[Programmer's Reference Manuals]] h6(. » [[*Commands]] h6((. » *Route h2. *Route h4. Use This *Command directly manipulates the Internet module's network routing tables. h4. Syntax *Route [-e] [-f] add [_net_|_host_] _destination gateway metric_<br /> *Route [-e] [-f] delete [_net_|_host_] _destination gateway_<br /> *Route -a h4. Parameters |<^{width:8em}. -e|<^. Place any fatal error report string in the system variable Inet$Error instead of writing it to the standard output| |<^. –f|<^. Delete all gateway entries in the Internet module's routing tables. If this is used in conjunction with an add command, the tables are flushed first| |<^. [_net_|_host_]|<^. Specify net or host| |<^. _destination_|<^. Internet host or network specified either by name (which must be present in the respective host or network name data base InetDBase$Path) or by address (using the standard Internet dot notation)| |<^. _gateway_|<^. Next-hop gateway to which packets should be addressed| |<^. _metric_|<^. Count giving the number of hops to the destination| |<^. –a|<^. Display the routing tables| h4. Notes The metric must be zero if the destination is on a directly-attached network, and non-zero if the route utilises one or more gateways. If you're adding a route with metric 0, the gateway given is the address of this host on the common network, indicating the interface to be used for transmission. Routes to a particular host are distinguished from those to a network by interpreting the Internet address associated with destination. The optional keywords net and host force the destination to be interpreted as a network or a host, respectively. Otherwise, if the destination has a local address part of 0 or if it's the symbolic name of a network, then the route's presumed to be to a network; else the route's presumed to be to a host. All symbolic names specified for a destination or gateway are looked up first as a host name; if this fails, the name is then looked up as a network name. h4. See also * [[*Ping|*Ping]]