d90ac5df92e226e775fb331dade7b9df43549ace
ocp/bond_nmcli.md
... | ... | @@ -6,26 +6,6 @@ nmcli connection add type ethernet port-type bond con-name bond0-port2 ifname en |
6 | 6 | |
7 | 7 | |
8 | 8 | ``` |
9 | -nmcli connection add type vlan con-name VLAN673 dev eno8 id 673 |
|
10 | -nmcli connection add type bridge con-name baremetal ifname baremetal |
|
11 | -nmcli connection add type bridge-slave con-name VLAN673-baremetal ifname eno8.673 master baremetal |
|
12 | -nmcli connection modify baremetal ipv4.addresses 192.168.10.1/24 ipv4.method manual |
|
13 | -nmcli connection up baremetal |
|
14 | -nmcli connection up VLAN673-baremetal |
|
15 | -``` |
|
16 | - |
|
17 | - |
|
18 | -``` |
|
19 | -nmcli connection add type vlan con-name VLAN673 dev eno8 id 673 |
|
20 | -nmcli connection add type bridge con-name baremetal ifname baremetal |
|
21 | -nmcli connection add type bridge-slave con-name VLAN673-baremetal ifname eno8.673 master baremetal |
|
22 | -nmcli connection modify baremetal ipv4.addresses 192.168.10.1/24 ipv4.method manual ipv4.gateway 192.168.10.254 |
|
23 | -nmcli connection up baremetal |
|
24 | -nmcli connection up VLAN673 |
|
25 | -nmcli connection up VLAN673-baremetal |
|
26 | -``` |
|
27 | - |
|
28 | -``` |
|
29 | 9 | nmcli connection delete VLAN673 |
30 | 10 | nmcli connection delete baremetal |
31 | 11 | nmcli connection delete VLAN673-baremetal |