RH7.2下bonding 配置
各位鱼友,请帮我看下配置的mode=4为什么ping不成功,谢谢~#cat ifcfg-bond0
DEVICE=bond0
IPADDR=192.168.50.1
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=none
USERCTL=no
NM_CONTROLLED=no
BONDING_OPTS="mode=4 miimon=100"
# cat ifcfg-eth0
DEVICE=eth0
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
NM_CONTROLLED=no
# cat ifcfg-eth1
DEVICE=eth1
BOOTPROTO=none
ONBOOT=yes
MASTER=bond0
SLAVE=yes
USERCTL=no
NM_CONTROLLED=no
Mode4 是802.3ad, 也就是LACP模式,这个需要对面交换机也支持吧。普通家用配置mode1 active-backup模式就好。 nforev 发表于 2018-1-25 14:11
Mode4 是802.3ad, 也就是LACP模式,这个需要对面交换机也支持吧。普通家用配置mode1 active-backup模式 ...
一定要用交换机吗,但是在没用交换机的情况下也成功过。与kernel有关吗,RH7.自带的kernel就可以 RHEL7 红帽官方建议team(bonding)配置:
nmcli connection add type team con-name team0 ifname team0 config '{"runner": {"name": "activebackup"}}'
nmcli connection add type team-slave con-name team0-port1 ifname eno1 master team0
nmcli connection add type team-slave con-name team0-port2 ifname eno2 master team0
nmcli connection modify team0 ipv4.address 192.168.0.100/24 ipv4.gateway "xxxxx" ipv4.dns "xxxxx"ipv4.method manual
nmcli connection up team0
nmcli connection up team0-port1
nmcli c up team0-port2 秋木叶 发表于 2018-3-8 15:43
RHEL7 红帽官方建议team(bonding)配置:
nmcli connection add type team con-name team0 ifname te ...
谢谢
页:
[1]