* [Qemu-devel] VM Communications inner a network bridge
@ 2012-09-04 12:50 GaoYi
2012-09-05 7:06 ` Stefan Hajnoczi
0 siblings, 1 reply; 2+ messages in thread
From: GaoYi @ 2012-09-04 12:50 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 273 bytes --]
Hi all,
When 2 VMs are started on the same network bridge, will the TCP/IP
packets between them still go through the router (actually these 2 VMs
share the same physical network card)? If so, is it possible to just pass
the packets inner the network card?
Best,
Yi
[-- Attachment #2: Type: text/html, Size: 289 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] VM Communications inner a network bridge
2012-09-04 12:50 [Qemu-devel] VM Communications inner a network bridge GaoYi
@ 2012-09-05 7:06 ` Stefan Hajnoczi
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2012-09-05 7:06 UTC (permalink / raw)
To: GaoYi; +Cc: qemu-devel
On Tue, Sep 4, 2012 at 1:50 PM, GaoYi <gaoyi709@gmail.com> wrote:
> When 2 VMs are started on the same network bridge, will the TCP/IP
> packets between them still go through the router (actually these 2 VMs share
> the same physical network card)? If so, is it possible to just pass the
> packets inner the network card?
If you have 2 VMs using tap network interfaces on a Linux software
bridge, then packets will be passed between the tap interfaces.
Packets will not go onto the host's physical interface (e.g. eth0).
This is regular Ethernet bridge behavior: the bridge decides on which
port(s) to forward the packet based on its MAC address to port
mapping.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-05 7:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-04 12:50 [Qemu-devel] VM Communications inner a network bridge GaoYi
2012-09-05 7:06 ` Stefan Hajnoczi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).