Centos 6.5 下通过ethtool限制网卡速率
来源:互联网 发布:微信拦截域名解决方案 编辑:程序博客网 时间:2024/05/02 01:27
操作环境:
Centos 6.5 x86_64
ethtool
操作步骤:
查看此时网口em1设备信息
[root@ceph-osd-2 ~]# ethtool em1Settings for em1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Advertised pause frame use: No Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on MDI-X: Unknown Supports Wake-on: g Wake-on: d Link detected: yes
使用ethtool显示em1网口速率,提示无法设置
[root@ceph-osd-2 ~]# ethtool -s em1 speed 100Cannot advertise speed 100
后来查找资料,正确设置方法如下
#ethtool -s em1 speed 100 duplex full autoneg off
查看此时em1网口信息
[root@ceph-osd-2 ~]# ethtool em1Settings for em1: Supported ports: [ TP ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Full Supported pause frame use: No Supports auto-negotiation: Yes Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Speed: 100Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Supports Wake-on: g Wake-on: d Link detected: yes
配置成功
0 0
- Centos 6.5 下通过ethtool限制网卡速率
- 查看linux系统网卡工作模式、速率等ethtool eth0
- Linux监控网络流量和限制网卡速率
- linux 下 ethtool 修改网卡eeprom
- linux 下 ethtool 修改网卡eeprom
- linux 下 ethtool 修改网卡eeprom
- linux下查看网卡速率
- Linux下千兆网卡和万兆网卡ethtool对比
- CentOS 6.3 用ethtool工具进行多网卡识别
- linux 下查看网卡工作速率
- linux 下查看网卡工作速率
- AIX下修改网卡的速率
- linux 下查看网卡工作速率
- linux下怎么判断网卡速率?
- ethtool - 查看网卡信息
- linux 网卡参数 ethtool
- linux网卡信息-ethtool
- 网卡速率适配
- 小试iSCSI多路径( by quqi99)
- Java中break的作用
- 常用IP地址查询接口
- selenium python中关于iframe的定位
- 把现有Unity3d游戏向Windows Phone 8.1移植(基础)
- Centos 6.5 下通过ethtool限制网卡速率
- <十三>读<<大话设计模式>>之适配器模式
- 如何实现对UITextField ,UITextView等输入框的 字数限制
- Java----再学习-----Java特性
- 如何将Emmet安装到到 Sublime text 3?
- Nginx学习之十一-Nginx启动框架处理流程
- IOS中查看Cookie的值的办法
- [JS前端开发] js/jquery控制页面动态加载数据 滑动滚动条自动加载事件
- 出现java.lang.NoClassDefFoundError: net/sf/ezmorph/Morpher