Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gated(1M)

routed(1M)

gdc(8)

ripquery(8)                                                     ripquery(8)

NAME
     ripquery - query RIP gateways

SYNOPSIS
     ripquery [-1] [-2] [-[a5] authkey] [-n] [-N dest[/mask] [-p] [-r] [-v]
              [-w time] gateway ...

DESCRIPTION
     ripquery is used to request all routes known by a RIP gateway by send-
     ing a RIP request or POLL command. The routing information in any
     routing packets returned is displayed numerically and symbolically.
     ripquery is intended to be used as a tool for debugging gateways, not
     for network management. SNMP is the preferred protocol for network
     management.

     ripquery by default uses the RIP POLL command, which is an undocu-
     mented extension to the RIP specification. The RIP POLL command is
     preferred over the RIP REQUEST command because it is not subject to
     Split Horizon and/or Poisoned Reverse. See the RIP RFC for more infor-
     mation.

OPTIONS
     -1   Send the query as a version 1 packet.

     -2   Send the query as a version 2 packet (default).

     -[a5] authkey
          Specifies the authentication password to use for queries. If -a
          specified, an authentication type of SIMPLE will be used, if -5
          is specified, an authentication type of MD5 will be used, other-
          wise the default is an authentication type of NONE. Authentica-
          tion fields in incoming packets will be displayed, but not vali-
          dated.

     -n   Prevents the address of the responding host from being looked up
          to determine the symbolic name.

     -N dest[/mask]
          Specifies that the query should be for the specified destination
          dest with netmask mask instead of complete routing table. The
          specification of the optional mask implies a version 2 query. Up
          to 23 requests about specific destinations may be include in one
          packet.

     -p   Uses the RIP POLL command to request information from the routing
          table. This is the default, but is an undocumented extension. If
          there is no response to the RIP POLL command, the RIP REQUEST
          command is tried. gated responds to a POLL command with all the
          routes learned via RIP.






Page 1                       Reliant UNIX 5.44                Printed 11/98

ripquery(8)                                                     ripquery(8)

     -r   Uses the RIP REQUEST command to request information from the
          gateway's routing table. Unlike the RIP POLL command, all gate-
          ways should support the RIP REQUEST. If there is no response to
          the RIP REQUEST command, the RIP POLL command is tried. gated
          responds to a REQUEST command with all the routes he announces
          out the specified interface.

     -v   Version information about ripquery is displayed before querying
          the gateways.

     -w time
          Specifies the time in seconds to wait for the initial response
          from a gateway. The default value is 5 seconds.

NOTES
     Some versions of UNIX do not allow looking up the symbolic name of a
     subnet.

SEE ALSO
     gated(1M), routed(1M), gdc(8), ospfmonitor(8).


































Page 2                       Reliant UNIX 5.44                Printed 11/98

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