Jeroen Groenewegen van der Weyden
2009-Oct-14 09:47 UTC
[Xen-users] HVM network interface question
Hello, I''m trying the capture ethnet packets with wireshark insite of a HVM. However I do not see all traffic in wireshark in the HVM. when I run wireshark inside of dom0 on the network bridge all internet packets can be seen. Here a little overview. [domU HVM qemu realtek] -> [ dom0 br0 -> eth0] ^ ^ [dom0 wireshark shows all ethernet packets] [domu wireshark does not show all ethernet trafic] Anybody knows what configuration option am I missing? OS: openSUSE 11.1 xen 3.3.1 Best regards, jeroen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jeroen Groenewegen van der Weyden
2009-Oct-14 09:50 UTC
[Xen-users] HVM network interface question
Hello, I''m trying the capture ethnet packets with wireshark insite of a HVM. However I do not see all traffic in wireshark in the HVM. when I run wireshark inside of dom0 on the network bridge all internet packets can be seen. Here a little overview. [domU HVM qemu realtek] -> [ dom0 br0 -> eth0] ^ ^ [dom0 wireshark shows all ethernet packets] [domu wireshark does not show all ethernet trafic] Anybody knows what configuration option am I missing? OS: openSUSE 11.1 xen 3.3.1 Best regards, jeroen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 14, 2009 at 4:47 PM, Jeroen Groenewegen van der Weyden <groen692@grosc.com> wrote:> Hello, > > I''m trying the capture ethnet packets with wireshark insite of a HVM. > However I do not see all traffic in wireshark in the HVM. when I run > wireshark inside of dom0 on the network bridge all internet packets can be > seen. > > Here a little overview. > > [domU HVM qemu realtek] -> [ dom0 br0 -> eth0] > ^ ^ > [dom0 wireshark shows all > ethernet packets] > [domu wireshark does not show all ethernet trafic] >That''s the way Linux bridge works. Similar to a L2 switch. eth0 on domU will only see : - packets for it''s own MAC address, or - broadcast/multicast packets This is different from how a dumb hub works. In dom0, all traffic needs to go through br0/eth0, which is why you can see all domU traffic there. This is similar to what happens on an uplink interface on L2 switch. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jeroen Groenewegen van der Weyden
2009-Oct-14 10:16 UTC
Re: [Xen-users] HVM network interface question
Fajar A. Nugraha wrote:> On Wed, Oct 14, 2009 at 4:47 PM, Jeroen Groenewegen van der Weyden > <groen692@grosc.com> wrote: > > > That''s the way Linux bridge works. Similar to a L2 switch. eth0 on > domU will only see : > - packets for it''s own MAC address, or > - broadcast/multicast packets > This is different from how a dumb hub works. > >is there a way to change this behaviour?, I really need to see this information in the HVM too jeroen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Oct 14, 2009 at 5:16 PM, Jeroen Groenewegen van der Weyden <groen692@grosc.com> wrote:> is there a way to change this behaviour?, I really need to see this > information in the HVM tooTry "brctl setageing". Setting it to 0 should forward traffic to all bridge ports, effectively making it a dumb hub. It will use more resource compared to the default setup though. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users