2
0
For example, I have VMware Workstation which is on a host, host
, and a VM running under VMware, zeddicus
. Basically I understand in a normal network you plug a computer into the network (or wifi), get assigned an IP address by DHCP (assuming no static IPs) and you're on your way. How does this work on a VM with DHCP, though? When you are running a VM all traffic is routed through host
, say 10.0.0.10... but with a bridged connection, zeddicus
would have another DHCP address (10.0.0.11) if you run ipconfig/ifconfig. How does this work when looking at it through the outside network? All traffic, (this is where I must be missing something) is routed through 10.0.0.10 to zeddicus
who is 10.0.0.11, or does the network interface somehow register as having two different addresses on the network? This also applies to MAC addresses, I guess, since an interface is only supposed to have one address yet VMs have their own.
Basically I don't understand how a VM running on a host can have a different IP address on the network than the host on a physical network because it seems like all traffic would be routed through the host.