informatique:linux:reseau
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
informatique:linux:reseau [2021/01/31 15:40] – Diagnostique pteu | informatique:linux:reseau [2023/05/05 12:35] (current) – [Diagnostique] pteu | ||
---|---|---|---|
Line 193: | Line 193: | ||
=====Diagnostique===== | =====Diagnostique===== | ||
- | Afficher les infos gloables | + | Afficher les infos globales |
<code bash> | <code bash> | ||
ifconfig eno0 | ifconfig eno0 | ||
- | eno0: flags=4163< | + | eth0: flags=4163< |
- | inet 10.0.0.1 | + | inet 10.0.34.26 |
- | inet6 fe80::1 | + | inet6 fe80::32d0: |
- | ether 00:11:22:33:44:55 | + | ether 30:d0:42:12:34:56 |
- | RX packets | + | RX packets |
- | RX errors 0 dropped | + | RX errors 0 dropped |
- | TX packets | + | TX packets |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | ||
- | device interrupt 16 memory | + | device interrupt 16 memory |
</ | </ | ||
- | Ici on voit un problème | + | Ici le compteur |
+ | * reçus avec un mauvais tag de VLAN | ||
+ | * utilisant un protocole inconnu | ||
+ | * utilisant une adresse multicast non enregistrée | ||
+ | * reçus par un agrégat inactif | ||
- | Afficher | + | Les commandes suivantes sont des alternatives équivalentes qui remontent |
+ | <code bash> | ||
+ | ip -s link | ||
+ | 2: eth0: < | ||
+ | link/ether 30: | ||
+ | RX: bytes packets | ||
+ | 1239605132 4963422 | ||
+ | TX: bytes packets | ||
+ | 4178403021 4106057 | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | netstat -i | ||
+ | Table d' | ||
+ | Iface | ||
+ | eth0 | ||
+ | </ | ||
+ | |||
+ | Il est plus pertinent | ||
<code bash> | <code bash> | ||
ethtool -S eth0 | ethtool -S eth0 | ||
Line 266: | Line 288: | ||
| | ||
</ | </ | ||
- | Le compteur rx_missed_errors indique des paquets perdus ; la cause est souvent | + | Dans cette dernière commande, le compteur |
Il peut être utile d' | Il peut être utile d' |
informatique/linux/reseau.txt · Last modified: 2023/05/05 12:35 by pteu