dlpiping - check network connectivity using DLPI
dlpiping -c [-q | -v] [-t try-count] [-d dsap] device_name remote_MAC_addr
dlpiping -C [-v] [-d dsap] device_name remote_MAC_addr
dlpiping -s [-q | -v] [-d dsap] device_name
The dlpiping utility exchanges network traffic over a specific DLPI network device to test network connectivity. Each host on the network being tested should run an instance of dlpiping in server mode to reflect packets from the other hosts. An instance of dlpiping in client mode can then be used to send an echo request to any other host and receive an echo response. If there is no response within 15 seconds (the default timeout period), the client declares that the remote host is not functioning.
The remote_MAC_addr is specified in hexadecimal digits separated by dots (.) or colons (:). The device_name is the name of the network interface and may have a unit number appended after a colon (:).
-c Specify client mode. -C Specify client mode with multiple echo request packets. Compute round-trip time for each packet, and report average value. -s Specify server mode. -t try-count Stop after sending try-count echo request packets in every 1 second interval in the absence of any responses. The default vaule of try-count is 15. This option is valid with -c. -d dsap Specify the DSAP to use in transmitting and receiving packets. The default is the Ethernet SAP 0xFOOE. -q Specify quiet operation. -v Specify verbose operation.
system1# getmac /dev/hme:0 /dev/hme:0 00.AA.00.A2.63.B1 system1# dlpiping -s /dev/hme:0 & system1#
system2# dlpiping -c /dev/hme:0 00.AA.00.A2.63.B1 00.AA.00.A2.63.B1 is alive system2#
In client mode, dlpiping returns 0 if the remote host is alive, 1 if the remote host does not respond, and 2 if there is an error.
|VCS 5.1 SP1||dlpiping (1M)|