vim /etc/init.d/network
在最下面exit $rc前面添加两行内容:
ip route del default ip route add default nexthop via 10.19.243.254 dev bond0 nexthop via 10.20.33.254 dev bond1
保存退出
然后
systemctl daemon-reload systemctl restart network
注意:根据实际情况的ip对应的网关和bond去设置
如图: