<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 05/04/2016 08:40 AM, lejeczek wrote:<br>
    </div>
    <blockquote cite="mid:1462365609.6964.168.camel@yahoo.co.uk"
      type="cite">
      <div>
        <div>hi users</div>
        <div><br>
        </div>
        <div>I have my dhcpd to serve nothing but virbr0 (libvirt), OS
          is Centos 7.2</div>
        <div>Dhcpd would not start, complaining like this:</div>
      </div>
    </blockquote>
    <br>
    Is virbr0 created by libvirt as part of one of its "virtual
    networks"? If so, why are you using dhcpd rather than the dnsmasq
    that libvirt already runs for it (and how are you managing to
    terminate the dnsmasq process run by libvirt so its listening socket
    doesn't conflict with the listener setup by dhcpd?)<br>
    <br>
    <blockquote cite="mid:1462365609.6964.168.camel@yahoo.co.uk"
      type="cite">
      <div>
        <div><br>
        </div>
        <div>No subnet declaration for virbr0 (no IPv4 addresses).</div>
        <div>** Ignoring requests on virbr0.  If this is not what</div>
        <div>   you want, please write a subnet declaration</div>
        <div>   in your dhcpd.conf file for the network segment</div>
        <div>   to which interface virbr0 is attached. **</div>
        <div><br>
        </div>
        <div>and systemctl -l shows:</div>
        <div>...</div>
        <div>systemd[1]: start request repeated too quickly for
          dhcpd.service</div>
        <div>...</div>
        <div><br>
        </div>
        <div>but suffice to restart dhcpd and all works!</div>
        <div>I'v customized systemd's service conf, I've put:</div>
        <div><br>
        </div>
        <div>After=libvirtd.service</div>
        <div>Requisite=libvirtd.service</div>
      </div>
    </blockquote>
    <br>
    If virbr0 is created by libvirt, it's already starting a dnsmasq
    process to handle dhcp requests, so you don't need (and shouldn't be
    able to start) dhcpd listening on it. If virbr0 *isn't* created by
    libvirt, then the change to systemd's configuration won't have any
    effect.<br>
    <br>
    <blockquote cite="mid:1462365609.6964.168.camel@yahoo.co.uk"
      type="cite">
      <div>
        <div><br>
        </div>
        <div>but this did not help.</div>
        <div>Would you share your thoughts? Systemd list say it's
          libvirt (wrong)doing.</div>
        <div>many thanks.</div>
      </div>
    </blockquote>
    <blockquote cite="mid:1462365609.6964.168.camel@yahoo.co.uk"
      type="cite">
      <div>
        <div>L.</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
libvirt-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:libvirt-users@redhat.com">libvirt-users@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a></pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>