CentOS7配置LACP聚合

虚拟聚合网卡配置
cat ifcfg-team0

DEVICE=team0
BOOTPROTO=static
ONBOOT=yes
USERCTL=no
BONDING_OPTS="resend_igmp=1 updelay=0 use_carrier=1 miimon=100 downdelay=0 xmit_hash_policy=layer3+4 primary_reselect=0 fail_over_mac=0 mode=802.3ad lacp_rate=1 ad_select=0"
IPV6INIT=no
TYPE=Unknown
NM_CONTROLLED=no
IPADDR=
NETMASK=
GATEWAY=

物理网卡配置
cat ifcfg-ens1f0

DEVICE=ens1f0
BOOTPROTO=none
ONBOOT=yes
HOTPLUG=no
MASTER=team0
NM_CONTROLLED=no
USERCTL=no
SLAVE=yes

cat ifcfg-ens1f0

DEVICE=ens1f1
BOOTPROTO=none
ONBOOT=yes
HOTPLUG=no
MASTER=team0
NM_CONTROLLED=no
USERCTL=no
SLAVE=yes
posted @ 2024-11-09 23:50  Daolen  阅读(9)  评论(0编辑  收藏  举报