vi /etc/sysconfig/network-scripts/ifcfg-em1
DEVICE=em1
ONBOOT=yes
HWADDR=C8:1F:66:E4:30:2C
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
BOOTPROTO=none
vi /etc/sysconfig/network-scripts/ifcfg-em2
DEVICE=em2
ONBOOT=yes
HWADDR=C8:1F:66:E4:30:2D
TYPE=Ethernet
SLAVE=yes
MASTER=bond0
BOOTPROTO=none
vi /etc/sysconfig/network-scripts/ifcfg-em3
DEVICE=em3
HWADDR=C8:1F:66:E4:30:2E
ONBOOT=yes
TYPE=Ethernet
SLAVE=yes
MASTER=bond1
BOOTPROTO=none
vi /etc/sysconfig/network-scripts/ifcfg-em4
DEVICE=em4
HWADDR=C8:1F:66:E4:30:2F
ONBOOT=yes
SLAVE=yes
MASTER=bond1
BOOTPROTO=none
TYPE=Ethernet
vi /etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
ONBOOT=yes
BONDING_OPTS="miimon=100 mode=0"
BOOTPROTO=static
IPADDR=10.39.101.1
NETMASK=255.255.255.0
vi /etc/sysconfig/network-scripts/ifcfg-bond1
DEVICE=bond1
ONBOOT=yes
BONDING_OPTS="miimon=100 mode=0"
BOOTPROTO=static
IPADDR=10.39.102.1
NETMASK=255.255.255.0
ceph服务器bond模板