Score:0

Multi-host VM's with libvirt, ideally with static IP's

cn flag

From my reading of the libvirt documentation and the examples here libvirt uses a Linux bridge to provide routing between VM's on the same host. It also starts a dnsmasq process attached to the bridge which supplies DHCP addresses to the VMs. I'm wondering if there anyone could point me to good articles or example on routing between VM's across hosts ideally without having to split an IP range across multiple DHCP servers on each box. Unless my reading of the docs is incorrect (why it may well be) static IP's for VM's seems to involve a DHCP server hackery. KVM/libvirt: How to configure static guest IP addresses on the virtualisation host

in flag
Such recommendations are off topic here. If you have a concrete problem, feel free to ask about it (with enough information about your environment).
us flag
libvirt uses a Linux bridge to connect multiple VMs to same network is the correct term. Linux bridge does not provide routing or forwarding of IP packets between IP subnets.
Score:0
us flag

One straightforward way is to connect all the VMs to a bridge, where one member is the physical interface on the host.

That way VMs are hosts in the Ethernet network. Then these hosts use the DHCP server that is set up for the physical network.

This approach has certain limit on scalability though.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.