调试Cent OS 7.5的系统的IPerf,发现server端,无法打印出来的间隔接受率等信息,client也报错,报错显示如下
[root@localhost ~]# iperf -u -c 192.168.108.61 -i1 -t9999999999 -b 3M -l 1200
------------------------------------------------------------
Client connecting to 192.168.108.61, UDP port 5001
Sending 1200 byte datagrams
UDP buffer size: 10.0 MByte (default)
------------------------------------------------------------
read failed: No route to host
server显示异常:
关闭防火墙:
[root@localhost data1]# firewall-cmd --state
[root@localhost data1]# firewall-cmd --state
再次运行工具,查看正常:
[root@localhost data1]# iperf -s -u -i1
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 10.0 MByte (default)
------------------------------------------------------------