このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン | |||
01_linux:01_net:nicのスピード変更_ethtool [2012/10/19 18:05] – linux:net:nicのスピード変更_ethtool renamed to 01_linux:01_net:nicのスピード変更_ethtool matsui | 01_linux:01_net:nicのスピード変更_ethtool [2012/10/19 18:06] (現在) – matsui | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== NICのスピード変更(ethtool) ====== | ||
+ | [[01_linux: | ||
+ | |||
+ | <code console> | ||
+ | # ethtool speed 1000 duplex full autoneg off | ||
+ | # ethtool speed 10 duplex full autoneg off | ||
+ | </ | ||
+ | |||
+ | ethtoolに与えられるオプションは以下の通り。 | ||
+ | < | ||
+ | speed の設定値 | ||
+ | 10 10Mbps | ||
+ | 100 100Mbps | ||
+ | 1000 1000Mbps | ||
+ | |||
+ | duplex の設定値 | ||
+ | half half-duplex | ||
+ | full full-duplex | ||
+ | |||
+ | autoneg の設定値 | ||
+ | on Autonegotiation 有効 | ||
+ | off | ||
+ | </ | ||
+ | |||
+ | |||
+ | 再起動時などに自動で実行させるには、ifcfg-eth0に下記の記述を入れておく | ||
+ | / | ||
+ | ETHTOOL_OPTS=" |