Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ route(1M) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

netstat(1)

routing(4)

npowerup(4)

gateways(5)

     ROUTE(1M)                Series 300 Only                ROUTE(1M)

     NAME
          route - manually manipulate the routing tables

     SYNOPSIS
          /etc/route [ -f ] [ command args ]

     HP-UX/COMPATIBILITY
          Level:    HP-UX/NON-STANDARD

          Origin:   UCB

          Remarks:  Implemented on the Series 300 only.

     DESCRIPTION
          Route is a program used to manually manipulate  the  network
          routing tables.

          Route accepts three commands: add, to add a  route;  delete,
          to  delete a route; and change, to modify an existing route.
          The add command is exactly the same as the  change  command,
          in  that  if  a  route  to the specified destination already
          exists, it will be overwritten by the new route.

          All commands have the following syntax:

               /etc/route command destination gateway

          where destination is a host, network, or keyword  (default),
          for  which  the  route is ``to'', and gateway is the gateway
          through which the host,  network,  or  default  is  reached.
          Commands  may  also  be  in  ``.''  notation (see inet(3N)).
          Routes to a particular host are distinguished from those  to
          a  network  by  interpreting the Internet address associated
          with destination.  If the destination has a ``local  address
          part'' of INADDR_ANY (0), then the route is assumed to be to
          a network; otherwise, it is presumed to  be  a  route  to  a
          host.   Routes to subnetworks are entered as routes to hosts
          on that subnetwork.  If  subnetting  is  in  use,  all  host
          entries  are treated as potential routes to subnets.  If the
          default gateway is to be changed, the  destination  argument
          is  default, and the gateway argument will be interpreted as
          the new default gateway.  All symbolic names specified for a
          destination  or gateway are looked up first in the host name
          database, hosts(5).  If this lookup fails, the name is  then
          looked for in the network name database, networks(5).

          Route is available for super-user use only.

          If the -f option is  specified,  route  will  ``flush''  the
          routing  tables  of all gateway entries.  If this is used in
          conjunction with one of the commands  described  above,  the
          tables are flushed prior to the command's application.

     Hewlett-Packard               - 1 -             (printed 7/16/86)

     ROUTE(1M)                Series 300 Only                ROUTE(1M)

     DIAGNOSTICS
          add %s: gateway %s flags %x
               The specified route is being added to the tables.   The
               flags field will be 101, 102, or 104 (hexadecimal). 101
               indicates a route to a network, 102 is  a  route  to  a
               host, and 104 is the route to the default gateway.
          delete %s: gateway %s flags %x
               As above, but when deleting an entry.

          If the command is silent, it has failed.

     SEE ALSO
          netstat(1), routing(4), npowerup(4), gateways(5).

     Hewlett-Packard               - 2 -             (printed 7/16/86)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026