{"id":43,"date":"2013-08-25T23:23:25","date_gmt":"2013-08-25T14:23:25","guid":{"rendered":"http:\/\/dukehide.dip.jp\/wordpress\/?p=43"},"modified":"2018-02-12T18:02:12","modified_gmt":"2018-02-12T09:02:12","slug":"network-interface-ethtool","status":"publish","type":"post","link":"https:\/\/dukehide.com\/pc\/network-interface-ethtool\/","title":{"rendered":"\u4ffa\u306e\u30b5\u30fc\u30d0\u30fc\u304c\u3053\u3093\u306a\u306b\u9045\u3044\u308f\u3051\u304c\u306a\u3044"},"content":{"rendered":"<p>Web\u30b5\u30fc\u30d0\u30fc\u5c02\u7528\u3068\u306a\u3063\u305fPC\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u4eca\u3072\u3068\u3064\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u60aa\u3044\u3068\u3044\u3046\u304b\u3001\u901f\u5ea6\u7684\u306b\u9045\u3044\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u306a\u308a\u307e\u305b\u3093\u3002\u6700\u521d\u306f\u3053\u3093\u306a\u3082\u306e\u304b\u306a\uff1f \u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u8a66\u3057\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u72b6\u6cc1\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<div class=\"terminal\">\n# ethtool eth0<br \/>\nSettings for eth0:<br \/>\n\u3000\u3000Supported ports: [ TP MII ]<br \/>\n\u3000\u3000Supported link modes: \u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30001000baseT\/Half 1000baseT\/Full<br \/>\n\u3000\u3000Supported pause frame use: No<br \/>\n\u3000\u3000Supports auto-negotiation: Yes<br \/>\n\u3000\u3000Advertised link modes:\u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30001000baseT\/Half 1000baseT\/Full<br \/>\n\u3000\u3000Advertised pause frame use: Symmetric Receive-only<br \/>\n\u3000\u3000Advertised auto-negotiation: Yes<br \/>\n\u3000\u3000Link partner advertised link modes:\u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000Link partner advertised pause frame use: Symmetric<br \/>\n\u3000\u3000Link partner advertised auto-negotiation: Yes<br \/>\n\u3000\u3000Speed: 100Mb\/s<br \/>\n\u3000\u3000Duplex: Full<br \/>\n\u3000\u3000Port: MII<br \/>\n\u3000\u3000PHYAD: 0<br \/>\n\u3000\u3000Transceiver: internal<br \/>\n\u3000\u3000Auto-negotiation: on<br \/>\n\u3000\u3000Supports Wake-on: pumbg<br \/>\n\u3000\u3000Wake-on: g<br \/>\n\u3000\u3000Current message level: 0x00000033 (51)<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u3000drv probe ifdown ifup<br \/>\n\u3000\u3000Link detected: yes\n<\/div>\n<p><\/p>\n<p>\u2026\u3093\uff1f Gigabit\u306eNIC\u306a\u306e\u306b100Mb\/s\u306e\u901f\u5ea6\u3057\u304b\u51fa\u3066\u3044\u306a\u3044\uff01\uff1f \u3069\u3046\u3084\u3089\u6c17\u306e\u305b\u3044\u3067\u306f\u306a\u304b\u3063\u305f\u3088\u3046\u3067\u3059\u3002\u30c7\u30e5\u30d7\u30ec\u30c3\u30af\u30b9\u306f\u554f\u984c\u7121\u3044\u3088\u3046\u3067\u3059\u304c\u3001\u3055\u3066\u3069\u3046\u3057\u305f\u3082\u306e\u304b\u2026\u3002<\/p>\n<div class=\"terminal\">\n# ethtool -s eth0 speed 1000<br \/>\nCannot advertise speed 1000<br \/>\n<br \/>\n# ethtool eth0<br \/>\nSettings for eth0:<br \/>\n\u3000\u3000Supported ports: [ TP MII ]<br \/>\n\u3000\u3000Supported link modes: \u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30001000baseT\/Half 1000baseT\/Full<br \/>\n\u3000\u3000Supported pause frame use: No<br \/>\n\u3000\u3000Supports auto-negotiation: Yes<br \/>\n\u3000\u3000Advertised link modes:\u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u30001000baseT\/Half 1000baseT\/Full<br \/>\n\u3000\u3000Advertised pause frame use: Symmetric Receive-only<br \/>\n\u3000\u3000Advertised auto-negotiation: Yes<br \/>\n\u3000\u3000Link partner advertised link modes:\u300010baseT\/Half 10baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u3000100baseT\/Half 100baseT\/Full<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u30001000baseT\/Full<br \/>\n\u3000\u3000Link partner advertised pause frame use: Symmetric<br \/>\n\u3000\u3000Link partner advertised auto-negotiation: Yes<br \/>\n\u3000\u3000Speed: 1000Mb\/s<br \/>\n\u3000\u3000Duplex: Full<br \/>\n\u3000\u3000Port: MII<br \/>\n\u3000\u3000PHYAD: 0<br \/>\n\u3000\u3000Transceiver: internal<br \/>\n\u3000\u3000Auto-negotiation: on<br \/>\n\u3000\u3000Supports Wake-on: pumbg<br \/>\n\u3000\u3000Wake-on: g<br \/>\n\u3000\u3000Current message level: 0x00000033 (51)<br \/>\n\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u3000drv probe ifdown ifup<br \/>\n\u3000\u3000Link detected: yes\n<\/div>\n<p><\/p>\n<p>ethtool\u30b3\u30de\u30f3\u30c9\u306b\u3066\u901f\u5ea6\u3084\u30c7\u30e5\u30d7\u30ec\u30c3\u30af\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<div class=\"terminal\">\n# ethtool -s eth0 speed 1000\u3000\u2190\u901f\u5ea6\u30921000Mb\/s\u306b\u8a2d\u5b9a<br \/>\n# ethtool -s eth0 duplex full\u3000\u2190\u30c7\u30e5\u30d7\u30ec\u30c3\u30af\u30b9\u3092full\u306b\u8a2d\u5b9a\n<\/div>\n<p><\/p>\n<p>\u3057\u304b\u3057\u518d\u8d77\u52d5\u3059\u308b\u3068\u5143\u306e100Mb\/s\u306b\u623b\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002\u306a\u3089\u3070ifcfg-eth0\u306b\u76f4\u63a5\u66f8\u304d\u8fbc\u3093\u3067\u3057\u307e\u304a\u3046\u3002<\/p>\n<div class=\"terminal\">\n# vi \/etc\/sysconfig\/network-script\/ifcfg-eht0<br \/>\n\u3000\uff1a<br \/>\nETHTOOL_OPTS=\"speed 1000\"\u3000\u2190\u8ffd\u52a0\n<\/div>\n<p><\/p>\n<p>\u3053\u308c\u3067\u518d\u8d77\u52d5\u3057\u3066\u3082\u5927\u4e08\u592b\uff01 \u2026\u3068\u601d\u3044\u304d\u3084\u3001LAN\u30b1\u30fc\u30d6\u30eb\u3092\u3061\u3083\u3093\u3068\u5dee\u3057\u76f4\u3057\u305f\u30891000Mb\/s\u3067\u904b\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f (^^;)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Web\u30b5\u30fc\u30d0\u30fc\u5c02\u7528\u3068\u306a\u3063\u305fPC\u3067\u3059\u304c\u3001\u3069\u3046\u3082\u4eca\u3072\u3068\u3064\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u304c\u60aa\u3044\u3068\u3044\u3046\u304b\u3001\u901f\u5ea6\u7684\u306b\u9045\u3044\u3088\u3046\u306a\u6c17\u304c\u3057\u3066\u306a\u308a\u307e\u305b\u3093\u3002\u6700\u521d\u306f\u3053\u3093\u306a\u3082\u306e\u304b\u306a\uff1f \u3068\u601d\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u8a66\u3057\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306e\u72b6\u6cc1\u3092\u8abf\u3079\u3066\u307f\u307e\u3057\u305f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"_lightning_design_setting":[],"vkexunit_cta_each_option":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[112,3],"tags":[27,70],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9iVw6-H","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/43"}],"collection":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":0,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"wp:attachment":[{"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dukehide.com\/pc\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}