Đăng ký với redhat
# subscription-manager register --username linhth@netsys.com.vn --password netsys@123 --auto-attach
Check host đã đăng ký
https://access.redhat.com/management/systems
Update và cài một số gói
# yum update -y
# yum install -y wget ntp iperf nload
Check tốc độ mạng
Mở port trên firewalld
# firewall-cmd --get-services
# sudo firewall-cmd --zone=public --add-port=5001/tcp --permanent
# sudo firewall-cmd --zone=public --add-port=5001/udp --permanent
# firewall-cmd --reload
Xem bảng route
# /sbin/iptables -L -n
# route -n
# ip route
# netstat -rn
Trên server TCP
# iperf -s
Trên client
# iperf -c 10.1.39.22 -p 5001
# iperf -c 10.1.39.22 -i1 -t 20 -m
Trên server UDP
# iperf -s -u
Trên client
# iperf -c 10.1.39.22 -u
# iperf -c 10.1.39.22 -u -b 50000m
# iperf -c 10.1.39.22 -d
# iperf -c 10.1.39.22 -u -b 50000m -i1 -t 100 -m
Tắt card mạng trong quá trình test
# ifdown ifcfg-em1
# ifdown ifcfg-em1
# ifdown ifcfg-p2p1
# ifdown ifcfg-p2p2
Xem connection
# nmcli conn show bond0
# nmcli conn show bond1
Hiển thị mức sử dụng mạng
# nload
# nload -m
# nload devices em1
# nload devices em2
# nload devices p2p1
# nload devices p2p2