@@ -861,6 +861,38 @@ although a reboot is recommended to see if everything works properly.
861861 in case you made a configuration error and the network stops functioning!
862862
863863
864+ Configure Oracle Linux for Basic Networks using nmcli
865+ '''''''''''''''''''''''''''''''''''''''''''''''''''''
866+ All the required packages were installed when you installed libvirt, so
867+ we only have to configure the network.
868+
869+ Disable IP settings on physical NIC first
870+
871+ .. parsed-literal ::
872+ nmcli con mod eth0 ipv4.method disabled ipv6.method ignore
873+
874+ Configure cloudbr0 and include the Management IP of the hypervisor.
875+
876+ .. parsed-literal ::
877+ nmcli con add type bridge ifname cloudbr0 con-name cloudbr0
878+ nmcli con add type ethernet ifname eth0 master cloudbr0 slave-type bridge con-name cloudbr0-eth0
879+ nmcli con modify cloudbr0 ipv4.addresses 192.168.42.11/24 ipv4.gateway 192.168.42.1 ipv4.method manual ipv6.method ignore
880+
881+
882+ Configure cloudbr1 as a plain bridge without an IP address
883+
884+ .. parsed-literal ::
885+ nmcli con add type bridge ifname cloudbr1 con-name cloudbr1 ipv4.method disabled ipv6.method ignore
886+ nmcli con add type vlan ifname eth0.20 dev eth0 id 20 master cloudbr1 con-name vlan20
887+
888+ With this configuration you should be able to restart the network,
889+ although a reboot is recommended to see if everything works properly.
890+
891+ .. warning ::
892+ Make sure you have an alternative way like IPMI or ILO to reach the machine
893+ in case you made a configuration error and the network stops functioning!
894+
895+
864896
865897Network Example for Advanced Networks
866898^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1167,6 +1199,38 @@ although a reboot is recommended to see if everything works properly.
11671199 in case you made a configuration error and the network stops functioning!
11681200
11691201
1202+ Configure Oracle Linux for Advance Networks using nmcli
1203+ '''''''''''''''''''''''''''''''''''''''''''''''''''''
1204+ All the required packages were installed when you installed libvirt, so
1205+ we only have to configure the network.
1206+
1207+ Disable IP settings on physical NICs first
1208+
1209+ .. parsed-literal ::
1210+ nmcli con mod eth0 ipv4.method disabled ipv6.method ignore
1211+ nmcli con mod eth1 ipv4.method disabled ipv6.method ignore
1212+
1213+ Configure cloudbr0 and include the Management IP of the hypervisor.
1214+
1215+ .. parsed-literal ::
1216+ nmcli con add type bridge ifname cloudbr0 con-name cloudbr0 ipv4.addresses 192.168.42.11/24 ipv4.gateway 192.168.42.1 ipv4.method manual ipv6.method ignore
1217+ nmcli con add type ethernet ifname eth0 master cloudbr0 slave-type bridge con-name cloudbr0-eth0
1218+
1219+ Configure cloudbr1 as a plain bridge without an IP address
1220+
1221+ .. parsed-literal ::
1222+ nmcli con add type bridge ifname cloudbr1 con-name cloudbr1 ipv4.method disabled ipv6.method ignore
1223+ nmcli con add type ethernet ifname eth1 master cloudbr1 slave-type bridge con-name cloudbr1-eth1
1224+
1225+ With this configuration you should be able to restart the network,
1226+ although a reboot is recommended to see if everything works properly.
1227+
1228+ .. warning ::
1229+ Make sure you have an alternative way like IPMI or ILO to reach the machine
1230+ in case you made a configuration error and the network stops functioning!
1231+
1232+
1233+
11701234Configure the network using OpenVswitch
11711235~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
11721236
0 commit comments