What version of iperf?  It it's iperf 2.0.13 use -B on the server to bind
to the multicast address.  Then just send to it on the client.  -u is
required for multicast.  Also, for source specific multicast (SSM) -H sets
the source.

[root@localhost ~]# iperf -s -u -B 239.1.1.1 -i 1 -e
------------------------------------------------------------
Server listening on UDP port 5001 with pid 3740
Binding to local address 239.1.1.1
Joining multicast group  239.1.1.1
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 239.1.1.1 port 5001 connected with 10.19.87.9 port 39636
[ ID] Interval        Transfer     Bandwidth        Jitter   Lost/Total
 Latency avg/min/max/stdev PPS  NetPwr
[  3] 0.00-1.00 sec  1.19 MBytes  10.0 Mbits/sec   0.019 ms    0/  851 (0%)
 0.281/ 0.143/ 0.337/ 0.022 ms  851 pps  4456.57
[  3] 1.00-2.00 sec  1.19 MBytes  10.0 Mbits/sec   0.019 ms    0/  851 (0%)
 0.278/ 0.137/ 0.314/ 0.019 ms  850 pps  4499.51
[  3] 2.00-3.00 sec  1.19 MBytes  10.0 Mbits/sec   0.014 ms    0/  850 (0%)
 0.279/ 0.119/ 0.314/ 0.020 ms  850 pps  4472.93
[  3] 3.00-4.00 sec  1.19 MBytes  10.0 Mbits/sec   0.017 ms    0/  850 (0%)
 0.283/ 0.100/ 0.317/ 0.020 ms  850 pps  4408.85
[  3] 4.00-5.00 sec  1.19 MBytes  10.0 Mbits/sec   0.020 ms    0/  851 (0%)
 0.279/ 0.086/ 0.320/ 0.023 ms  850 pps  4478.99
[  3] 5.00-6.00 sec  1.19 MBytes  10.0 Mbits/sec   0.014 ms    0/  850 (0%)
 0.281/ 0.145/ 0.327/ 0.019 ms  850 pps  4451.73
[  3] 6.00-7.00 sec  1.19 MBytes  10.0 Mbits/sec   0.019 ms    0/  850 (0%)
 0.279/ 0.143/ 0.318/ 0.021 ms  850 pps  4485.99
[  3] 7.00-8.00 sec  1.19 MBytes  10.0 Mbits/sec   0.016 ms    0/  851 (0%)
 0.280/ 0.090/ 0.331/ 0.020 ms  850 pps  4467.64
[  3] 8.00-9.00 sec  1.19 MBytes  10.0 Mbits/sec   0.018 ms    0/  850 (0%)
 0.279/ 0.151/ 0.312/ 0.019 ms  850 pps  4484.26
[  3] 9.00-10.00 sec  1.19 MBytes  10.0 Mbits/sec   0.016 ms    0/  850
(0%)  0.280/ 0.119/ 0.313/ 0.018 ms  850 pps  4464.02
[  3] 0.00-10.00 sec  11.9 MBytes  10.0 Mbits/sec   0.016 ms    0/ 8504
(0%)  0.280/ 0.086/ 0.337/ 0.020 ms  850 pps  4471.46

[root@localhost ~]# iperf -v
iperf version 2.0.13 (21 Jan 2019) pthreads
[root@localhost ~]# iperf -s -u -B 239.1.1.1 -i 1 -e -H 10.19.87.9
------------------------------------------------------------
Server listening on UDP port 5001 with pid 3775
Binding to local address 239.1.1.1
Joining multicast (S,G)=10.19.87.9,239.1.1.1
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 239.1.1.1 port 5001 connected with 10.19.87.9 port 34019
[ ID] Interval        Transfer     Bandwidth        Jitter   Lost/Total
 Latency avg/min/max/stdev PPS  NetPwr
[  3] 0.00-1.00 sec  1.19 MBytes  10.0 Mbits/sec   0.017 ms    0/  851 (0%)
 0.278/ 0.114/ 0.336/ 0.022 ms  851 pps  4507.27
