Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a two servers on the same subnet. I have an application installed which uses Multicast UDP to propagate events between the servers and keep them in sync.

This does not seem to be happening, so I want to make sure the Multicast UDP messages are getting through as my first step.

The servers are running Windows 2008 R2.

How can I test Multicast UDP connectivity between two servers?

share|improve this question

4 Answers 4

up vote 9 down vote accepted

Try iperf

An article that explains the different steps: http://taosecurity.blogspot.com/2006/09/generating-multicast-traffic.html

share|improve this answer
    
Perfect, thanks! A Windows binary is linked from this article: linhost.info/2010/02/iperf-on-windows –  Greg B Jul 26 '11 at 14:13

iperf is a great tool, but could be a long procedure in installing it; Most repositories don't have this package. Depending on your Distribution, netcat is available in mostly every repository

You can also use netcat :

Server: nc -lu -p PortNr

Client: nc -vzu ServerIP PortNr

share|improve this answer
    
+1 Ah! Awesome! I'm gonna try this! –  Viet Dec 27 '12 at 21:07
1  
This will not work for UDP Multicatst. I tried it with a MC address like 224.4.4.4 and nothing happens. Also strace on it doesn't show any ADD_MEMBERSHIP operation. Multicast is also missing in man nc. I suggest sockperf - see below. –  avner Jan 14 at 11:04

You can use SimpleMulticastAnalyzer - it's a simple .net multicast application that I wrote.

Enjoy.

share|improve this answer

I highly recommend sockperf http://sockperf.googlecode.com

It is a great tool for checking performance in TCP & UDP, including UDP Multicast. On the way, it will verify connectivity:

  • in one machine: sockperf server -i 224.4.4.4 -p 1234
  • in another machine: sockperf ping-pong -i 224.4.4.4 -p 1234
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.