<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 08/12/2015 05:49 PM, Fırat KÜÇÜK
      wrote:<br>
    </div>
    <blockquote cite="mid:55CBBF78.4090401@codv.io" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      Hello,<br>
      <br>
      Simply I want to create a network on an existing bridge.<br>
      My XML:<br>
      <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <network><br>
        <name>nn1</name><br>
        <bridge name="br-nn1" /><br>
      </network><br>
    </blockquote>
    <br>
    I think what you want is this:<br>
    <br>
    <network><br>
      <name>nn1</name><br>
      <forward mode='bridge'/><br>
      <bridge name='br-nn1'/><br>
    </network><br>
    <br>
    <a class="moz-txt-link-freetext" href="https://libvirt.org/formatnetwork.html#examplesBridge">https://libvirt.org/formatnetwork.html#examplesBridge</a><br>
    <br>
    (Originally a network with no <forward> element was considered
    to be a virtual network with bridge created by libvirt but no
    physical device attached. When support for networks that used an
    existing bridge was added, we had to maintain backward
    compatibility, so we decided that the new type of network would be
    identified by setting <forward mode='bridge'/> on a network
    that has a bridge name defined.)<br>
    <br>
    <br>
    <blockquote cite="mid:55CBBF78.4090401@codv.io" type="cite"> <br>
      when i want to start network I got "File exist" error.<br>
      <br>
      error: Failed to start network nn1<br>
      error: Unable to create bridge br-nn1: File exist<br>
      <br>
      I could define on older releases but now I can't.<br>
      Ubuntu 15.04 / libvirt version: 1.2.12<br>
    </blockquote>
    <br>
    No, that wouldn't have worked in any older release of libvirt.
    Perhaps you've forgotten that you previously had <forward
    mode='bridge'/> in your definition?<br>
    <br>
    <br>
    <blockquote cite="mid:55CBBF78.4090401@codv.io" type="cite"> <br>
      virsh version:<br>
      Compiled against library: libvirt 1.2.12<br>
      Using library: libvirt 1.2.12<br>
      Using API: QEMU 1.2.12<br>
      Running hypervisor: QEMU 2.2.0<br>
      <br>
      Is there any way to activate network?<br>
      <br>
      Regards.<br>
      <br>
      <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>
    <br>
  </body>
</html>