Re: [question] We can create two network of one same linux bridge or local ethernet. It is a bug?

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

 



On Sat, Nov 30, 2013 at 07:30:03PM +0800, Sheldon wrote:
> >We can create two network of one same linux bridge or local ethernet:
> This is not harmful.
> But I wonder should this case is allowed?  Why?

It should probably be rejected as invalid.

> >virsh # net-list --all
> >Name State Autostart Persistent
> >----------------------------------------------------------
> >br1 active yes yes
> >br2 active yes yes
> >default active yes yes
> >
> >virsh # net-dumpxml br1
> ><network>
> ><name>br1</name>
> ><uuid>d5410814-1bea-b10d-04b8-9fbd3a1cfc65</uuid>
> ><forward mode='bridge'/>
> ><bridge name='br0' />
> ></network>
> >
> >virsh # net-dumpxml br2
> ><network>
> ><name>br2</name>
> ><uuid>99f20705-57cd-da31-f193-d13af4158792</uuid>
> ><forward mode='bridge'/>
> ><bridge name='br0' />
> ></network>
> >
> >virsh # net-list --all
> >Name State Autostart Persistent
> >----------------------------------------------------------
> >br0 active yes yes
> >br1 active yes yes
> >default active yes yes
> >
> >virsh # net-dumpxml br0
> ><network>
> ><name>br0</name>
> ><uuid>a35c840a-9bdc-070d-43f5-8e834040aa42</uuid>
> ><forward dev='eth0' mode='bridge'>
> ><interface dev='eth0'/>
> ></forward>
> ></network>
> >
> >virsh # net-dumpxml br1
> ><network>
> ><name>br1</name>
> ><uuid>f1c87b80-2dfc-2a71-3fb6-56ef83daf29a</uuid>
> ><forward dev='eth0' mode='bridge'>
> ><interface dev='eth0'/>
> ></forward>
> ></network>


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]