Re: Libvirt dnsmasq oddity
On Mon, 16 Jan 2023 08:29:52 +0100
john doe <johndoe65534@mail.com> wrote:
> Or use [1].
>
> [1] https://libvirt.org/formatnetwork.html#network-namespaces
Thanks. That appears to be working. Here's what I ended up with for my
xml file. Note the added xml schema in the first line, and the three
lines of dnsmasq:options.
--------------------------------------------------
<network xmlns:dnsmasq="http://libvirt.org/schemas/network/dnsmasq/1.0" connections="1">
<name>default</name>
<uuid>1a6bc021-b0bf-43e9-8555-b70d559776ec</uuid>
<forward mode="open"/>
<bridge name="virbr0" stp="on" delay="0"/>
<mac address="52:54:00:b0:98:54"/>
<domain name="virtual"/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.128" end="192.168.122.254"/>
<host mac="52:54:00:0a:33:88" name="debian11" ip="192.168.122.252"/>
</dhcp>
</ip>
<dnsmasq:options>
<dnsmasq:option value="no-hosts"/>
</dnsmasq:options>
</network>
--------------------------------------------------
--
Does anybody read signatures any more?
https://charlescurley.com
https://charlescurley.com/blog/
Reply to: