¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
ethtool -s eth1 speed 100 duplex full autoneg off
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2018-11-28 (¼ö) 09:28 Á¶È¸ : 40980
±ÛÁÖ¼Ò :
                          

Áõ»ó) eth1 ÀåÄ¡°¡ ÀæÀº Down

# ethtool eth0
Settings for eth0:
Supported ports: [ FIBRE ]
Supported link modes:   10000baseT/Full 
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes:  10000baseT/Full 
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: FIBRE
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
       drv probe link
Link detected: yes


# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Full 
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                     100baseT/Half 100baseT/Full 
                                     1000baseT/Half 1000baseT/Full 
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
       drv probe ifdown ifup
Link detected: yes


# mii-tool eth1
eth1: negotiated 1000baseT-FD flow-control, link ok


speed 1000 ¼³Á¤Àû¿ëÀÌ ¾ÈµÊ 
# ethtool -s eth1 speed 1000 duplex full autoneg off
Cannot set new settings: Invalid argument
  not setting speed
  not setting duplex
  not setting autoneg


# ethtool -s eth1 speed 100 duplex full autoneg off

# dmesg -T 
......................
[¼ö 11¿ù 28 09:20:57 2018] r8169 0000:18:00.0 eth1: link down
[¼ö 11¿ù 28 09:21:00 2018] r8169 0000:18:00.0 eth1: link up
[¼ö 11¿ù 28 09:22:30 2018] r8169 0000:18:00.0 eth1: link up



# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes:   10baseT/Half 10baseT/Full 
                        100baseT/Half 100baseT/Full 
                        1000baseT/Half 1000baseT/Full 
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes:  Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000033 (51)
       drv probe ifdown ifup
Link detected: yes


¡Ø ÁÖÀÇ 
# ethtool -s eth0 autoneg off

½ºÇǵå¿Í duplex¸¦ °°ÀÌ ¼ÂÆÃÇÏÁö ¾Ê°í À§¿Í °°ÀÌ ¸í·É ³»¸®¸é, µå¶óÀ̹ö°¡ ÀÚµ¿À¸·Î ´Ù½Ã Auto NegotiationÀ» Enable ½ÃÄÑ ¹ö¸²



NIC CONFIG ¼³Á¤ 
........
ETHTOOL_OPTS="speed 100 duplex full autoneg off"



ethtool ¿Ü¿¡ modprobe ·Î e1000 µå¶óÀ̹ö¿¡ ´ëÇÑ ¿É¼ÇÀ» ¾Æ·¡¿Í °°Àº ÇüÅ·Π¼³Á¤ÇÒ ¼ö °¡ ÀÖ´Ù.
modprobe e1000 [<option>=<VAL1>,<VAL2>,...]

´ÙÀ½Àº Duplex ¸¦ 0 À¸·Î ¼³Á¤ÇÑ ¿¹ÀÌ´Ù. 
# modprobe e1000 Duplex=0  (0=auto-negotiate, 1=half, 2=full)

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.