Re: Convincing libvirt to create a bridge device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/06/2016 03:21 PM, Lars Kellogg-Stedman wrote:
I was hoping that I could delegate creation of bridge devices to
libvirt for address-less bridges, in order to not have to deal with
the various ways distributions handle persistent network
configuration, but while this creates a libvirt network...

   <network>
     <name>provision</name>
     <forward mode='bridge'/>
     <bridge name='brprov'/>
   </network>

...it doesn't actually create the bridge.  Configuring the bridge
using either <forward mode="route"/> or <forward mode="nat"/> *will*
create the bridge device, but both of these require assigning an
address to the bridge which means I have to suddenly worry about
IPAM and conflicts with local networks.

Remove the <forward mode='bridge'/> line from your config above and it should do what you want - libvirt will create the bridge, but won't assign any IP address to it (nor will it attach it to any physical device).


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux