网卡做bond
bond
1、拓扑
2、网卡做bond
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| nmcli connection add ifname bond0 con-name bond0 type bond mode active-backup ipv4.addresses 11.1.1.1/24 ipv4.method manual nmcli connection add con-name bond0-port0 ifname eth0 type bond-slave master bond0 nmcli connection add con-name bond0-port1 ifname eth1 type bond-slave master bond0 nmcli connection add con-name bond0-vlan10 ifname bond0-vlan10 type vlan id 10 dev bond0 ipv4.addresses 100.1.1.1/24 ipv4.method manual nmcli connection add con-name bond0-vlan20 ifname bond0-vlan20 type vlan id 20 dev bond0 ipv4.addresses 200.1.1.1/24 ipv4.method manual
nmcli connection add ifname bond0 con-name bond0 type bond mode active-backup ipv4.addresses 11.1.1.2/24 ipv4.method manual nmcli connection add con-name bond0-port0 ifname eth0 type bond-slave master bond0 nmcli connection add con-name bond0-port1 ifname eth1 type bond-slave master bond0 nmcli connection add con-name bond0-vlan10 ifname bond0-vlan10 type vlan id 10 dev bond0 ipv4.addresses 100.1.1.2/24 ipv4.method manual nmcli connection add con-name bond0-vlan20 ifname bond0-vlan20 type vlan id 20 dev bond0 ipv4.addresses 200.1.1.2/24 ipv4.method manual
|
3、server nic design