Centos7.5双网卡绑定
1判断网卡类型
使用命令ip a查看服务器所有网卡名称,如下图看到的网卡名称有“ens33”
使用光钎或把要配置双网卡绑定的两个口自己连自己。
使用ethtool查看每个网卡的详细信息,ethtool参数说明:
Port:Twisted
Pair(电口) FIBRE(光口)
Link
detected:网卡物理状态,yes为网卡起来,no为未起来。
确认Link detected状态为yes的是被自连起来的两个口。
2 备份网卡配置文件
[root@localhost
~]# cd /etc/sysconfig/network-scripts/
[root@localhost
network-scripts]# mkdir /tmp/net_bak
[root@localhost
network-scripts]# cp ifcfg-* /tmp/net_bak/
3 使