| FAQ No. | 13 |
|---|---|
| カテゴリー | システム全般 |
| アップデート日 | 2008年4月 |
ETHTOOLを使用して NIC を 100Mbps/full-dupex 固定に設定する方法を教えてください。
(1) 作業前提
1-1 ethtool コマンドが実装されていること。
/sbin/ethtool
1-2 お使いの NIC ドライバが ethtool をサポートしていること。
/etc/sysconfig/network-scripts/ifcfg-eth0
2-2 ifcfg-eth0 ファイルに下記を追記します。
ETHTOOL_OPTS="speed 100 duplex full autoneg off"
(3) 設定を有効にするためにネットワークの再起動を行ってください。
# service network restart
(4) 100Mbps/full-duplex 設定の確認方法
# ethtool eth0
4-2 ネットワーク再起動後、ログからも確認可能です。
/var/log/messages
Feb 4 14:28:00 hoge kernel: e100: eth0: e100_watchdog: link up,
100Mbps, full- duplex
(6) オプションの設定値
5-1 speed の設定値
10 10Mbps
100 100Mbps
1000 1000Mbps
5-2 duplex の設定値
half half-duplex
full full-duplex
5-3 autoneg の設定値
on Autonegotiation 有効
off Autonegotiation 無効