
Temos dois servidores que se conectam a uma plataforma de terceiros. Um servidor tem problemas constantes de comunicação, o outro não.
Validei usando o comando 'route' que ambos os servidores usam 'eth0'
Quando faço 'ethtool eth0' no servidor que NÃO tem problemas de conectividade, recebo o seguinte:
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
Quando verifico o servidor que tem problemas de conectividade RUIM, vejo muita coisa diferente:
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
Esses servidores são servidores Ubuntu 22.04 hospedados no Azure
De onde vem essa configuração? Como posso mudar um para ser igual ao outro?
Responder1
Tente correr
ip -s link show eth0
Pode ser devido à falta de algum driver, então tente comparar a saída de lsmod
ambos os servidores.