Skip to main content
13 votes

custom dnsmasq (or custom options) with libvrt?

Libvirt v5.6.0 (2019-08-05) added support for passing custom options to dnsmasq. From the documentation: A special XML namespace is available for passing options directly to the underlying dnsmasq ...
Jonathon Reinhart's user avatar
7 votes

custom dnsmasq (or custom options) with libvrt?

I've been in the exactly same situation, trying to configure libvirt dhcp for matchbox. For reference I was working on Fedora 25 first option is impossible due to limitations of xml parsing in ...
Michal Wasilewski's user avatar
3 votes

custom dnsmasq (or custom options) with libvrt?

To expand on Jonathon's answer, the XML namespace escape is more useful than at first apparent (at least to me). In my case, I generate dnsmasq configuration files (for a boot service), and want to ...
Preston L. Bannister's user avatar
2 votes

Assign External/Public IPs to VMs in OpenNebula (Open vSwitch)

Finally got it working! Here's my Virtual Network template: BRIDGE = "ovsbr0" BRIDGE_TYPE = "openvswitch" DESCRIPTION = "Network with public IPs" DNS = "8.8.8.8" GATEWAY = "xxx.xxx.110.49" ...
John's user avatar
  • 51
1 vote

How can a create a connection between two KVM private network?

It's not clear what you are asking for. Your diagrams shows VMs are actually having IPs from the 10.10.15.X range which you aren't mentioning in your question. Besides you didn't told if the prv1 ...
NStorm's user avatar
  • 1,362
1 vote

Lost connection to main interface after brctl addif

You need to put the ip address on the bridge device "virbr0: ip addr add y.y.y.y/32 dev virbr0 Look at the @stefaan-ghysels answer for details to configure at boot time.
pbacterio's user avatar
  • 276
1 vote

Lost connection to main interface after brctl addif

You need a bridge on the host. Let's say it has address x.x.x.x now. auto eno1 iface eno1 inet manual auto br1 iface br1 inet static address x.x.x.x netmask <hostnetmask> gateway <...
Stefaan Ghysels's user avatar
1 vote

custom dnsmasq (or custom options) with libvrt?

Libvirt explicitly avoids allows generic passthrough of options to dnsmasq, since we want to insulate the public config format / APIs from knowing about the specific choice of dnsmasq as the impl ...
DanielB's user avatar
  • 1,743
1 vote

kvm guest can not connect to outside of host, vice versa

I've run into this a fair few times and the best fix I've found is an edit of /etc/sysctl.conf: net.ipv4.ip_forward = 1 net.bridge.bridge-nf-call-ip6tables = 0 net.bridge.bridge-nf-call-iptables = 0 ...
mcmeeking's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible