Re: [libvirt] why mac are different between inside and outside of vm

2014-02-10 Thread Laine Stump
On 02/08/2014 05:46 AM, yue wrote: hi, all nwfilter has many rules which depends on mac of vm, but i find the mac address inside vm is different from mac outside of vm. outside mac: vnet0 Link encap:Ethernet HWaddr FE:54:00:71:15:7B , inside mac: eth0 Link encap:Ethernet HWaddr

Re: [libvirt] why mac are different between inside and outside of vm

2014-02-10 Thread Daniel P. Berrange
On Sat, Feb 08, 2014 at 11:46:21AM +0800, yue wrote: hi, all nwfilter has many rules which depends on mac of vm, but i find the mac address inside vm is different from mac outside of vm. outside mac: vnet0 Link encap:Ethernet HWaddr FE:54:00:71:15:7B , inside mac: eth0 Link encap:Ethernet

[libvirt] why mac are different between inside and outside of vm

2014-02-07 Thread yue
hi, all nwfilter has many rules which depends on mac of vm, but i find the mac address inside vm is different from mac outside of vm. outside mac: vnet0 Link encap:Ethernet HWaddr FE:54:00:71:15:7B , inside mac: eth0 Link encap:Ethernet HWaddr 52:54:00:71:15:7B ,virtio why? i am afraid that