チーミング

 

(16)

https://help.ubuntu.com/community/UbuntuBonding

 

※nmtuiのteamingは動作しない

NetworkManagerを使用している場合、
NetworkManagerを停止し、
既存のネットワーク設定はすべてinterfacesファイルに記載しておく


systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl status NetworkManager

 

apt -y install ifenslave

vim /etc/modules
bonding

systemctl stop networking

modprobe bonding

 

vim /etc/network/interfaces


auto lo
iface lo inet loopback

auto ens160
iface ens160 inet static
address 20.20.20.151
netmask 255.255.255.0
gateway 20.20.20.1
dns-nameservers 8.8.8.8

auto ens192
iface ens192 inet manual
bond-master bond0
bond-primary ens192

auto ens224
iface ens224 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 20.20.20.120
netmask 255.255.255.0
gateway 20.20.20.1
bond-mode active-backup
bond-miimon 100
bond-slaves none

 

systemctl restart networking

--エラーとなる場合は再起動
reboot


cat /proc/net/bonding/bond0

 

(18)
http://tatuiyo.xyz/?p=69


vim /etc/netplan/50-cloud-init.yaml

network:
version: 2
renderer: networkd
ethernets:
ens160:
dhcp4: no
dhcp6: no
addresses: [20.20.20.145/24]
gateway4: 20.20.20.1
nameservers:
addresses: [8.8.8.8]
ens192:
dhcp4: no
dhcp6: no
ens224:
dhcp4: no
dhcp6: no

bonds:
bond0:
dhcp4: no
dhcp6: no
addresses: [20.20.20.120/24]
gateway4: 20.20.20.1
nameservers:
addresses: [8.8.8.8]
interfaces: [ens192,ens224]
parameters:
mode: balance-rr
mii-monitor-interval: 1


netplan apply

 

 


(9)
https://www.tecmint.com/network-nic-bonding-teaming-in-debian-linux/

 


NetworkManagerを使用している場合、
NetworkManagerを停止し、
既存のネットワーク設定はすべてinterfacesファイルに記載しておく


systemctl stop NetworkManager
systemctl disable NetworkManager
systemctl status NetworkManager

 

apt -y install ifenslave

vim /etc/modules
bonding

systemctl stop networking

modprobe bonding

 

vim /etc/network/interfaces


auto lo
iface lo inet loopback

auto ens160
iface ens160 inet static
address 20.20.20.151
netmask 255.255.255.0
gateway 20.20.20.1
dns-nameservers 8.8.8.8

auto ens192
iface ens192 inet manual
bond-master bond0
bond-primary ens192

auto ens224
iface ens224 inet manual
bond-master bond0

auto bond0
iface bond0 inet static
address 20.20.20.120
netmask 255.255.255.0
gateway 20.20.20.1
bond-mode active-backup
bond-miimon 100
bond-slaves none

 

systemctl restart networking

--エラーとなる場合は再起動
reboot


cat /proc/net/bonding/bond0

 

 

(7)

modprobe team
modinfo team

nmtui

systemctl restart network
teamdctl team0 state

 

(2012R2)

https://www.atmarkit.co.jp/ait/articles/1402/06/news129.html