[root@root]# ethtool eth0 Settings for eth0: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: half Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x000000ff (255) Link detected: yes |
1. ethtool을 이용한 eth0 설정 확인
2. ethtool을 사용하여 1G speed, Full Duplex, Auto-negotiation 활성화로 설정 변경
ethtool -s eth0 speed 1000 duplex full autoneg on
[root@ root]# ethtool -s eth0 speed 1000 duplex full autoneg on |
eth0 : 설정을 적용 할 NIC
speed 1000 : 1G Speed로 설정
duplex full : 전이중 모드
autoneg on : 네트웍 상태에서의 변화를 자동 감지 후 설정
ex) cable On, Off 자동감지, Switch에서 Speed 및 Duplex 변화에 따른 자동설정
※ 주의 : Switch 설정이 Auto 일 경우 autoneg off로 고정 설정, intel NIC(e1000)을 사용하는 장비에 따라서는, 오토 네고시에이션이 적용 안될 경우가 잦음 off로 세팅.
3. Speed, Duplex 정상적용
[root@root]# ethtool eth0 Settings for eth0: Supported ports: [ MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full 1000baseT/Half 1000baseT/Full Advertised auto-negotiation: Yes Speed: 1000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: g Wake-on: d Current message level: 0x000000ff (255) Link detected: yes |