변군이글루

[네트워크] ethtool을 이용한 랜카드 속도설정과 전송모드 설정 본문

이___네트워크

[네트워크] ethtool을 이용한 랜카드 속도설정과 전송모드 설정

변군 변군이글루 2013.06.18 22:42

ethtool을 이용한 랜카드 속도설정과 전송모드 설정

 

1. ethtool eth0 설정 확인

[root@sangcheol ~]# ethtool eth0

Settings for eth0:

           Supported ports: [ TP ]

           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 pause frame use: No

           Advertised auto-negotiation: Yes

           Speed: 100Mb/s

           Duplex: Full

           Port: Twisted Pair

           PHYAD: 1

           Transceiver: internal

           Auto-negotiation: on

           MDI-X: Unknown

           Supports Wake-on: g

           Wake-on: g

           Current message level: 0x000000ff (255)

           Link detected: yes

[root@sangcheol ~]#

Supported link modes: 지원가능한 링크모드(속도와 전송모드)

Supports auto-negotiation: 자동협상인식기능 지원여부

 

2. 1000baseT/Full, Auto-negotiation 활성화로 설정 변경

이더넷 설정변경

ethtool -s eth0 speed [10|100|1000] duplex [half|full] autoneg [on|off]

[root@sangcheol ~]# ethtool -s eth0 speed 1000 duplex full autoneg on

[root@ sangcheol ~]# ethtool eth0

Settings for eth0

           Supported ports: [ TP ]

           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 pause frame use: Symmetric

           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: g

           Current message level: 0x000000ff (255)

           Link detected: yes

[root@ sangcheol ~]#

 

 

0 Comments
댓글쓰기 폼