摘要: #!/bin/bash # 先备份原来的网卡配置文件 find /etc/sysconfig/network-scripts/ -type f -name "ifcfg*"|xargs cp -t /tmp # 定义要使用的变量 network_file_path=/etc/sysconfig/ne 阅读全文
posted @ 2020-10-21 12:55 Gshelldon 阅读(478) 评论(0) 推荐(0) 编辑
摘要: cnetos 网卡绑定 eth0+eth1做双网卡绑定 ​ 需要说明的是如果想做成mode 0的负载均衡,仅仅设置这里options bond0 miimon=100 mode=0是不够的,与网卡相连的交换机必须做特殊配置(这两个端口应该采取聚合方式),因为做bonding的这两块网卡是使用同一个M 阅读全文
posted @ 2020-10-21 10:11 Gshelldon 阅读(1141) 评论(0) 推荐(0) 编辑