
ethtoolでネットワークインターフェースの設定を確認します。
ethtoolをインストールする!
RHELでは、以下のコマンドでethtoolをインストールします。
$ sudo dnf install ethtool
Ubuntuでは、以下のコマンドでethtoolをインストールします。
$ sudo apt install ethtool
ネットワークインターフェースの設定を確認する!
ネットワークインターフェースを指定して、設定を確認します。
$ sudo 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
おわりに
ethtoolを使用すると、ネットワークインターフェースの物理的な設定を確認することができます。
関連記事
