Re: [libvirt] openvz support in libvirt

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

 



Hi, Evgeniy
 

               <interface type='bridge'>
                       <source bridge='eth10'/>
               </interface>
               <interface type='ethernet'>
                        <mac address='00:16:3e:34:21:9e'/>
                        <ip address="192.168.122.3" />
               </interface>

First, this should be
   <interface type='bridge'>
     <mac address='00:16:3e:34:21:9e'/>
     <source bridge='eth10'/>
   </interface>
   <interface type='ethernet'>
     <ip address="192.168.122.3" />
   </interface>
instead.

Second. If I understood it right, the following description
   <interface type='bridge'>
     <mac address='00:16:3e:34:21:9e'/>
     <source bridge='eth10'/>
   </interface>
will result in the (approximataly) following:
     # vzctl --netiff_add eth10,00:16:3e:34:21:9e
This behaviour contradicts with description found in docs (in which
<source> tag specify interface in host, not in container). I think,
the previous bridge must be specified as
   <interface type='bridge'>
     <mac address='00:16:3e:34:21:9e'/>
-     <source bridge='eth10'/>
+     <target dev='eth10'/>
   </interface>
--
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]