Displaying 4 results from an estimated 4 matches for "elementsnamespaces".
2020 Apr 30
2
Re: Libvirt APIs for creating virtual networks
...=option-router,192.168.122.5
and recent libvirt (5.6.0 and newer) allows adding arbitrary lines to
the dnsmasq.conf files it creates for its networks, using the
<dnsmasq:options> element in the network XML. For details on how to do
this, look at:
https://libvirt.org/formatnetwork.html#elementsNamespaces
>> Dns-server ?
Not exact, but
<forwarder addr='8.8.8.8'/>
is *kind of* what you're looking for. It doesn't set the IP address sent
back in the dhcp reply, but sets up the dnsmasq instance listening for
the network to forward all requests on to 8.8.8.8 (you can a...
2020 May 07
0
Re: Libvirt APIs for creating virtual networks
...gt;
> and recent libvirt (5.6.0 and newer) allows adding arbitrary lines to
> the dnsmasq.conf files it creates for its networks, using the
> <dnsmasq:options> element in the network XML. For details on how to do
> this, look at:
>
> https://libvirt.org/formatnetwork.html#elementsNamespaces
>
>
>
> >> Dns-server ?
>
> Not exact, but
>
> <forwarder addr='8.8.8.8'/>
>
> is *kind of* what you're looking for. It doesn't set the IP address sent
> back in the dhcp reply, but sets up the dnsmasq instance listening for
> the netw...
2020 Apr 28
2
Re: Libvirt APIs for creating virtual networks
Okay. Thanks.
Do we have any facility APIs to set the DHCP Options via XML ?
Default gateway ?
Dns-server ?
domain-name ?
Thanks & Regards
Santhosh Kumar Gunturu
On Tue, Apr 28, 2020 at 8:47 AM Daniel P. Berrangé <berrange@redhat.com>
wrote:
> On Tue, Apr 28, 2020 at 08:39:06AM -0700, Santhosh Kumar Gunturu wrote:
> > I am using the Libvirt APIs to create the virtual
2019 Aug 01
2
libvirt/dnsmasq is not adhering to static DHCP assignments
...The next step would be to disable libvirtd/dnsmasq altogether and run my
own dnsmasq instance, but I wanted to avoid that. Any idead on where to
look next?
Thanks,
Christian.
[0] https://www.redhat.com/archives/libvirt-users/2017-October/msg00070.html
[1] https://libvirt.org/formatnetwork.html#elementsNamespaces
# cd /var/lib/libvirt/dnsmasq/
# grep -r . . | fgrep -v \#
./default.conf:strict-order
./default.conf:port=0
./default.conf:pid-file=/var/run/libvirt/network/default.pid
./default.conf:except-interface=lo
./default.conf:bind-dynamic
./default.conf:interface=virbr0
./default.conf:dhcp-range=192.16...