ボンディングが未知のスピードとデュプレックスを報告する
Issue
ip addr show コマンドを実行すると、ethtool eth2 と ethtool eth3 には問題がないことが示されますが、
#cat /proc/net/bonding/bond1 コマンドを実行すると、eth2 と eth3 に未知のスピードとデュプレックスがあることが報告されます。
[root@localhost ~]# ip addr show
2: eth4:<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
3: eth5:<BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 9000 qdisc mq master bond0 state UP qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
4: eth0:<BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
8: bond0:<BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 9000 qdisc noqueue state UP
link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
inet xx:xx:xx:xx:xx:xx/23 brd scope global bond0
[root@localhost ~]# ethtool eth2
Settings for eth2:
Supported ports:[ TP ]
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/Half 1000baseT/Full
Advertised pause frame use:Symmetric
Advertised auto-negotiation:Yes
Link partner advertised link modes:1000baseT/Full
Link partner advertised pause frame use:Transmit-only
Link partner advertised auto-negotiation:Yes
Speed:1000Mb/s
Duplex:Full
Port:Twisted Pair
PHYAD:3
Transceiver: internal
Auto-negotiation: on
MDI-X: on
Supports Wake-on: g
Wake-on: g
Current message level:0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
[root@localhost ~]# ethtool eth3
Settings for eth3:
Supported ports:[ TP ]
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/Half 1000baseT/Full
Advertised pause frame use:Symmetric
Advertised auto-negotiation:Yes
Link partner advertised link modes:1000baseT/Full
Link partner advertised pause frame use:Transmit-only
Link partner advertised auto-negotiation:Yes
Speed:1000Mb/s
Duplex:Full
Port:Twisted Pair
PHYAD:4
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: g
Current message level:0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
[root@lrchwp2bapp004 ~]# cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup)
Primary Slave:None
Currently Active Slave: eth2
MII Status: up
MII Polling Interval (ms):100
Up Delay (ms):5000
Down Delay (ms):1000
Slave Interface: eth2
MII Status: up
Speed:Unknown
Duplex:Unknown
Link Failure Count:0
Permanent HW addr: xx:xx:xx:xx:xx:xx
Slave queue ID:0
Slave Interface: eth3
MII Status: up
Speed:Unknown
Duplex:Unknown
Link Failure Count:0
Permanent HW addr: xx:xx:xx:xx:xx:xx
Slave queue ID:0
[root@hostname ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)
Environment
- Red Hat Enterprise Linux 6.7
- tg3 ドライバー
- kernel-2.6.32-573.26.1.el6
- kernel-2.6.32-642.13.1.el6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
