实验要求:在当前主机添加两块网卡,将两块网卡绑定实现网卡冗余操作。
一、添加网卡
1、打开虚拟机设置,添加网络适配器
2、通过查看ip a命令查看网卡是否添加成功
二、激活网卡
1、查看本地网卡情况
[root@localhost ~]# nmcli device
DEVICE TYPE STATE CONNECTION
ens160 ethernet connected ens160
ens224 ethernet connected Wired connection 2
ens256 ethernet connected Wired connection 1
virbr0 bridge connected (externally) virbr0
lo loopback unmanaged --
2、激活网卡
[root@localhost ~]# nmcli device connect ens224
Device 'ens224' successfully activated with '86d51163-1571-3b91-97
Linux网卡绑定实验
最新推荐文章于 2024-05-08 10:55:35 发布