speed/duplex 값을 조정하기 위해서는 ethtool이 필요하다. 페도라에서 아래와 같이 필요 패키지를 설치하자. 설치는 물론 루트권한으로 진행하여야 한다.
yum install ethtool
설치가 끝나면 아래 명령으로 제대로 설치가 되었는지 확인하자.
[root@localhost iprize]# 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@localhost iprize]#
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@localhost iprize]#
eth0는 자신의 이더넷 네트워크 카드이다. speed와 duplex를 수동으로 설정하기 위해서는 우선 auto-negotiation 기능을 끄도록 하자.
ethtool -s eth0 autoneg off
이제 원하는 speed/duplex로 자신의 네트워크 카드를 설정하도록 하자. 아래 예는 100 Mb/s Full로 설정하는 방법이다.
ethtool -s eth0 speed 100 duplex full
원하는 대로 변경되었는지는 위의 ethtool eth0 명령을 통해 확인하도록 하자.
댓글 없음:
댓글 쓰기