search for: addnhosts

Displaying 17 results from an estimated 17 matches for "addnhosts".

2020 Apr 17
3
Re: My VMs don't get IP with libvirt and dnsmasq
...-dnsmasq pid-file=/var/run/libvirt/network/pepito.pid except-interface=lo bind-dynamic interface=virbr2 dhcp-range=192.168.150.2,192.168.150.254 dhcp-no-override dhcp-authoritative dhcp-lease-max=253 dhcp-hostsfile=/var/lib/libvirt/dnsmasq/pepito.hostsfile addn-hosts=/var/lib/libvirt/dnsmasq/pepito.addnhosts El vie., 17 abr. 2020 a las 12:33, Michal Privoznik (<mprivozn@redhat.com>) escribió: > On 4/17/20 1:31 AM, Computers Issues wrote: > > Hello there, > > > > There is nothing obviously wrong with XMLs. Couple of things to try: > > 1) are you sure that the guest act...
2016 Apr 10
1
create a network such as default network
Dear All, When user uses `virsh net-define xmlfile` , User only define an xml file in `/etc/libvirt/qemu/networks`. I created an uuid and another bridge in related xml file. But I need to create the following files for my network: `default.addnhosts default.conf default.hostsfile virbr0.status` Question is , can I create them via cmd? --Best regards mohsen
2014 Apr 06
3
Changing dnsmasq DNS settings for virtual machines
...gt; <host > mac="00:16:3e:e2:ed" name="foo.example.com" ip="192.168.122.10" /> > </dhcp> </ip> One possible workaround: My system-dnsmasq reads /etc/hosts_whatever, and apparently the libvirtd-dnsmasq reads var/lib/libvirt/dnsmasq/NETWORK_NAME.addnhosts. I could copy my hosts_whatever in that place, but I had to configure the libvirtd-dnsmasq what my local domains are. Which brings me to the next question: How to set the addn-hosts= for the libvirtd-dnsmasq in the xml file? Regards, Johannes - -- A good sermon should be like a woman's skirt...
2020 Apr 16
4
My VMs don't get IP with libvirt and dnsmasq
...ding /etc/resolv.conf abr 17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: using nameserver 127.0.0.53#53 abr 17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: read /etc/hosts - 7 addresses abr 17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: read /var/lib/libvirt/dnsmasq/pepito.addnhosts - 0 addresses abr 17 00:48:11 usuario-System-Product-Name dnsmasq-dhcp[13741]: read /var/lib/libvirt/dnsmasq/pepito.hostsfile Does anybody know why it could be that the VM never gets an IP from the range I defined? As I said, exactly the same configuration worked in a different machine, I don'...
2014 Apr 10
2
Re: Changing dnsmasq DNS settings for virtual machines
...ink as above. No, thats not it. I do not want to set single hosts, I want to tell dnsmasq to read an additional hosts-file. In the normal dnsmasq.conf this is done via addn-hosts=, and that appears in the conf-file for the network called e.g. WHATEVER: addn-hosts=/var/lib/libvirt/dnsmasq/WHATEVER.addnhosts Regards, Johannes - -- 'Are you Death?' ... IT'S THE SCYTHE, ISN'T IT? PEOPLE ALWAYS NOTICE THE SCYTHE. (Terry Pratchett, The Fifth Elephant) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAA...
2017 Jun 03
2
Re: libvirtd not accepting connections
...:26 example.com dnsmasq[3457]: reading /etc/resolv.conf >Jun 03 17:14:26 example.com dnsmasq[3457]: using nameserver 172.16.8.1#53 >Jun 03 17:14:26 example.com dnsmasq[3457]: read /etc/hosts - 2 addresses >Jun 03 17:14:26 example.com dnsmasq[3457]: read >/var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses >Jun 03 17:14:26 example.com dnsmasq-dhcp[3457]: read >/var/lib/libvirt/dnsmasq/default.hostsfile > > >$ sudo virsh list > Id Name State >---------------------------------------------------- > >$ > >As you can see, none of...
2016 Feb 08
0
route seems to be not affecting the network behavior
.../libvirt/network/prd-private-lan.pid except-interface=lo bind-dynamic interface=virbr3 dhcp-option=3 no-resolv dhcp-range=10.10.0.128,10.10.0.254 dhcp-no-override dhcp-lease-max=127 dhcp-hostsfile=/var/lib/libvirt/dnsmasq/prd-private-lan.hostsfile addn-hosts=/var/lib/libvirt/dnsmasq/prd-private-lan.addnhosts Of course I can add an explicit route on the guest - so did I - but for maintenance purposes I would like to avoid and have all configuration in the network XML Thanks in advance Patrick
2020 Apr 17
0
Re: My VMs don't get IP with libvirt and dnsmasq
...pito.pid > except-interface=lo > bind-dynamic > interface=virbr2 > dhcp-range=192.168.150.2,192.168.150.254 > dhcp-no-override > dhcp-authoritative > dhcp-lease-max=253 > dhcp-hostsfile=/var/lib/libvirt/dnsmasq/pepito.hostsfile > addn-hosts=/var/lib/libvirt/dnsmasq/pepito.addnhosts This looks good. I suspect it is the guest not asking for DHCP. If it did, this configuration would assign an IP address. Michal
2020 Apr 17
1
Re: My VMs don't get IP with libvirt and dnsmasq
...gt; bind-dynamic > > interface=virbr2 > > dhcp-range=192.168.150.2,192.168.150.254 > > dhcp-no-override > > dhcp-authoritative > > dhcp-lease-max=253 > > dhcp-hostsfile=/var/lib/libvirt/dnsmasq/pepito.hostsfile > > addn-hosts=/var/lib/libvirt/dnsmasq/pepito.addnhosts > > This looks good. I suspect it is the guest not asking for DHCP. If it > did, this configuration would assign an IP address. > > Michal > >
2014 Apr 13
0
Re: Changing dnsmasq DNS settings for virtual machines
...implements a libvirt network driver that uses something other than dnsmasq for DNS, for example). > In the normal dnsmasq.conf > this is done via addn-hosts=, and that appears in the conf-file for > the network called e.g. WHATEVER: > > addn-hosts=/var/lib/libvirt/dnsmasq/WHATEVER.addnhosts >
2014 Apr 10
0
Re: Changing dnsmasq DNS settings for virtual machines
...mac="00:16:3e:e2:ed" name="foo.example.com" ip="192.168.122.10" /> >> </dhcp> </ip> > One possible workaround: > My system-dnsmasq reads /etc/hosts_whatever, and apparently the > libvirtd-dnsmasq reads var/lib/libvirt/dnsmasq/NETWORK_NAME.addnhosts. > I could copy my hosts_whatever in that place, but I had to configure > the libvirtd-dnsmasq what my local domains are. > > Which brings me to the next question: > How to set the addn-hosts= for the libvirtd-dnsmasq in the xml file? You do that with the <host> subelement of...
2020 Apr 17
0
Re: My VMs don't get IP with libvirt and dnsmasq
...17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: using > nameserver 127.0.0.53#53 > abr 17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: read > /etc/hosts - 7 addresses > abr 17 00:48:11 usuario-System-Product-Name dnsmasq[13741]: read > /var/lib/libvirt/dnsmasq/pepito.addnhosts - 0 addresses > abr 17 00:48:11 usuario-System-Product-Name dnsmasq-dhcp[13741]: read > /var/lib/libvirt/dnsmasq/pepito.hostsfile > > > Does anybody know why it could be that the VM never gets an IP from the > range I defined? As I said, exactly the same configuration worked in a...
2017 Jun 04
0
Re: libvirtd not accepting connections
...reading /etc/resolv.conf >> Jun 03 17:14:26 example.com dnsmasq[3457]: using nameserver >> 172.16.8.1#53 >> Jun 03 17:14:26 example.com dnsmasq[3457]: read /etc/hosts - 2 addresses >> Jun 03 17:14:26 example.com dnsmasq[3457]: read >> /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses >> Jun 03 17:14:26 example.com dnsmasq-dhcp[3457]: read >> /var/lib/libvirt/dnsmasq/default.hostsfile >> >> >> $ sudo virsh list >> Id Name State >> ---------------------------------------------------- >> &g...
2017 Jun 03
2
Re: libvirtd not accepting connections
On Sat, Jun 03, 2017 at 09:22:58AM -0400, Michael C Cambria wrote: > > >On 06/02/2017 09:53 AM, Michael C. Cambria wrote: >> >> >> On 06/02/2017 09:43 AM, Martin Kletzander wrote: >>> [adding back the ML, you probably hit reply instead of reply-all, this >>> way other people might help if they know more] >>> >>> On Fri, Jun 02, 2017 at
2017 Jun 04
2
Re: libvirtd not accepting connections
...v.conf >>> Jun 03 17:14:26 example.com dnsmasq[3457]: using nameserver >>> 172.16.8.1#53 >>> Jun 03 17:14:26 example.com dnsmasq[3457]: read /etc/hosts - 2 addresses >>> Jun 03 17:14:26 example.com dnsmasq[3457]: read >>> /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses >>> Jun 03 17:14:26 example.com dnsmasq-dhcp[3457]: read >>> /var/lib/libvirt/dnsmasq/default.hostsfile >>> >>> >>> $ sudo virsh list >>> Id Name State >>> ------------------------------------...
2017 Jun 04
0
Re: libvirtd not accepting connections
...6 example.com dnsmasq[3457]: using nameserver >>>> 172.16.8.1#53 >>>> Jun 03 17:14:26 example.com dnsmasq[3457]: read /etc/hosts - 2 >>>> addresses >>>> Jun 03 17:14:26 example.com dnsmasq[3457]: read >>>> /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses >>>> Jun 03 17:14:26 example.com dnsmasq-dhcp[3457]: read >>>> /var/lib/libvirt/dnsmasq/default.hostsfile >>>> >>>> >>>> $ sudo virsh list >>>> Id Name State >>>> --------...
2017 Jun 03
0
Re: libvirtd not accepting connections
...r0 Jun 03 17:14:26 example.com dnsmasq[3457]: reading /etc/resolv.conf Jun 03 17:14:26 example.com dnsmasq[3457]: using nameserver 172.16.8.1#53 Jun 03 17:14:26 example.com dnsmasq[3457]: read /etc/hosts - 2 addresses Jun 03 17:14:26 example.com dnsmasq[3457]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses Jun 03 17:14:26 example.com dnsmasq-dhcp[3457]: read /var/lib/libvirt/dnsmasq/default.hostsfile $ sudo virsh list Id Name State ---------------------------------------------------- $ As you can see, none of my vm's show up. I'm guessing the...