6
1
I installed VMWare Workstation 7.1.x and Virtualbox 4.0.8 on two different hosts, so I could compare.
I set the virtual network adapter on both to NAT, which was successful for both. The result:
Virtualbox address: 10.10.2.13 VMWare address: 192.168.0.20
The IP assigned to the VMWare guest was expected. But I was surprised by the IP address given to the virtualbox. These machines are on my home network, which only have NAT addresses (192.168.x.x), so when I saw the 10.10.2.x - I was somewhat amazed.
Then I switched both VMs to use bridged networking. The VMWare guest continued to use a NAT address, but the Virtualbox started using a NAT address as well.
In short, I suppose the VMWare guest behavior is what I expected. The Virtualbox behavior was strange to me. If anything, I would have expected the Virtualbox to have done the opposite (use a NAT address for a NAT lan adapter, and a non-NAT address for bridged routine). Don't get me wrong, I was surprised to see the non-NAT address with Virtuabox - under any configuration.
But can someone explain to me why I got the results that I did? And how/why was the IP address 10.10.2.x "working" on my home network?
Keep in mind that both VM guests had successful networking at all times.
It's 172.16.0.0/16 :-). Also why 10.0.0.0 addresses because "there are more addresses available"? Do you think you'll ever reach the amount? – sinni800 – 2011-06-20T16:52:41.713
3@sinni - no, it is 172.16.0.0/12, as 172.31.255.255 marks the end of the range. /16 would end at 172.16.255.255. And I work on a larger network where it's convenient to assign pools for certain classes - so all printers are in 10.x.15.0, for example. All clients in one department are 10.2.0.0, another 10.3.0.0. The first department's printers are 10.2.15.0-10.2.15.255, the 2nd department's are 10.3.15.0. to 10.3.15.255. I'll never use all the addresses, but it's nice to have more blocks to assign out. – Joel Coehoorn – 2011-06-20T16:56:01.467
it's 172.16.0.0/16 because 16 to 32 are all their own subnetwork normally. So theres 16 nets in total in this range... I know what you mean, but I thought a little differently about it when you first said it. Subnetting it more than once makes sense :) – sinni800 – 2011-06-20T17:00:18.603
The whole range is 172.16.0.0/12, but it is normally considered to be a block 16 /16s (172.16.0.0/16, 172.17.0.0/16, ..., 172.31.0.0/16) rather than one /12 in the same way 192.168.0.0/16 is usually considered to be 256 /24s and not one /16. – David Spillett – 2011-06-20T18:24:38.313