[  3] 1.00-2.00 sec  1.19 MBytes  10.0 Mbits/sec   0.022 ms    0/  851 (0%)
 0.275/ 0.097/ 0.309/ 0.021 ms  850 pps  4545.51
[  3] 2.00-3.00 sec  1.19 MBytes  10.0 Mbits/sec   0.017 ms    0/  850 (0%)
 0.277/ 0.101/ 0.319/ 0.022 ms  850 pps  4515.47
[  3] 3.00-4.00 sec  1.19 MBytes  10.0 Mbits/sec   0.016 ms    0/  850 (0%)
 0.280/ 0.084/ 0.317/ 0.019 ms  850 pps  4458.27
[  3] 4.00-5.00 sec  1.19 MBytes  10.0 Mbits/sec   0.016 ms    0/  851 (0%)
 0.281/ 0.069/ 0.311/ 0.019 ms  850 pps  4448.61
[  3] 5.00-6.00 sec  1.19 MBytes  10.0 Mbits/sec   0.019 ms    0/  850 (0%)
 0.279/ 0.147/ 0.328/ 0.019 ms  850 pps  4479.95
[  3] 6.00-7.00 sec  1.19 MBytes  10.0 Mbits/sec   0.018 ms    0/  850 (0%)
 0.278/ 0.076/ 0.316/ 0.022 ms  850 pps  4494.78
[  3] 7.00-8.00 sec  1.19 MBytes  10.0 Mbits/sec   0.010 ms    0/  851 (0%)
 0.279/ 0.095/ 0.314/ 0.019 ms  850 pps  4489.47
[  3] 8.00-9.00 sec  1.19 MBytes  10.0 Mbits/sec   0.017 ms    0/  850 (0%)
 0.275/ 0.145/ 0.309/ 0.019 ms  850 pps  4543.46
[  3] 9.00-10.00 sec  1.19 MBytes  10.0 Mbits/sec   0.017 ms    0/  850
(0%)  0.274/ 0.108/ 0.319/ 0.021 ms  850 pps  4554.06
[  3] 0.00-10.00 sec  11.9 MBytes  10.0 Mbits/sec   0.017 ms    0/ 8504
(0%)  0.277/ 0.069/ 0.336/ 0.020 ms  850 pps  4508.09

[root@localhost ~]# iperf -c 239.1.1.1 -u -i 1 -e -b 10m
------------------------------------------------------------
Client connecting to 239.1.1.1, UDP port 5001 with pid 4727
Sending 1470 byte datagrams, IPG target: 1176.00 us (kalman adjust)
Setting multicast TTL to 1
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 10.19.87.9 port 39636 connected with 239.1.1.1 port 5001
[ ID] Interval        Transfer     Bandwidth      Write/Err  PPS
[  3] 0.00-1.00 sec  1.19 MBytes  10.0 Mbits/sec  852/0      851 pps
[  3] 1.00-2.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 2.00-3.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 3.00-4.00 sec  1.19 MBytes  10.0 Mbits/sec  851/0      850 pps
[  3] 4.00-5.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 5.00-6.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 6.00-7.00 sec  1.19 MBytes  10.0 Mbits/sec  851/0      850 pps
[  3] 7.00-8.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 8.00-9.00 sec  1.19 MBytes  10.0 Mbits/sec  850/0      850 pps
[  3] 0.00-10.00 sec  11.9 MBytes  10.0 Mbits/sec  8504/0      850 pps
[  3] Sent 8504 datagrams

Bob

On Mon, Jun 29, 2020 at 1:47 AM Andrew Morcos <andrewmor...@outlook.com>
wrote:

> Hello,
>
>
>
> I’m trying to bind from multiple terminals into a random multicast address
> on Iperf. Once I send datagrams via the client into that multicast address,
> I can’t get any report on client or server side that datagrams were
> received. Is there any steps I should do before proceeding with multicast
> (configurations or adding multicast IP addresses into multiple interfaces)?
>
>
>
> Thank you
>
>
>
> Andrew Morcos
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
> _______________________________________________
> Iperf-users mailing list
> Iperf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iperf-users
>
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to