multicasting_test

Multicast Test

네트워크에서 멀티캐스팅이 동작하는지 테스트 하는 방법이다.

iperf를 이용하는 방법이다. iperf3는 안됨

  • Server side 서버쪽
  • iperf -B <multicast address> -su -i 1 -p <multicast port>
iperf -B 228.0.0.4 -su -i 1 -p 45564

[root@host ~]# iperf -s -u -B 228.0.0.4 -i 1 -p 45564
------------------------------------------------------------
Server listening on UDP port 45564
Binding to local address 228.0.0.4
Joining multicast group  228.0.0.4
Receiving 1470 byte datagrams
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 228.0.0.4 port 45564 connected with 192.168.0.161 port 60183
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec   129 KBytes  1.06 Mbits/sec   0.028 ms    0/   90 (0%)
[  3]  1.0- 2.0 sec   128 KBytes  1.05 Mbits/sec   0.018 ms    0/   89 (0%)
[  3]  2.0- 3.0 sec   128 KBytes  1.05 Mbits/sec   0.037 ms    0/   89 (0%)
[  3]  0.0- 3.0 sec   385 KBytes  1.05 Mbits/sec   0.037 ms    0/  268 (0%)

  • Client side 클라이언트쪽
  • iperf -c <multicast address> -u -T 32 -t 3 -i 1 -p <multicast port>
iperf -c 228.0.0.4 -u -T 32 -t 3 -i 1 -p 45564

[root@host ~]# iperf -c 228.0.0.4 -u -T 32 -t 3 -i 1 -p 45564
------------------------------------------------------------
Client connecting to 228.0.0.4, UDP port 45564
Sending 1470 byte datagrams, IPG target: 11215.21 us (kalman adjust)
Setting multicast TTL to 32
UDP buffer size:  208 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.161 port 60183 connected with 228.0.0.4 port 45564
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 1.0 sec   131 KBytes  1.07 Mbits/sec
[  3]  1.0- 2.0 sec   128 KBytes  1.05 Mbits/sec
[  3]  0.0- 3.0 sec   385 KBytes  1.05 Mbits/sec
[  3] Sent 268 datagrams

로그인하면 댓글을 남길 수 있습니다.
  • multicasting_test.txt
  • 마지막으로 수정됨: 2020/12/08 08:55
  • 저자 koov