Home > Operation and Maintenance > CentOS > About centos7 configuration dual network card bond

About centos7 configuration dual network card bond

藏色散人
Release: 2020-12-30 16:47:03
forward
5767 people have browsed it

The following column centos basic tutorial will introduce to you how to configure dual network card bond in centos7. I hope it will be helpful to friends in need!

About centos7 configuration dual network card bond

Environment: centos7.5
ip:10.0.0.5
Network card: ens33,ens38

Edit main configuration file

vim /etc/sysconfig/network-scripts/ifcfg-bond0 #编辑bond配置
Copy after login

About centos7 configuration dual network card bond

Configuring the master-slave network card configuration file

vim /etc/sysconfig/network-scripts/ifcfg-ens33
Copy after login

About centos7 configuration dual network card bond

vim /etc/sysconfig/network-scripts/ifcfg-ens38
Copy after login

About centos7 configuration dual network card bond

Service opening and detection

Restart the network service:

systemctl restart network
Copy after login

Check whether the network card information is normal:

ifconfig
Copy after login

About centos7 configuration dual network card bond

You can also judge the bond status by checking the memory information:

cat /proc/net/bonding/bond0
Copy after login

About centos7 configuration dual network card bond

The above is the detailed content of About centos7 configuration dual network card bond. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template