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.
mac address is optional field.
mac is useless for ethernet type. For bridge mac is taken into account.
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
yes.
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>
You are right. It is bug.