Multicast Traffic Generator Windows

 admin  
gistfile1.txt
  1. Multicast Traffic Generator Windows
  2. Multicast Traffic Generator Windows
Multicast traffic generator windows

Linux Network Configuration Networking, set-up and administration. This Linux tutorial covers TCP/IP networking, network administration and system configuration basics. Directory of hundreds of tools for monitoring and analyzing network traffic. Article ID -- Article Title. FD40841 - Customer Service Note: Advanced Services Dashboard FD40849 - Technical Note: FortiPortal troubleshooting commands.

this is a sample of output:
root@percona-db-2:~# iperf -s -u -B 226.94.1.1 -i 1
------------------------------------------------------------
Server listening on UDP port 5001
Binding to local address 226.94.1.1
Joining multicast group 226.94.1.1
Receiving 1470 byte datagrams
UDP buffer size: 122 KByte (default)
------------------------------------------------------------
[ 3] local 226.94.1.1 port 5001 connected with 212.11.66.254 port 49525
[ ID] Interval Transfer Bandwidth Jitter Lost/Total
Datagrams
[ 3] 0.0- 1.0 sec 128 KBytes 1.05 Mbits/sec 0.037 ms 0/ 89
(0%)
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec 0.020 ms 0/ 89
(0%)
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec 0.021 ms 0/ 89
(0%)
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec 0.022 ms 0/ 269
(0%)
^C
root@percona-prm:~# iperf -c 226.94.1.1 -u -T 32 -t 3 -i 1
------------------------------------------------------------
Client connecting to 226.94.1.1, UDP port 5001
Sending 1470 byte datagrams
Setting multicast TTL to 32
UDP buffer size: 122 KByte (default)
------------------------------------------------------------
[ 3] local 212.11.66.254 port 49525 connected with 226.94.1.1 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 1.0 sec 129 KBytes 1.06 Mbits/sec
[ 3] 1.0- 2.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 2.0- 3.0 sec 128 KBytes 1.05 Mbits/sec
[ 3] 0.0- 3.0 sec 386 KBytes 1.05 Mbits/sec
[ 3] Sent 269 datagrams

commented Sep 21, 2018

Thanks it is useful. Can anyone help with commands to send multiple joins and traffic for multiple groups. Say 226.1.1.1 to 226.1.1.100

commented Oct 9, 2018

There isn't a way to join multiple groups other than to start multiple servers. It could be added thought, e.g. something like iperf -s -u -B 239.1.1.1-100 or equivalent.

To transmit to multiple groups one can use iperf -c 239.1.1.1 -P 99 --incr-dstip

I've been doing a bit of fix ups in iperf 2.0.13a so it's a good time to add the multiple group join if it's useful.

Bob

commented Oct 29, 2018

Hi Bob
[root@ ~]# iperf -c 224.8.8.8 -u -P 2 --incr-dstip -T 3
iperf: unrecognized option `--incr-dstip' <<<<<<<<<<<<<<<<<<<<<<< Can you help with this error? not incrementing for me
setting perf ip4 ttl to 3

Client connecting to 224.8.8.8, UDP port 5001
Sending 1470 byte datagrams
Setting multicast TTL to 3
UDP buffer size: 208 KByte (default)

setting perf ip4 ttl to 3
[ 4] local 10.20.43.20 port 39731 connected with 224.8.8.8 port 5001
[ 3] local 10.20.43.20 port 42652 connected with 224.8.8.8 port 5001
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 4] Sent 893 datagrams
[ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
[ 3] Sent 893 datagrams
[SUM] 0.0-10.0 sec 2.50 MBytes 2.10 Mbits/sec
[root@tg2 ~]#

[root@-tg2 ~]# iperf -v
iperf version 2.0.5 (08 Jul 2010) pthreads <<<<<<<<<< This version should support --incr-dstip?

Multicast Traffic Generator Windows

Generator

commented Oct 29, 2018

It works with iperf-2.0.12. Thanks Bob

commented Oct 29, 2018

Hi Bob, Please share if you have fix ready to add the multiple group joins. Will iperf-2.0.12 for multiple group joins?

commented Nov 12, 2018

I haven't coded this up yet. It won't be releases with 2.0.12 but rather in 2.0.13

Bob

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment
Active6 years, 11 months ago
Generator

Are there any multicast traffic generators for Windows?

Daniel Andersson
19.7k3 gold badges46 silver badges58 bronze badges
Mohammad Bagher SaberiMohammad Bagher Saberi

1 Answer

Multicast traffic is actually pretty simple to create with any programming language. If you got python installed here's an example, I hope it works under Windows.

Multicast Traffic Generator Windows

Save it to i.e. mcast.py and execute it like this:

Change TTL in the script if you whant the traffic to reach further down in the network.

IntensoIntenso

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

   Coments are closed