Windows Server 2012 R2 networking doesn't work w/ bridged

Discussions about using Windows guests in VirtualBox.
Post Reply
Skecher
Posts: 16
Joined: 17. Oct 2015, 00:39

Windows Server 2012 R2 networking doesn't work w/ bridged

Post by Skecher »

VBox 5.0.2
Host is Windows 10
Guest Windows Server 2012 R2

When I set the network mode to NAT, it gets a DHCP ip address fine and networking is happy.

When I configure WS2012 with static ip address, there is no connection to the network (ping to default gateway is unreachable).

Help?
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by BillG »

Does it get an IP OK from DHCP in bridged mode? Does that work? Perhaps you could tell us why you want change to static and what the static config is?
Bill
Skecher
Posts: 16
Joined: 17. Oct 2015, 00:39

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by Skecher »

It gets an IP just fine from DHCP when in NAT mode. I want to run the VM with a static IP as I'm running a fairly small network with a small home office router with little intelligence (i.e. can't be a DHCP name server).

In bridged mode it's just dead.
Skecher
Posts: 16
Joined: 17. Oct 2015, 00:39

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by Skecher »

Hmm reading the VBox user manual, Windows 10 isn't listed as a supported host OS.

When will it be? Is there a workaround for bridged static IP address in the meantime?
Skecher
Posts: 16
Joined: 17. Oct 2015, 00:39

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by Skecher »

After tweaking for a while, this worked for me, YMMV though.

From inside the VM:
1. Control Panel -> Hardware -> Device Manager
2. Uninstall the Intel ethernet network card driver (there should be only 1 network adapter shown, which is what I chose)
3. Click on Scan for hardware changes and let the network card driver get reinstalled
4. Configure network mode for the VM to bridged
5. Configure the VM to have its static ip address (note that I needed static IPs, for DHCP YMMV)

So far seems to work well :-)

Whew, Caesar.
imrazor
Posts: 34
Joined: 15. Oct 2015, 02:53
Primary OS: Linux other
VBox Version: OSE Debian
Guest OSses: Windows Server 2012 & R2, Win8.1, CentOS 7

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by imrazor »

I know I'm a bit late to the party, but I had the same problem with Server 2012 (*not* R2.) I simply could not set a static IP with DHCP active on the NAT network. I checked with ipconfig and found that Win2012 was getting an autoconfig IP address (169.254.xx.xx) even though I had specified a completely different static IP. My solution was to disable DHCP from the VirtualBox side (with VBoxManage) and then make 2012 a DHCP server.

Not sure if this is a VirtualBox NAT networks bug (after all, it is experimental) or a Windows 2012 "feature".
Skecher
Posts: 16
Joined: 17. Oct 2015, 00:39

Re: Windows Server 2012 R2 networking doesn't work w/ bridge

Post by Skecher »

I installed 5.0.8 the bridge problem went away.
Post Reply