-   Linux - Virtualization and Cloud (
-   -   isolate libvirt / kvm guests in virtual network (

tux111 12-21-2019 02:06 PM

isolate libvirt / kvm guests in virtual network

is it possible to isolate libvirt / kvm guests in a virtual network? (I think VirtualBox has such an option).

- Chris

berndbausch 12-21-2019 05:34 PM

You mean an isolated network?

tux111 12-22-2019 06:49 AM

Only the virtual machines should connect to each other, but not even to the KVM host.

berndbausch 12-22-2019 08:31 AM

From the above link:

  <bridge name="virbr2"/>
  <ip address="" netmask="">
      <range start="" end=""/>
  <ip family="ipv6" address="2001:db8:ca2:3::1" prefix="64"/>

The only way the guests can talk to the hosts is by accessing virbr2, i.e. If no host process listens at virbr2, there is nothing the guests can connect to. If you are still bothered by the connectivity to virbr2, use iptables to shield it totally. If you don't even want DHCP, remove the dhcp clause. I don't know if you can remove the bridge's IP address, but it would be worth a try.

All times are GMT -5. The time now is 10:23 PM.