1) ๊ธฐ๋ณธ ํจํค์ง ๋ค์ด๋ก๋
apt-get update -y
apt-get install -y ifenslave ethtool
2) Bonding ๋ชจ๋ Load
modprobe bonding
lsmod | grep -i bonding // ๋ชจ๋ Loading Check
echo "bonding" > /etc/modules // ๋ถํ
์ดํ ๋ชจ๋ ์๋ Loading
3) Netplan ์ค์ ํ์ผ ์์
network:
ethernets:
enp1s0:
dhcp4: false
enp2s0:
dhcp4: false
bonds:
bond10:
interfaces: [enp1s0, enp2s0]
parameters:
mode: active-backup
mii-monitor-interval: 1
addresses:
- 10.0.0.101/24
gateway4: 10.0.0.254
nameservers:
addresses:
- 8.8.8.8
version: 2
[์ฐธ๊ณ ]
- mode 0 = balance-rr
- mode 1 = active-backup
- mode 4 = 802.3ad
(๋จ, Switch์์ 802.3ad๋ฅผ ์ง์ํด์ผ ํ๊ณ ์ด๋ ์ฑ๋์ ๋ฏธ๋ฆฌ ๊ตฌ์ฑํด์ผ ์ ๋๋ก ์๋ํ๋ค)
4) Netplan ์ค์ ์ ์ฉ ๋ฐ ๋์ญํญ ํ์ธ
netplan apply
ethtool bond10 | grep Speed
๋ฐ์ํ
'๐ ๏ธ Devops > Linux' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[RHEL] Failed to set locale defaulting to c.utf-8 ์ค๋ฅ ํด๊ฒฐ (2) | 2024.06.04 |
---|---|
[Linux] ๋คํธ์ํฌ ๋๋ฐ์ด์ค๋ช ๋ณ๊ฒฝ (eth0) (0) | 2023.08.18 |
[CentOS 8, RHEL 8, Rocky 8] rc.local ์๋น์ค ํ์ฑํ (0) | 2023.05.10 |
[CentOS 7.9] PXE Server with KickStart ๊ตฌ์ถ (0) | 2022.07.22 |
[Ubuntu 20.04] APT Mirror ์๋ฒ ๊ตฌ์ถ (1) | 2022.05.04 |