|
NAMEomping —
test IP multicast
SYNOPSIS
DESCRIPTIONTheomping is program which uses User Datagram Protocol
to determine if computer is able to send and/or receive IP unicast and
multicast or Broadcast packets from the network. It's designed to be used in
very similar way as
ping(8) and
also has some features of the
fping(8)
command. Where
ping(8) and
omping differ is in who replies. In
ping(8)
replies are sent by the operating system and with
omping another instance of
omping sends the reply. This mean that
omping must be running on all computers to test
sending/receiving IP multicast/broadcast. Its arguments are as follows:
Program is normally terminated by SIGINT. After signal receive summary is displayed. You can also display summary during running by sending SIGINFO or SIGUSR1 signal. When using EXIT STATUSTheomping utility exits 0 on success,
and >0 if an error occurs.
EXAMPLESThe following commands and output is a typical way how to find-out and solve network problems using omping. In this situation, we have 3 computers named node-01, node-02 and node-03 with IP addresses 192.168.1.101 - 192.168.1.103. Let's run the following command on all of them.$ omping node-01 node-02
node-03 on all of nodes we should be able to seen similar output node-01: waiting for response
msg node-03: waiting for response
msg node-01: joined (S,G) = (*,
232.43.211.234), pinging node-03: joined (S,G) = (*,
232.43.211.234), pinging node-01: unicast, seq=1, size=69
bytes, dist=0, time=0.192ms node-01: multicast, seq=1, size=69
bytes, dist=0, time=0.284ms node-03: unicast, seq=1, size=69
bytes, dist=0, time=0.279ms node-03: multicast, seq=1, size=69
bytes, dist=0, time=0.360ms The first two lines tell us, that node-02 (actual node) is waiting
for a response message from node-01 and node-03. The second two lines
contain information, that we were successfully able to send an init message
and also received a response message from remote nodes. Both of these
messages are unicast, so we are able to send and receive unicast messages on
a given port. If all of nodes are up and The next line tells us that we were able to receive a 69 byte unicast response message from node-01, with a sequence number of 1. The distance between the computers is 0 so they are on the same link net. Time between send and receive packet was 0.192 ms, that is also the current average time and lastly there were no lost packets. The 6th line tells us the same information as the previous one, but the received message is a multicast message. It means, that multicast is probably well configured. The 7th and 8th lines are same as previous two one but for node-03. If the node is able to receive unicast packets, but never multicast, it means that multicast configuration is incorrect. It's recommended to turn off your firewall. If multicast packets start to arrive, great. If not, the problem is hidden in the switches/routers between the nodes. Contact your system administrator to allow multicast traffic on the switch or router.
node-01: unicast, xmt/rcv/%loss =
18/18/0%, min/avg/max/std-dev = 0.177/0.301/0.463/0.073 node-01: multicast, xmt/rcv/%loss =
18/18/0%, min/avg/max/std-dev = 0.193/0.335/0.547/0.090 node-03: unicast, xmt/rcv/%loss =
21/21/0%, min/avg/max/std-dev = 0.272/0.299/0.327/0.017 node-03: multicast, xmt/rcv/%loss =
21/20/4% (seq>=2 0%), min/avg/max/std-dev =
0.347/0.388/0.575/0.055 Last line has additional information (seq>=2 %0) which means, that after receiving first multicast packet with seq number 2, no other multicast packet was lost. Because creating multicast tree is time consuming, it's pretty normal to lost first few multicast packets. rcv field can also be formatted like node-01: unicast, xmt/rcv/%loss =
3/3+1/0%, min/avg/max/std-dev = 0.294/0.299/0.305/0.006 This means, that 1 duplicate packet was received. It's possible to find out duplicate packet by looking to output and find line which has following format node-01: unicast, seq=2 (dup),
size=69 bytes, dist=0, time=0.469ms SEE ALSOfping(8), ping(8)STANDARDSomping uses Internet-Draft draft-ietf-mboned-ssmping-08
as underlaying protocol and tries to be as compliant as possible.
AUTHORSTheomping utility was written by Jan
Friesse ⟨jfriesse@redhat.com⟩.
BUGS
Visit the GSP FreeBSD Man Page Interface. |