리눅스 기초 다지기 - 22. ethtool

 

ethtool

: 네트워크 인터페이스 정보 확인

 

-s

: Speed, Duplex, autonego 등의 설정 값 변경

 

-S

: 인터페이스 통계 정보 출력

 

-a

: 상세한 autonego 정보

 

-i

: 드라이버 정보

 

-k

: 네트워크 디바이스 Offload 정보

 

enp0s3 인터페이스 정보 출력

[root@control ~]# ethtool enp0s3
Settings for enp0s3:
        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
        Supported FEC modes: Not reported
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 1000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Twisted Pair
        PHYAD: 0
        Transceiver: internal
        MDI-X: off (auto)
        Supports Wake-on: umbg
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes