RIPQUERY(8)

NAME
ripquery - query RIP gateways

SYNOPSIS
ripquery [ -1 ] [ -2 ] [ -a authkey] [ -n ] [ -p ] [ -r ] [ -v ] [ -w time] gateway ...

DESCRIPTION
Ripquery is used to request all routes known by a RIP gateway by sending 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 undocumented extension to the RIP specification supported by routed on SunOS 3.x and later and by gated 1.4 and later. 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 information.

OPTIONS

-1  Send the query as a version 1 packet.

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

-a  Specifies the authentication password to use for queries. If specified, an authentication type of SIMPLE will be used, otherwise the default is an authentication type of NONE. Authentication fields in incoming packets will be displayed, but not validated.

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

-p  Uses the RIP POLL command to request information from the routing table. This is the default, but is an undocumented extension supported only by some versions of SunOS 3.x and later versions of gated. 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.

-r  Used the RIP REQUEST command to request information from the gateway's routing table. Unlike the RIP POLL command, all gateways 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 anounces out the specified interface. Due to limitations in the UDP interface, on systems based on BSD 4.3 Reno or earlier, REQUESTs respond about the interface used to route packets back to the sender. This can be avoided by running ripquery on the host being queried.

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

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

EXAMPLES

SEE ALSO
routed(8), gated(8), gated-config(5), gated-copyright(8), gdc(8)
RFC1058 - Routing Information Protocol

BUGS
Some versions of Unix do not allow looking up the symbolic name of a subnet.

COPYRIGHT INFORMATION
This software and associated documentation is Copyright 1990, 1991, 1992 Cornell University., all rights reserved.

This daemon contains code that is Copyright 1988 Regents of the University of California., all rights reserved.; it also contains code that is Copyright 1989, 1990, 1991 The University of Maryland, College Park, Maryland., all rights reserved; and also contains code that is Copyright 1991 D.L.S. Associates., all rights reserved.