<div dir="ltr">Under virt-manager, the vf inside macvlan-test-2 does get a different MAC address with each boot.  However that MAC address does not appear back on the host.  In fact no MAC addresses appear on the VFs themselves (which is a difference in behavior as compared to oVirt):<div><br></div><div><div>5: ens4: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 1500 qdisc mq state UP mode DEFAULT qlen 1000</div><div>    link/ether e4:1d:2d:fd:8b:9a brd ff:ff:ff:ff:ff:ff</div><div>    vf 0 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 1 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 2 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 3 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 4 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 5 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 6 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div><div>    vf 7 MAC 00:00:00:00:00:00, spoof checking off, link-state auto</div></div><div><br></div><div>- jkt</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Feb 28, 2016 at 12:13 AM Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com">danken@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, Feb 25, 2016 at 06:28:30PM +0000, Jay Turner wrote:<br>
&gt; Attached.<br>
&gt;<br>
&gt; macvlan-1.xml is from oVirt (and includes the VF MAC address)<br>
&gt; macvlan-test-2.xml is from virt-manager (and does not include the VF MAC<br>
&gt; address)<br>
<br>
<br>
&gt; &lt;domain type=&#39;kvm&#39; id=&#39;2&#39;&gt;<br>
...<br>
&gt;     &lt;interface type=&#39;bridge&#39;&gt;<br>
&gt;       &lt;mac address=&#39;00:1a:4a:16:01:51&#39;/&gt;<br>
&gt;       &lt;source bridge=&#39;ovirtmgmt&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet0&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;       &lt;filterref filter=&#39;vdsm-no-mac-spoofing&#39;/&gt;<br>
&gt;       &lt;link state=&#39;up&#39;/&gt;<br>
&gt;       &lt;alias name=&#39;net0&#39;/&gt;<br>
&gt;       &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x03&#39; function=&#39;0x0&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
&gt;     &lt;interface type=&#39;hostdev&#39;&gt;<br>
&gt;       &lt;mac address=&#39;00:1a:4a:16:01:52&#39;/&gt;<br>
&gt;       &lt;driver name=&#39;vfio&#39;/&gt;<br>
&gt;       &lt;source&gt;<br>
&gt;         &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x02&#39; slot=&#39;0x00&#39; function=&#39;0x1&#39;/&gt;<br>
&gt;       &lt;/source&gt;<br>
&gt;       &lt;alias name=&#39;hostdev0&#39;/&gt;<br>
&gt;       &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x08&#39; function=&#39;0x0&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
...<br>
&gt; &lt;/domain&gt;<br>
<br>
&gt; &lt;domain type=&#39;kvm&#39; id=&#39;12&#39;&gt;<br>
...<br>
&gt;     &lt;interface type=&#39;network&#39;&gt;<br>
&gt;       &lt;mac address=&#39;52:54:00:22:54:ba&#39;/&gt;<br>
&gt;       &lt;source network=&#39;default&#39; bridge=&#39;virbr0&#39;/&gt;<br>
&gt;       &lt;target dev=&#39;vnet0&#39;/&gt;<br>
&gt;       &lt;model type=&#39;virtio&#39;/&gt;<br>
&gt;       &lt;alias name=&#39;net0&#39;/&gt;<br>
&gt;       &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x03&#39; function=&#39;0x0&#39;/&gt;<br>
&gt;     &lt;/interface&gt;<br>
...<br>
&gt;     &lt;hostdev mode=&#39;subsystem&#39; type=&#39;pci&#39; managed=&#39;yes&#39;&gt;<br>
&gt;       &lt;driver name=&#39;vfio&#39;/&gt;<br>
&gt;       &lt;source&gt;<br>
&gt;         &lt;address domain=&#39;0x0000&#39; bus=&#39;0x02&#39; slot=&#39;0x01&#39; function=&#39;0x2&#39;/&gt;<br>
&gt;       &lt;/source&gt;<br>
&gt;       &lt;alias name=&#39;hostdev0&#39;/&gt;<br>
&gt;       &lt;address type=&#39;pci&#39; domain=&#39;0x0000&#39; bus=&#39;0x00&#39; slot=&#39;0x08&#39; function=&#39;0x0&#39;/&gt;<br>
&gt;     &lt;/hostdev&gt;<br>
...<br>
&gt; &lt;/domain&gt;<br>
<br>
<br>
Thanks.<br>
<br>
Does the guest of your macvlan-test-2 see the random mac address<br>
assigned to the host VF? If so, it means that it would have another mac<br>
address on the next time it starts, which is violate the IaaS that oVirt<br>
would like to expose to its guests.<br>
<br>
</blockquote></div>