はじめての自宅サーバ構築 - Fedora/CentOS - Last Update 2008/07/25
It opened to 2004/09/19.
当サイトはFedora9で運用しています
Visitors
Pageviews
Today(IP/PV)
3,374,119
12,762,109
1,277/8,731

■ TIPS集『ネットワーク』

 ネットワークカードの速度設定

ギガビットイーサを接続したにも関わらず、100Mbbsでリンクしている場合は、
以下のコマンドで速度を変更する事が可能です。

デバイス名「eth0」の現在の情報表示
# ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:  10baseT/Half 10baseT/Full
                100baseT/Half 100baseT/Full
                1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes: 10baseT/Half 10baseT/Full
                100baseT/Half 100baseT/Full
                1000baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Current message level: 0x00000033 (51)
    Link detected: yes


デバイス名「eth0」の速度を1000Mbpsに設定する
# ethtool -s eth0 speed 1000


再度、デバイス名「eth0」の情報表示
# ethtool eth0
Settings for eth0:
    Supported ports: [ TP ]
    Supported link modes:  10baseT/Half 10baseT/Full
                100baseT/Half 100baseT/Full
                1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes: 10baseT/Half 10baseT/Full
                100baseT/Half 100baseT/Full
                1000baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Current message level: 0x00000033 (51)
    Link detected: yes


※:設定する速度は、そのネットワークカードが対応している必要があります。
ページ先頭へ

Copyright(©)2004-2008 First home server construction. All Right Reserved.