Although virt-manager provides easily isolated network, oVirt haven’t so evident configuration. In fact, we need some commands on terminal.
You can use dummy module to get internal networks. First of all, make sure your host load dummy module at startup.
modprobe dummy >/dev/null 2&1 exit0
Manually, you can run modprobe to load on a running machine. It will appear a dummy0 network interface. Done this, create /etc/sysconfig/network-scripts/ifcfg-dummy0 with this content:
DEVICE=dummy0 BOOTPROTO=none ONBOOT=yes NM_CONTROLLED=no PROMISC=yes
Now comes the oVirt configuration. In webadmin portal, go to the ‘Network’ tab and click new:
The definition could be simple. Just give a name and match ‘VM network’:
With the virtual switch created, we need to link our dummy interface on it. Go to the network configuration of host:
Drag internal network and drop in dummy0 interface
Check ‘Save network configuration’ and click ok.
Now, for each virtual machine you want to use internal network, you can create a virtual NIC and attach to internal virtual switch.