Win7 Host, 2012R2 and Win7 as guest, which network?

Discussions related to using VirtualBox on Windows hosts.
Post Reply
dawson
Posts: 3
Joined: 27. May 2014, 15:14

Win7 Host, 2012R2 and Win7 as guest, which network?

Post by dawson »

Hello,
I want to build a 2012R2 and a Win7 as guests on a Win7-Host.
I want to "talk" between the both guests (ping, folders) and make updates over the internet.
Would be nice, if Host can ping to Guest too, but doesn´t have to.
And the both guests should have a IP like 10.0.2.x, the host is in my home network with 192.x.x.x

Which network does I have to use?
I tried bridged, NAT, nat network and int.network.

I hope, you could help me out with this one.
Thanks.

(oh, and when I got this all to work, the 2012R2 and the win7-guest should be in a domain)
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Win7 Host, 2012R2 and Win7 as guest, which network?

Post by Perryg »

The easiest and for most the best way to use and test Windows domains in VirtualBox
Setup Windows Domain in VirtualBox
dawson
Posts: 3
Joined: 27. May 2014, 15:14

Re: Win7 Host, 2012R2 and Win7 as guest, which network?

Post by dawson »

Thanks for the fast reply.
I already tested internal network.
I got two different IPs on my guests (169.254.132.91 and 169.254.92.160).
Therefore they can´t ping each other.
Where is this IP coming from? Can I customize it in VB?

And if I get this right: I need my 2012R2, my win7 and a third guest (in above example a winxp - I would prefer another win7), which is connected via NAT and provide the internet access.
Right?

But why is it, that I can´t ping between two VMs, even if they got the right IP in the same area? When I shut off the firewall, it works. With firewall activated - no ping possible.
Answer?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Win7 Host, 2012R2 and Win7 as guest, which network?

Post by Perryg »

The addresses you show are apipa address that Windows assigns if there is no DHCP server available. It is up to you to configure the network properly.

You can use anything you want to provide the necessary routing/Internet connection sharing. I suggested pFsense because of its small footprint, or stripped down XP. Since XP has reached its EOL I guess it would not be a good solution for some.
dawson
Posts: 3
Joined: 27. May 2014, 15:14

Re: Win7 Host, 2012R2 and Win7 as guest, which network?

Post by dawson »

But I already gave them a IP-Adress.
10.10.0.20 and 10.10.0.21.
with 255.255.255.0 and 10.10.0.1 on each.

Can´t ping from one guest to the other without firewall out. Whats wrong, what am I missing?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Win7 Host, 2012R2 and Win7 as guest, which network?

Post by Perryg »

Well the information you are giving is limited but I guess the 10.10.0.1 is supposed to be a gateway address, correct?
Does it exist? The gateway is what sends you to the Internet and if you do not have a router or ICS you do not have a gateway and that will keep your local LAN pings Etc. from working.
Plus disabling the firewall does not enable ICMP which is needed for ping to work. By default Windows disables ICMP, so you need to enable it.
Post Reply