<div dir="ltr">Hi there. I have configured kvm domain (rhel6.4) with ethernet bridged over macvtap, and found no filtration applied except mac. 'virsh' just silently ignoring attributes 'filterref' and 'ip address' in different formats. No error on validate stage. Config examples:<div>
<br></div><div>...</div><div><div>    <interface type='direct'></div><div>      <mac address='52:54:00:31:ae:1a'/></div><div>      <source dev='em1' mode='private'/></div>
<div><br></div><div><filterref filter='clean-traffic'></div><div><parameter name='IP' value='10.1.101.44'/></div><div></filterref></div><div><br></div><div>      <model type='virtio'/></div>
<div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div><div>    </interface></div><div>...</div><div><br></div><div>or like these:</div>
<div><br></div><div>...</div><div><div>    <interface type='direct'></div><div>      <mac address='52:54:00:31:ae:1a'/></div><div>      <source dev='em1' mode='private'/></div>
<div><pre>      <ip address='10.1.101.44'/>
      <filterref filter='clean-traffic'/></pre></div><div>      <model type='virtio'/><br></div><div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/></div>
<div>    </interface></div></div><div>...</div><div><br></div><div>With 'virsh create domain.xml',  vm created, but dumpxml show that filterref is disappeared. </div><div><pre>I have not found any success stories with filtering rules and 'direct' interface types. Is it supported with this type? Or may be other tricks to protect network from vm spoofing and direct type?</pre>
</div><div><br></div><div><br></div><div>-</div><div>vlad f halilov</div></div></div>