0

If I have 2 VMs (web server + db server) on same physical host, how can they communicate? Being on the same host what speed can expect? Its CentOS KVM. What is the situation with SmartOS Zones where one VM can not see other VM, how do they communicate?

1
  • This sounds like a homework question... But why do you have solaris and opensolaris? What is the host OS? What is your VM program? What is your network config currently? Which OS is the guest? Mar 19, 2014 at 18:53

1 Answer 1

0

I believe it depends what mode the virtual machine adapters are in. If they are in NAT mode they probably won't have a connection between each other. Bridge mode will have a interconnection as both virtual machines will get an IP on the LAN.

During intercommunication, a half-round trip of the TCP/IP stack takes place using special network drivers installed by the VM software. The packets would never go out on the wire and probably won't even get an Ethernet frame put around them. The communication takes place solely in software but changes are it's speed is capped to the rate of the physical network card.

1
  • Thanks for the reply micwallace. I believe then communication can stay inside onboard lan (2-port) and should keep latency minimal, correct? Any info about SmartOS VM Zones (Solaris), should there be the same logic?
    – Goran
    Mar 19, 2014 at 12:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .