9a44724717cefa43a94fcc8d0d0a1cbab1bae0f4
ocp/bond_nmcli.md
... | ... | @@ -2,4 +2,14 @@ |
2 | 2 | nmcli connection add type bond con-name bond0 ifname bond0 bond.options "mode=active-backup,miimon=1000" |
3 | 3 | nmcli connection add type ethernet port-type bond con-name bond0-port1 ifname eno1 controller bond0 |
4 | 4 | nmcli connection add type ethernet port-type bond con-name bond0-port2 ifname eno2 controller bond0 |
5 | +``` |
|
6 | + |
|
7 | + |
|
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 |
|
5 | 15 | ``` |
... | ... | \ No newline at end of file |