Interface réseau Fibre ou Ethernet ?

La commande ethtool permet d’afficher et de modifier certains paramètres de la carte réseau. Avant d’utiliser cette commande il est utile de lancer ifconfig pour connaitre les noms de vos interfaces réseau.

Fibre ou Ethernet

La différence entre un port réseau ethernet et fibre se fait au niveau de la ligne Supported ports

Fibre

Ici la ligne Supported ports renvoie [ FIBRE ]

# ethtool eno66
Settings for eno66:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: 10000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Direct Attach Copper
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes

Ethernet

Ici la ligne Supported ports renvoie [ TP ]

# ethtool eno42
Settings for eno42:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 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/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 4
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no

Documentation

https://linux.die.net/man/8/ethtool

Remerciements

Martin B.

Merci à Martin B.


> Partager <