ethtool modify network speed

2022-11-01

1、ifconfig -a|awk '{print $1}'
2、ethtool -s tapb3cb1f6a-71 speed 100

3、for net in $(ifconfig -a |grep tap |awk -F: '{print $1}');do ethtool -s $net speed 1000; ethtool $net ;done
for net in $(ifconfig -a |grep tap |awk -F: '{print $1}');do ethtool -s $net speed 100; ethtool $net ;done

4、for net in $(ifconfig -a |grep tap |awk -F: '{print $1}');do ethtool $net ; done

分类:Linux | 标签: |

相关日志

评论被关闭!