RTCHK(8) Domain/OS BSD RTCHK(8)
NAME
rtchk - test traffic between adjacent routers
SYNOPSIS
/etc/rtchk [options]
DESCRIPTION
rtchk performs a simple test to verify that the router is able to pass
packets to and from an adjacent router. rtchk is for use in a Domain
internet.
Use the -device option to specify a network controller to test. You must
give a device type (for example, RING, IIC) to the device option. The
rtsvc program, with no command-line options, shows you which network
devices your node has.
Older versions of rtchk used a different command-line syntax to specify
the type of network hardware checked. The old command-line options still
work in rtchk version 10.1, but are no longer supported.
For more information on rtchk, see Managing Domain Routing and Domain/OS
in an Internet.
OPTIONS
-n net.node_id Test packet transmission to and from the specified node.
The network id net must be a network that the router
touches. If you use -n without -dev, you must specify a
net.node_id. If you use -n with -dev, you must specify
only the node_id, without the network number.
-dev[ice] dev-name [dev-num]
Test packet transmission over a specific network device.
Use the rtsvc program to display the names (used for dev-
name) and controller numbers (used for dev-num) of the
network devices attached to your node.
If you do not also specify a -n option, rtchk broadcasts
its test packets. If the network contains more than one
other node, rtchk receives more responses to its test
packets than expected and prints warning messages. If you
specify a -n option with the -dev option, rtchk sends the
test packets only to the node you specify.
-s n Specify the number of test packets to exchange with the
other router. If -s is not specified, 10 packets are
exchanged.
-dat (default) Specify that each test packet carries 1024 bytes of test
data.
-nodat Omit test data from the test packets.
EXAMPLES
Exchange 1000 test packets with node 4851 on network 3CE02A8. The router
must be attached to that network.
$ /etc/rtchk -n 3CE02A8.4851 -s 1000
Exchange 10 short test packets with the other node attached to the IIC or
T1 connection.
$ /etc/rtchk -nodat
Exchange 100 test packets with the other node on the IIC or T1 network.
$ /etc/rtchk -dev iic -s 100
Exchange 10 test packets with node 666 on the ring network.
$ /etc/rtchk -dev ring -n 666