Network communications between virtual machines?
December 28th, 2009
If I’m running multiple virtual machines (VMware) on one physical server host, and wanted to test an IDS with them. If the VMs are sending/receiving data to and from each other, does it leave the physical host, go out onto the network, or does it stay on the host? If all VMs are using the same physical NIC from the host, what MAC address problems come up on the switch?
When you set the VM instance to a Bridged Network Mode (rather than a NAT) it creates a bogus MAC address when you bind the virtual NIC to the Physical NIC and the DHCP server or switch will assign the VM’s virtual NIC an IP address.
Both VMWare and VirtualBox create a a vitrual loopback NIC on their host OS but this is used for NAT mode in VMs and traffic in Bridged mode should router through the switch. I may be wrong, but you can check this by looking at the number of hops traveled in a ping (look at TTL reduction)
powered by Yahoo Answers