[root@rhel74 ~]# nmcli c mod bond0 ipv4.method disabled ipv4.addr ""
[root@rhel74 ~]# systemctl restart network
nmcli con add type vlan \
con-name vlan100 \
ifname vlan100 \
dev bond0 \
id 100 \
ip4 192.168.100.114/24 \
ipv4.never-default yes \
ipv6.method ignore \
ipv4.may-fail no
●これはナレッジの手順
https://access.redhat.com/solutions/1526613
nmcli connection delete enp0s9
nmcli connection delete enp0s10
nmcli connection delete bond0
nmcli connection delete vlan10
nmcli connection reload
systemctl reboot
nmcli connection add type bond ifname bond0 con-name bond0 mode active-backup miimon 100
nmcli connection modify bond0 ipv4.method disabled ipv6.method ignore
nmcli connection add type bond-slave ifname enp0s9 con-name enp0s9 master bond0
nmcli connection add type bond-slave ifname enp0s10 con-name enp0s10 master bond0
nmcli connection up bond0
nmcli connection add type vlan ifname bond0.10 con-name bond0.10 id 10 dev bond0 ip4 192.168.100.114/24 gw4 192.168.100.111
●ping通るけど、f/o失敗するケース
nmcli connection add type bond con-name bond0 ifname bond0 mode active-backup miimon 100 ipv4.method disabled ipv6.method ignore
nmcli connection add type bond-slave ifname enp0s10 con-name enp0s10 master bond0
nmcli connection add type bond-slave ifname enp0s9 con-name enp0s9 master bond0
nmcli c mod bond0 +bond.options fail_over_mac=active,primary=enp0s9,primary_reselect=failure
nmcli connection add type vlan ifname bond0.1600 con-name bond0.1600 id 1600 dev bond0 ip4 192.168.100.114/24
systemctl restart network
▲enp0s9を落とした時のdmesg
[ 5457.449053] bond0: Releasing backup interface enp0s9
[ 5457.450731] bond0: making interface enp0s10 the new active one
[ 5457.625323] 8021q: adding VLAN 0 to HW filter on device bond0
[ 5457.642936] IPv6: ADDRCONF(NETDEV_UP): enp0s9: link is not ready
[ 5457.642939] 8021q: adding VLAN 0 to HW filter on device enp0s9
[ 5457.652506] IPv6: ADDRCONF(NETDEV_UP): enp0s9: link is not ready
[ 5459.653175] e1000: enp0s9 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 5459.654956] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s9: link becomes ready
▲enp0s9を落とした時のdmesg
[ 5632.928935] 8021q: adding VLAN 0 to HW filter on device enp0s9
[ 5632.930947] bond0: Enslaving enp0s9 as a backup interface with a down link
[ 5634.933139] e1000: enp0s9 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 5634.959806] bond0: link status definitely up for interface enp0s9, 1000 Mbps full duplex
[ 5634.959823] bond0: making interface enp0s9 the new active one
●bond0にIPアドレスを振ったが、bond0のF/Oは成功、vlanのF/Oは失敗したケース
nmcli connection add type bond con-name bond0 ifname bond0 mode active-backup miimon 100 ipv4.method manual ipv6.method ignore ipv4.addresses "192.168.100.114/24"
nmcli connection add type bond-slave ifname enp0s10 con-name enp0s10 master bond0
nmcli connection add type bond-slave ifname enp0s9 con-name enp0s9 master bond0
nmcli c mod bond0 +bond.options fail_over_mac=active,primary=enp0s9,primary_reselect=failure
nmcli connection add type vlan ifname bond0.1600 con-name bond0.1600 id 1600 dev bond0 ip4 192.168.100.115/24
systemctl restart network
nmcli device disconnect enp0s9
↑のタイミングでvlanがダウンした。
また、bond0のIPとvlanのIPは共存できない様子。(PINGが通らないため)
●ナレッジの通りにvlan作成。vlanをバウンドすればF/Oできるが。。。
https://access.redhat.com/solutions/1526613
[root@localhost network-scripts]# ll ifcfg-*
-rw-r--r--. 1 root root 310 Apr 7 07:21 ifcfg-ens33
-rw-r--r--. 1 root root 279 Apr 7 07:21 ifcfg-ens34
-rw-r--r--. 1 root root 254 Jan 2 2018 ifcfg-lo
[root@localhost network-scripts]# systemctl restart network
[root@localhost network-scripts]# nmcli connection add type bond ifname bond0 con-name bond0 mode active-backup miimon 100
Connection 'bond0' (1b1e0e80-5198-4eb9-a588-9543ab7251c0) successfully added.
[root@localhost network-scripts]# nmcli connection modify bond0 ipv4.method disabled ipv6.method ignore
[root@localhost network-scripts]# nmcli connection add type bond-slave ifname ens35 con-name ens35 master bond0
Connection 'ens35' (5e4d26ba-29af-4e40-8f47-94dfedd79e77) successfully added.
[root@localhost network-scripts]# nmcli connection add type bond-slave ifname ens36 con-name ens36 master bond0
Connection 'ens36' (9255279f-a45e-436e-9190-92d1020bb645) successfully added.
[root@localhost network-scripts]# nmcli connection up bond0
Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/15)
[root@localhost network-scripts]# nmcli connection add type vlan ifname bond0.10 con-name bond0.10 id 10 dev bond0 ip4 192.168.100.114/24 gw4 192.168.100.115
Connection 'bond0.10' (1dea728c-9146-4b73-9eec-8d504b584372) successfully added.
[root@localhost network-scripts]# nmcli c mod bond0 +bond.options fail_over_mac=active,primary=ens35,primary_reselect=failure
[root@localhost network-scripts]# systemctl restart network
[root@localhost network-scripts]# ping 192.168.100.116
PING 192.168.100.116 (192.168.100.116) 56(84) bytes of data.
64 bytes from 192.168.100.116: icmp_seq=1 ttl=64 time=0.453 ms
64 bytes from 192.168.100.116: icmp_seq=2 ttl=64 time=0.952 ms
^C
--- 192.168.100.116 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.453/0.702/0.952/0.250 ms
[root@localhost network-scripts]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup) (fail_over_mac active)
Primary Slave: ens35 (primary_reselect failure)
Currently Active Slave: ens35
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: ens35
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:0c:29:f5:0b:ff
Slave queue ID: 0
Slave Interface: ens36
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:0c:29:f5:0b:09
Slave queue ID: 0
[root@localhost ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:eb brd ff:ff:ff:ff:ff:ff
inet 192.168.133.128/24 brd 192.168.133.255 scope global noprefixroute dynamic ens33
valid_lft 1798sec preferred_lft 1798sec
inet6 fe80::2185:1bb7:72ba:6137/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:f5 brd ff:ff:ff:ff:ff:ff
4: ens35: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:ff brd ff:ff:ff:ff:ff:ff
5: ens36: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:09 brd ff:ff:ff:ff:ff:ff
8: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:ff brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fef5:b09/64 scope link
valid_lft forever preferred_lft forever
9: bond0.10@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:ff brd ff:ff:ff:ff:ff:ff
inet 192.168.100.114/24 brd 192.168.100.255 scope global noprefixroute bond0.10
valid_lft forever preferred_lft forever
inet6 fe80::ed5d:ce95:616f:4da9/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@localhost network-scripts]# nmcli c show bond0
connection.id: bond0
connection.uuid: 1b1e0e80-5198-4eb9-a588-9543ab7251c0
connection.stable-id: --
connection.type: bond
connection.interface-name: bond0
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: -1 (default)
connection.auth-retries: -1
connection.timestamp: 1554651407
connection.read-only: no
connection.permissions: --
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
802-3-ethernet.port: --
802-3-ethernet.speed: 0
802-3-ethernet.duplex: --
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
ipv4.method: disabled
ipv4.dns: --
ipv4.dns-search: --
ipv4.dns-options: ""
ipv4.dns-priority: 0
ipv4.addresses: --
ipv4.gateway: --
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.dad-timeout: -1 (default)
ipv6.method: ignore
ipv6.dns: --
ipv6.dns-search: --
ipv6.dns-options: ""
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: stable-privacy
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.token: --
bond.options: fail_over_mac=active,miimon=100,mode=active-backup,primary=ens35,primary_reselect=failure
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
GENERAL.NAME: bond0
GENERAL.UUID: 1b1e0e80-5198-4eb9-a588-9543ab7251c0
GENERAL.DEVICES: bond0
GENERAL.STATE: activated
GENERAL.DEFAULT: no
GENERAL.DEFAULT6: no
GENERAL.SPEC-OBJECT: --
GENERAL.VPN: no
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/23
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/7
GENERAL.ZONE: --
GENERAL.MASTER-PATH: --
IP4.GATEWAY: --
IP6.ADDRESS[1]: fe80::20c:29ff:fef5:bff/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256
[root@localhost network-scripts]# nmcli c show bond0.10
connection.id: bond0.10
connection.uuid: 1dea728c-9146-4b73-9eec-8d504b584372
connection.stable-id: --
connection.type: vlan
connection.interface-name: bond0.10
connection.autoconnect: yes
connection.autoconnect-priority: 0
connection.autoconnect-retries: -1 (default)
connection.auth-retries: -1
connection.timestamp: 1554651408
connection.read-only: no
connection.permissions: --
connection.zone: --
connection.master: --
connection.slave-type: --
connection.autoconnect-slaves: -1 (default)
connection.secondaries: --
connection.gateway-ping-timeout: 0
connection.metered: unknown
connection.lldp: default
802-3-ethernet.port: --
802-3-ethernet.speed: 0
802-3-ethernet.duplex: --
802-3-ethernet.auto-negotiate: no
802-3-ethernet.mac-address: --
802-3-ethernet.cloned-mac-address: --
802-3-ethernet.generate-mac-address-mask:--
802-3-ethernet.mac-address-blacklist: --
802-3-ethernet.mtu: auto
802-3-ethernet.s390-subchannels: --
802-3-ethernet.s390-nettype: --
802-3-ethernet.s390-options: --
802-3-ethernet.wake-on-lan: default
802-3-ethernet.wake-on-lan-password: --
ipv4.method: manual
ipv4.dns: --
ipv4.dns-search: --
ipv4.dns-options: ""
ipv4.dns-priority: 0
ipv4.addresses: 192.168.100.114/24
ipv4.gateway: 192.168.100.115
ipv4.routes: --
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.ignore-auto-routes: no
ipv4.ignore-auto-dns: no
ipv4.dhcp-client-id: --
ipv4.dhcp-timeout: 0 (default)
ipv4.dhcp-send-hostname: yes
ipv4.dhcp-hostname: --
ipv4.dhcp-fqdn: --
ipv4.never-default: no
ipv4.may-fail: yes
ipv4.dad-timeout: -1 (default)
ipv6.method: auto
ipv6.dns: --
ipv6.dns-search: --
ipv6.dns-options: ""
ipv6.dns-priority: 0
ipv6.addresses: --
ipv6.gateway: --
ipv6.routes: --
ipv6.route-metric: -1
ipv6.route-table: 0 (unspec)
ipv6.ignore-auto-routes: no
ipv6.ignore-auto-dns: no
ipv6.never-default: no
ipv6.may-fail: yes
ipv6.ip6-privacy: -1 (unknown)
ipv6.addr-gen-mode: stable-privacy
ipv6.dhcp-send-hostname: yes
ipv6.dhcp-hostname: --
ipv6.token: --
vlan.parent: bond0
vlan.id: 10
vlan.flags: 1 (REORDER_HEADERS)
vlan.ingress-priority-map: --
vlan.egress-priority-map: --
proxy.method: none
proxy.browser-only: no
proxy.pac-url: --
proxy.pac-script: --
GENERAL.NAME: bond0.10
GENERAL.UUID: 1dea728c-9146-4b73-9eec-8d504b584372
GENERAL.DEVICES: bond0.10
GENERAL.STATE: activated
GENERAL.DEFAULT: no
GENERAL.DEFAULT6: no
GENERAL.SPEC-OBJECT: --
GENERAL.VPN: no
GENERAL.DBUS-PATH: /org/freedesktop/NetworkManager/ActiveConnection/27
GENERAL.CON-PATH: /org/freedesktop/NetworkManager/Settings/10
GENERAL.ZONE: --
GENERAL.MASTER-PATH: --
IP4.ADDRESS[1]: 192.168.100.114/24
IP4.GATEWAY: 192.168.100.115
IP4.ROUTE[1]: dst = 192.168.100.0/24, nh = 0.0.0.0, mt = 400
IP4.ROUTE[2]: dst = 0.0.0.0/0, nh = 192.168.100.115, mt = 400
IP6.ADDRESS[1]: fe80::ed5d:ce95:616f:4da9/64
IP6.GATEWAY: --
IP6.ROUTE[1]: dst = ff00::/8, nh = ::, mt = 256, table=255
IP6.ROUTE[2]: dst = fe80::/64, nh = ::, mt = 256
IP6.ROUTE[3]: dst = fe80::/64, nh = ::, mt = 400
[root@localhost network-scripts]# nmcli c
NAME UUID TYPE DEVICE
bond0 1b1e0e80-5198-4eb9-a588-9543ab7251c0 bond bond0
bond0.10 1dea728c-9146-4b73-9eec-8d504b584372 vlan bond0.10
ens33 ff2aaba8-68fd-4f85-ba36-fd78ed2bd258 ethernet ens33
ens35 5e4d26ba-29af-4e40-8f47-94dfedd79e77 ethernet ens35
ens36 9255279f-a45e-436e-9190-92d1020bb645 ethernet ens36
ens34 ee2023db-8adb-4672-9d68-5ac57a37a3cd ethernet --
★ログ残ってないけど、ここでnmcli c down ens35 を実行した。※あとでわかったことだが、downではF/Oできないようだ。つまりmii監視の検証はできないようだ。
[root@localhost ~]# tail -f /var/log/messages
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.0050] device (ens35): state change: activated -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Apr 7 08:40:34 localhost kernel: bond0: Releasing backup interface ens35
Apr 7 08:40:34 localhost kernel: bond0: making interface ens36 the new active one
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.0573] device (bond0): released bond slave ens35
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.0696] device (bond0.10): set-hw-addr: set MAC address to 00:0C:29:F5:0B:09 (vlan-parent)
Apr 7 08:40:34 localhost NetworkManager[699]: <warn> [1554651634.1960] device (bond0): set-hw-addr: new MAC address 00:0C:29:F5:0B:FF not successfully set (restore)
Apr 7 08:40:34 localhost kernel: 8021q: adding VLAN 0 to HW filter on device bond0
Apr 7 08:40:34 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): ens35: link is not ready
Apr 7 08:40:34 localhost kernel: 8021q: adding VLAN 0 to HW filter on device ens35
Apr 7 08:40:34 localhost kernel: IPv6: ADDRCONF(NETDEV_UP): ens35: link is not ready
Apr 7 08:40:34 localhost kernel: e1000: ens35 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
Apr 7 08:40:34 localhost kernel: IPv6: ADDRCONF(NETDEV_CHANGE): ens35: link becomes ready
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.2463] device (ens35): released from master device bond0
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.2464] audit: op="connection-deactivate" uuid="5e4d26ba-29af-4e40-8f47-94dfedd79e77" name="ens35" pid=5249 uid=0 result="success"
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.2473] device (ens35): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Apr 7 08:40:34 localhost dbus[619]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 7 08:40:34 localhost systemd: Starting Network Manager Script Dispatcher Service...
Apr 7 08:40:34 localhost NetworkManager[699]: <info> [1554651634.2686] device (ens35): carrier: link connected
Apr 7 08:40:34 localhost dbus[619]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 7 08:40:34 localhost systemd: Started Network Manager Script Dispatcher Service.
Apr 7 08:40:34 localhost nm-dispatcher: req:1 'down' [ens35]: new request (3 scripts)
Apr 7 08:40:34 localhost nm-dispatcher: req:1 'down' [ens35]: start running ordered scripts...
[root@localhost network-scripts]# ping 192.168.100.116
PING 192.168.100.116 (192.168.100.116) 56(84) bytes of data.
^C
--- 192.168.100.116 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2001ms
[root@localhost network-scripts]# nmcli c down bond0.10
[root@localhost ~]# tail -f /var/log/messages
Apr 7 08:43:52 localhost NetworkManager[699]: <info> [1554651832.6191] device (bond0.10): state change: activated -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
Apr 7 08:43:52 localhost NetworkManager[699]: <info> [1554651832.6215] audit: op="connection-deactivate" uuid="1dea728c-9146-4b73-9eec-8d504b584372" name="bond0.10" pid=5279 uid=0 result="success"
Apr 7 08:43:52 localhost NetworkManager[699]: <info> [1554651832.6217] device (bond0.10): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
Apr 7 08:43:52 localhost kernel: device ens36 entered promiscuous mode
Apr 7 08:43:52 localhost NetworkManager[699]: <info> [1554651832.6478] device (bond0.10): set-hw-addr: reset MAC address to 00:0C:29:F5:0B:FF (deactivate)
Apr 7 08:43:52 localhost dbus[619]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr 7 08:43:52 localhost systemd: Starting Network Manager Script Dispatcher Service...
Apr 7 08:43:52 localhost kernel: device ens36 left promiscuous mode
Apr 7 08:43:52 localhost dbus[619]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr 7 08:43:52 localhost systemd: Started Network Manager Script Dispatcher Service.
Apr 7 08:43:52 localhost NetworkManager[699]: <info> [1554651832.7195] device (bond0.10): state change: disconnected -> unmanaged (reason 'user-requested', sys-iface-state: 'managed')
Apr 7 08:43:52 localhost nm-dispatcher: req:1 'down' [bond0.10]: new request (3 scripts)
Apr 7 08:43:52 localhost nm-dispatcher: req:1 'down' [bond0.10]: start running ordered scripts...
[root@localhost network-scripts]# nmcli c up bond0.10
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/28)
[root@localhost network-scripts]# ping 192.168.100.116
PING 192.168.100.116 (192.168.100.116) 56(84) bytes of data.
64 bytes from 192.168.100.116: icmp_seq=1 ttl=64 time=0.331 ms
64 bytes from 192.168.100.116: icmp_seq=2 ttl=64 time=0.923 ms
^C
--- 192.168.100.116 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.331/0.627/0.923/0.296 ms
[root@localhost ~]# cat /proc/net/bonding/bond0
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Bonding Mode: fault-tolerance (active-backup) (fail_over_mac active)
Primary Slave: None
Currently Active Slave: ens36
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0
Slave Interface: ens36
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:0c:29:f5:0b:09
Slave queue ID: 0
[root@localhost ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:eb brd ff:ff:ff:ff:ff:ff
inet 192.168.133.128/24 brd 192.168.133.255 scope global noprefixroute dynamic ens33
valid_lft 1613sec preferred_lft 1613sec
inet6 fe80::2185:1bb7:72ba:6137/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: ens34: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:f5 brd ff:ff:ff:ff:ff:ff
4: ens35: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:ff brd ff:ff:ff:ff:ff:ff
5: ens36: <BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master bond0 state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:09 brd ff:ff:ff:ff:ff:ff
6: bond0: <BROADCAST,MULTICAST,MASTER,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:09 brd ff:ff:ff:ff:ff:ff
inet6 fe80::20c:29ff:fef5:b09/64 scope link
valid_lft forever preferred_lft forever
7: bond0.10@bond0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 00:0c:29:f5:0b:09 brd ff:ff:ff:ff:ff:ff
inet 192.168.100.114/24 brd 192.168.100.255 scope global noprefixroute bond0.10
valid_lft forever preferred_lft forever