본문 바로가기

IT인생_스터디/Linux

[리눅스 시스템] 리눅스 이더넷 카드 Speed와 Mode 설정하기


리눅스 이더넷 카드 Speed와 Mode 설정하기

 

 

 

1. 명령어 : ethtool

    1.1. ethtool 로 할 수있는 작업

        * 속도 설정 문제에 있어서 10/100/1000 으로 설정

        * 전송 모드에 있어서 half duplex 또는 full duplex로 설정

        * 장비간 인식 방식을 직접 설정, 또는 auto (negotiation)로 설정

 

2. 예제

    2.1. 랜카드 속도 및 전송모드 확인

        #ethtool eth0

 

    2.2. 랜카드 속도 및 전송 모드 재 설정

        * 사용 형식 : ethtool -s eth0 [speed 10/100/1000] [duplex half/full] [autoneg on/off]

 

        #ethtool -s eth0 speed 1000 duplex full autoneg off