背景:
出于节省成本的需要,不少用户会将云平台中的弹性ip和共享带宽产品结合使用,将按需付费的弹性ip添加到共享带宽里使多个弹性ip共用共享带宽的大小,但如何确认共享带宽是否真的提供了所开通带宽大小的能力?
验证方法(以新租户为例):
1、创建vpc;创建云主机
2、创建按需付费弹性ip,共享带宽并将弹性ip添加到共享带宽里
3、将弹性ip绑定至云主机
4、云主机内安装iperf3,以centos为例
yum install iperf3

5、本地安装iperf3,根据本地操作系统自行安装
6、云主机起iperf3 server
iperf3 -s

7、本地起iperf3 client并设置参数开始测试
客户端终端结果显示

云主机(服务端)终端显示

与共享带宽大小基本吻合
