美文网首页
bonding配置案例

bonding配置案例

作者: 花泽菠菜xqc | 来源:发表于2019-04-23 11:05 被阅读0次

bonding配置案例:
bond在企业中属于网络优化的一部分

  1. 接口配置文件
DEVICE=bond0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPADDR=172.16.8.100
PREFIX=24
IPV6INIT=no
USERCTL=no
GATEWAY=(网关)     
DNS1=8.8.8.8      ping通www.



[root@install network-scripts]# cat ifcfg-eth0 
DEVICE=eth0
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPV6INIT=no
USERCTL=no
MASTER=bond0
SLAVE=yes

[root@install network-scripts]# cat ifcfg-eth1
DEVICE=eth1
TYPE=Ethernet
ONBOOT=yes
NM_CONTROLLED=no
BOOTPROTO=none
IPV6INIT=no:
USERCTL=no
MASTER=bond0
SLAVE=yes

2. bonding参数
[root@install ~]# vi /etc/modprobe.d/bond0.conf 
加入 alias  bond0 bonding
     options bonding mode=0 miimon=100

3. 重启网络服务 
[root@install ~]# systemctl restart work
[root@install ~]# ip a

[root@install ~]# cat /proc/net/bonding/bond0 
Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009)

如果xshell掉了  可能是networkmanager 冲突

    modprobe --first-time bonding

相关文章

  • bonding配置案例

    bonding配置案例:bond在企业中属于网络优化的一部分 接口配置文件

  • bond加带宽

    bonding配置案例: 接口配置文件[root@install network-scripts]# cat if...

  • bonding配置

    1. 创建bonding 2. 网卡bonding配置 3.bonding加载 4.重启网络服务生效

  • 配置bonding

    概述 bonding是一种linux系统下的网卡绑定技术,可以把服务器上多个个物理网卡在系统内部抽象(绑定)成一个...

  • bondbing模式下之active-backup和broadc

    网络接口配置-bonding Bonding就是 将多块网卡绑定同一IP 地址对外提供服务,可以实现高可用或者负载...

  • 网络接口配置-Bonding

    (1)Bonding介-绍 (2)Bonding工作模式 Mode 0 (balance-rr) (3)Mode ...

  • 多块网卡配置Bonding

    功能实现的目的:多块网卡使用同一个ip地址以提供网卡负载均衡或容错的能力. 1 service NetworkM...

  • bond、team、bridge实验搭建

    配置网卡bonding 配置bond0模式,两块网卡使用同一个IP地址,当一个网卡故障时,不影响使用 1 . 先关...

  • kvm+bond+bridge 实现多网卡的网桥搭建

    针对多网卡的kvm网桥设置 问题背景: 需要双网卡进行bonding,又存在kvm虚拟机,需要配置网桥。所以需要将...

  • How to Throw a Great Party

    Benefits of having a party include relaxing,bonding with ...

网友评论

      本文标题:bonding配置案例

      本文链接:https://www.haomeiwen.com/subject/jtomgqtx.html