ethtoolの出力を理解するのを手伝ってください

ethtoolの出力を理解するのを手伝ってください

サードパーティのプラットフォームに接続するサーバーが 2 つあります。1 つのサーバーでは常に通信の問題が発生していますが、もう 1 つのサーバーでは発生していません。

'route'コマンドを使用して、両方のサーバーが 'eth0'を使用していることを確認しました。

接続の問題がないサーバーで「ethtool eth0」を実行すると、次のメッセージが表示されます。

   Settings for eth0:
        Supported ports: [ Backplane ]
        Supported link modes:   100000baseKR4/Full
                                100000baseSR4/Full
                                100000baseCR4/Full
                                100000baseLR4_ER4/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100000baseKR4/Full
                                100000baseSR4/Full
                                100000baseCR4/Full
                                100000baseLR4_ER4/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 100000Mb/s
        Duplex: Full
        Auto-negotiation: on
        Port: Direct Attach Copper
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000f7 (247)
                               drv probe link ifdown ifup rx_err tx_err
        Link detected: yes

接続の問題が発生しているサーバーを確認すると、さまざまな違いが見られます。

Settings for eth0:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 50000Mb/s
        Duplex: Unknown! (255)
        Auto-negotiation: off
        Port: None
        PHYAD: 0
        Transceiver: internal
        Current message level: 0x000000f7 (247)
                               drv probe link ifdown ifup rx_err tx_err
        Link detected: yes

これらのサーバーは両方ともAzureでホストされているUbuntu 22.04サーバーです。

この設定はどこから来たのでしょうか? どうすれば、一方を他方と同じように変更できますか?

答え1

走ってみる

ip -s link show eth0

lsmod何らかのドライバーが不足している可能性もあるので、両方のサーバーの出力を比較してみてください。

関連情報