ubuntu の network トラブルで使うコマンド
ネットワークトラブルの調査で良く使うコマンドのメモ。
ethtool
- sudo ethtool ethX
- sudo ethtool -s ethX speed [10|100|...]
- sudo ethtool -s ethX duplex [half|full]
- sudo ethtool -s ethX autoneg [on|off]
- sudo ethtool -a ethX
- sudo ethtool -A ethX [rx|tx|autoneg] [on|off]
- sudo ethtool -s ethX msglvl 255
arping
- sudo arping IP_ADDR
- etc