[ovs-discuss] Trouble at ovs bond with intel 82599EB NICs.

wang.lule at zte.com.cn wang.lule at zte.com.cn
Sat Dec 7 05:37:03 UTC 2013


HI:
        Why is my OVS Bond does not work?Please help me see,thanks!

Config info【note:red font】:
[root at atca_1_1_1_11 ~]# ovs-vsctl show
df56f392-073b-4062-9d8d-76c9b227bef0
    Bridge sdvsw_fbr
        Port sdvsw_fbr
            tag: 1
            Interface sdvsw_fbr
                type: internal
        Port "bond2"
            Interface "eth4"
            Interface "eth5"
     ovs_version: "1.11.0"

[root at atca_1_1_1_11 ~]# ovs-appctl bond/show bond2
---- bond2 ----
bond_mode: active-backup
bond-hash-basis: 0
updelay: 0 ms
downdelay: 0 ms
lacp_status: off

slave eth4: disabled
        may_enable: false

slave eth5: disabled
        may_enable: false

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

[root at atca_1_1_1_11 ~]# ifconfig eth4
eth4      Link encap:Ethernet  HWaddr 4C:AC:0A:AA:9F:24 
          inet6 addr: fe80::4eac:aff:feaa:9f24/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:404685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:29664469 (28.2 MiB)  TX bytes:5862 (5.7 KiB)

[root at atca_1_1_1_11 ~]# ifconfig eth5
eth5      Link encap:Ethernet  HWaddr 4C:AC:0A:AA:9F:25 
          inet6 addr: fe80::4eac:aff:feaa:9f25/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:406515 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:29839238 (28.4 MiB)  TX bytes:8252 (8.0 KiB)
uname -a
Linux atca_1_1_1_11 2.6.32.50-1.el6xen.x86_64 #1 SMP Thu Nov 28 18:51:02 
CST 2013 x86_64 x86_64 x86_64 GNU/Linux

[root at atca_1_1_1_11 ~]# ovs-vsctl list interface eth4
_uuid               : 51b6b136-1175-4cf0-8f8c-118ca2f93408
admin_state         : up
cfm_fault           : []
cfm_fault_status    : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : full
external_ids        : {}
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : 10000000000
link_state          : down
mac                 : []
mac_in_use          : "4c:ac:0a:aa:9f:24"
mtu                 : 1500
name                : "eth4"
ofport              : 48
ofport_request      : []
options             : {}
other_config        : {enable-vlan-splinters="true"}
statistics          : {collisions=0, rx_bytes=563159, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=2669, 
tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status              : {driver_name=ixgbe, driver_version="3.10.16", 
firmware_version="0x80000482"}
type                : ""
[root at atca_1_1_1_11 ~]# ovs-vsctl list interface eth5
_uuid               : b2cbd1e5-e4af-41f7-ab77-904ecdd864cc
admin_state         : up
cfm_fault           : []
cfm_fault_status    : []
cfm_health          : []
cfm_mpid            : []
cfm_remote_mpids    : []
cfm_remote_opstate  : []
duplex              : full
external_ids        : {}
ingress_policing_burst: 0
ingress_policing_rate: 0
lacp_current        : []
link_resets         : 0
link_speed          : 10000000000
link_state          : down
mac                 : []
mac_in_use          : "4c:ac:0a:aa:9f:25"
mtu                 : 1500
name                : "eth5"
ofport              : 47
ofport_request      : []
options             : {}
other_config        : {enable-vlan-splinters="true"}
statistics          : {collisions=0, rx_bytes=562948, rx_crc_err=0, 
rx_dropped=0, rx_errors=0, rx_frame_err=0, rx_over_err=0, rx_packets=2668, 
tx_bytes=0, tx_dropped=0, tx_errors=0, tx_packets=0}
status              : {driver_name=ixgbe, driver_version="3.10.16", 
firmware_version="0x80000482"}
type                : ""


lspci -vt | grep 82599
             +-02.0-[02-03]--+-00.0  Intel Corporation 82599EB 10-Gigabit 
XAUI/BX4 Network Connection
             |               +-00.1  Intel Corporation 82599EB 10-Gigabit 
XAUI/BX4 Network Connection
             |               +-10.0  Intel Corporation 82599 Virtual 
Function
             |               +-10.1  Intel Corporation 82599 Virtual 
Function
             |               +-10.2  Intel Corporation 82599 Virtual 
Function
             |               +-10.3  Intel Corporation 82599 Virtual 
Function
             |               +-10.4  Intel Corporation 82599 Virtual 
Function
             |               +-10.5  Intel Corporation 82599 Virtual 
Function
             |               +-10.6  Intel Corporation 82599 Virtual 
Function
             |               +-10.7  Intel Corporation 82599 Virtual 
Function
             |               +-11.0  Intel Corporation 82599 Virtual 
Function
             |               +-11.1  Intel Corporation 82599 Virtual 
Function
             |               +-11.2  Intel Corporation 82599 Virtual 
Function
             |               +-11.3  Intel Corporation 82599 Virtual 
Function
             |               +-11.4  Intel Corporation 82599 Virtual 
Function
             |               +-11.5  Intel Corporation 82599 Virtual 
Function
             |               +-11.6  Intel Corporation 82599 Virtual 
Function
             |               +-11.7  Intel Corporation 82599 Virtual 
Function
             |               +-12.0  Intel Corporation 82599 Virtual 
Function
             |               +-12.1  Intel Corporation 82599 Virtual 
Function
             |               +-12.2  Intel Corporation 82599 Virtual 
Function
             |               +-12.3  Intel Corporation 82599 Virtual 
Function
             |               +-12.4  Intel Corporation 82599 Virtual 
Function
             |               +-12.5  Intel Corporation 82599 Virtual 
Function
             |               +-12.6  Intel Corporation 82599 Virtual 
Function
             |               +-12.7  Intel Corporation 82599 Virtual 
Function
             |               +-13.0  Intel Corporation 82599 Virtual 
Function
             |               +-13.1  Intel Corporation 82599 Virtual 
Function
             |               +-13.2  Intel Corporation 82599 Virtual 
Function
             |               +-13.3  Intel Corporation 82599 Virtual 
Function
             |               +-13.4  Intel Corporation 82599 Virtual 
Function
             |               +-13.5  Intel Corporation 82599 Virtual 
Function
             |               +-13.6  Intel Corporation 82599 Virtual 
Function
             |               \-13.7  Intel Corporation 82599 Virtual 
Function


--------------------------------------------------------
ZTE Information Security Notice: The information contained in this mail (and any attachment transmitted herewith) is privileged and confidential and is intended for the exclusive use of the addressee(s).  If you are not an intended recipient, any disclosure, reproduction, distribution or other dissemination or use of the information contained is strictly prohibited.  If you have received this mail in error, please delete it and notify us immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131207/8fa7c8bc/attachment.html>


More information about the discuss mailing list