bond

 

 

root@con:~# brctl show  brq77d05569-3b
bridge name     bridge id               STP enabled     interfaces
brq77d05569-3b          8000.4ee94addc63f       no              bond0
                                                        tapab301ab4-33
root@controller3:~# cat cat /proc/net/bonding/bond0 
cat: cat: 没有那个文件或目录
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: enP2p233s0f0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: enP2p233s0f0
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 2
Permanent HW addr: 7c:1c:f1:5d:56:23
Slave queue ID: 0

Slave Interface: enP2p233s0f1
MII Status: up
Speed: 10000 Mbps
Duplex: full
Link Failure Count: 3
Permanent HW addr: 7c:1c:f1:5d:56:24
Slave queue ID: 0
root@con3:~# ip a | grep 56:24
root@con3:~# ip a sh bond0
21: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue master brq77d05569-3b state UP group default qlen 1000
    link/ether 7c:1c:f1:5d:56:23 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::7e1c:f1ff:fe5d:5623/64 scope link 
       valid_lft forever preferred_lft forever
root@controller3:~# ip a sh enP2p233s0f0
6: enP2p233s0f0: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
    link/ether 7c:1c:f1:5d:56:23 brd ff:ff:ff:ff:ff:ff
root@controller3:~# ip a sh  enP2p233s0f1
7: enP2p233s0f1: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc mq master bond0 state UP group default qlen 1000
    link/ether 7c:1c:f1:5d:56:23 brd ff:ff:ff:ff:ff:ff
root@con3:~# 

 

root@con:~# ethtool enP2p233s0f1
Settings for enP2p233s0f1:
        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
root@con:~# ethtool enP2p233s0f0
Settings for enP2p233s0f0:
        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
root@con:~# 

 

posted on 2020-08-13 14:27  tycoon3  阅读(186)  评论(0编辑  收藏  举报

导航