ip命令创建bond

9870阅读 0评论2019-07-12 可怜的猪头
分类:LINUX



modprobe -r bonding

modprobe  bonding mode=1 miimon=100
模式0平衡负载,支持两个网卡接收数据
modprobe  bonding mode=0 miimon=100

ip命令创建bond:

ip link add bond1 type bond mode active-backup
ifconfig eth0 down
ip link set eth0 master bond1
ifconfig bond1 up

ip link set eth0 nomaster
ifconfig eth0 up
上一篇:基于 Open vSwitch 的 OpenFlow 实践
下一篇: Linux系统管理员应该知道的journalctl知识