学习配置:bond 网络接口,支持2块网卡 学习配置:team 网络接口,支持8块网卡
基本命令
nmcli connection show ##查看网卡信息 nmcli connection delete ‘name’ ##删除 ifconfig eth0 down ##关掉eth0 ifconfig eth0 up ##添加eth0 type:创建的类型 con-name:链接名 ifname:网卡名 mode:选择bond模式,可以用tab补齐可以看其他形式 nmcli connection add con-name bond0 ifname bond0 type bond mode active-backup ip4 172.25.254.212/24 nmcli connection add con-name eth0 ifname eth0 type bond-slave master bond0 nmcli connection add con-name eth1 ifname eth1 type bond-slave master bond0实验之前:将已拥有的物理网卡(eth0)删干净 另:
另: