-
Notifications
You must be signed in to change notification settings - Fork 5
/
nmcli_make_bond.txt
79 lines (68 loc) · 2.32 KB
/
nmcli_make_bond.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
######### psosd1 #########
nmcli con add type bond ifname bond0 mode 802.3ad \
connection.id lacp-bond \
connection.autoconnect no \
connection.autoconnect-slaves 1 \
+bond.options "xmit_hash_policy=layer3+4" \
ipv4.method static \
ipv4.addresses 10.10.10.10/24 \
ipv6.method ignore
nmcli con add type ethernet ifname enp2s0f0 master bond0 \
connection.id lacp-enp2s0f0 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
nmcli con add type ethernet ifname enp2s0f1 master bond0 \
connection.id lacp-enp2s0f1 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
######### psosd2 #########
nmcli con add type bond ifname bond0 mode 802.3ad \
connection.id lacp-bond \
connection.autoconnect no \
connection.autoconnect-slaves 1 \
+bond.options "xmit_hash_policy=layer3+4" \
ipv4.method static \
ipv4.addresses 10.10.10.11/24 \
ipv6.method ignore
nmcli con add type ethernet ifname ens2f0 master bond0 \
connection.id lacp-ens2f0 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
nmcli con add type ethernet ifname enp2s0f1 master bond0 \
connection.id lacp-enp2s0f1 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
######### psosd3 #########
nmcli con add type bond ifname bond0 mode 802.3ad \
connection.id lacp-bond \
connection.autoconnect no \
connection.autoconnect-slaves 1 \
+bond.options "xmit_hash_policy=layer3+4" \
ipv4.method static \
ipv4.addresses 10.10.10.12/24 \
ipv6.method ignore
nmcli con add type ethernet ifname enp2s0f0 master bond0 \
connection.id lacp-enp2s0f0 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
nmcli con add type ethernet ifname enp2s0f1 master bond0 \
connection.id lacp-enp2s0f1 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
########## ps6 #########
nmcli con add type bond ifname bond0 mode 802.3ad \
connection.id lacp-bond \
connection.autoconnect no \
connection.autoconnect-slaves 1 \
+bond.options "xmit_hash_policy=layer3+4" \
ipv4.method static \
ipv4.addresses 10.10.10.51/24 \
ipv6.method ignore
nmcli con add type ethernet ifname enp2s0f0 master bond0 \
connection.id lacp-enp2s0f0 \
connection.autoconnect no \
802-3-ethernet.mtu 9000
nmcli con add type ethernet ifname enp2s0f1 master bond0 \
connection.id lacp-enp2s0f1 \
connection.autoconnect no \
802-3-ethernet.mtu 9000