On Tue, Sep 4, 2012 at 1:50 PM, GaoYi 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