*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->OpenBSD man pages -> rtquery (8)              



NAME    [Toc]    [Back]

     rtquery - query routing daemons for their routing tables

SYNOPSIS    [Toc]    [Back]

     rtquery [-np1] [-w timeout] [-r addr] host ...

DESCRIPTION    [Toc]    [Back]

     rtquery is used to query a network routing daemon, routed(8)
or gated,
     for  its routing table by sending a request or poll command.
The routing
     information in any routing ``response'' packets returned  is
displayed numerically
 and symbolically.

     rtquery  by  default  uses the request command.  When the -p
option is specified,
 rtquery uses the poll command, an undocumented extension to the
     RIP  protocol  supported by gated.  When querying gated, the
poll command
     is preferred over the request command because  the  response
is not subject
     to  Split  Horizon and/or Poisoned Reverse, and because some
versions of
     gated do not answer the Request command.   Routed  does  not
answer the Poll
     command,  but recognizes Requests coming from rtquery and so
answers completely.

     rtquery is also used to turn tracing on or off in routed(8).

     The options are as follows:

     -n      Normally network and host numbers are displayed both
             and numerically.  The -n option  displays  only  the
numeric network
             and host numbers.

     -p      Uses the poll command to request full routing information from
             gated.  This is an undocumented extension RIP protocol supported
             only by gated.

     -1       Query using RIP version 1 instead of RIP version 2.

     -w timeout
             Changes the delay for an answer from each host.   By
default, each
             host is given 15 seconds to respond.

     -r addr
             Ask about the route to destination addr.

     -t  op    Change  tracing, where op is one of the following.
Requests from
             processes not running with UID 0 or on distant  networks are generally
 ignored by the daemon except for a message in
the system

                       Turn tracing on into the  specified  file.
That file
                       must  usually have been specified when the
daemon was
                       started or be the same as  a  fixed  name,

               more    Increases the debugging level.

               off     Turns off tracing.

               dump     Dumps  the  daemon's routing table to the
current tracefile.

SEE ALSO    [Toc]    [Back]


           RFC 1058 - Routing Information Protocol, RIPv1
           RFC 1723 - Routing Information Protocol, RIPv2

OpenBSD      3.6                           June      1,      1996
[ Back ]
 Similar pages
Name OS Title
routes Tru64 Specifies Internet routing information to the routing tables
route OpenBSD manually manipulate the routing tables
route FreeBSD manually manipulate the routing tables
routed Tru64 Manages network routing tables
route HP-UX manually manipulate the routing tables
route IRIX manually manipulate the routing tables
route Tru64 Manipulates the routing tables manually
dcecp_log HP-UX A dcecp object that manages serviceability routing and debug routing
netstat Linux Print network connections, routing tables, interface statistics, masquerade connections, and multica...
multicast FreeBSD Multicast Routing
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service