Two Windows 2012 R2 Servers on different hosts get same IP

Discussions related to using VirtualBox on Windows hosts.
Post Reply
mulderfox
Posts: 2
Joined: 17. Sep 2015, 13:01

Two Windows 2012 R2 Servers on different hosts get same IP

Post by mulderfox »

Hi!
I'm having an issue with these two servers. My setup is as follows:
I got a home LAN, on it there are two PCs (and other devices, but that's irrelevant for this matter).
On each of these PCs I installed VirtualBox, and on each machine I installed a Windows Server 2012 R2 Standard VM.
When I don't change the IP setup (to static or other), the machines both connect to the internet properly.
However, they don't see the local network, they get a 10.x.x.x IP address, and worse of all, they get the SAME IP. (VM1 and VM2 which are on separate hosts). I already tried to release and renew the IP on both VMs to no avail. Network adapters on both are set to NAT.
Here's a ipconfig text from one of them:
PS C:\Users\Administrator> ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : DC1
Primary Dns Suffix . . . . . . . : corp*contoso*com
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : corp*contoso*com

Ethernet adapter Ethernet 2:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 08-00-27-4D-B2-1D
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::c9aa:fbdb:6266:e8a5%15(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.2.15(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, 18 September 2015 10:58:19 AM
Lease Expires . . . . . . . . . . : Saturday, 19 September 2015 10:58:09 AM
Default Gateway . . . . . . . . . : 10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DHCPv6 IAID . . . . . . . . . . . : 352845863
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-8B-ED-EB-08-00-27-4D-B2-1D
DNS Servers . . . . . . . . . . . : 192.168.1.254
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{3FC74B52-7ED0-4F66-9403-3741E021BF36}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
and here is the second VM's Ipconfig:
PS C:\Users\Administrator> ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : APP1
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Ethernet:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) PRO/1000 MT Network Connection
Physical Address. . . . . . . . . : 08-00-27-95-F1-D0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::502:2e88:603d:2afd%12(Preferred)
IPv4 Address. . . . . . . . . . . : 10.0.2.15(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, 18 September 2015 10:43:13 AM
Lease Expires . . . . . . . . . . : Saturday, 19 September 2015 10:43:13 AM
Default Gateway . . . . . . . . . : 10.0.2.2
DHCP Server . . . . . . . . . . . : 10.0.2.2
DHCPv6 IAID . . . . . . . . . . . : 302514215
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-8D-1B-FE-08-00-27-95-F1-D0
DNS Servers . . . . . . . . . . . : 192.168.1.254
NetBIOS over Tcpip. . . . . . . . : Enabled

Tunnel adapter isatap.{4F8476AB-396B-4DD4-AE9C-35B299DC0FF3}:

Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
IPv6 Address. . . . . . . . . . . : 2001:0:9d38:6ab8:d9:a10:f5ff:fdf0(Preferred)
Link-local IPv6 Address . . . . . : fe80::d9:a10:f5ff:fdf0%14(Preferred)
Default Gateway . . . . . . . . . : ::
DHCPv6 IAID . . . . . . . . . . . : 385875968
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-8D-1B-FE-08-00-27-95-F1-D0
NetBIOS over Tcpip. . . . . . . . : Disabled
(URL dots replaced with asteriks)
I hope you can help. I cannot use the internal network option, as it uses the virtual network adapter driver - and assumes the guests are on the same host - which in this case they are not.
Please help. thanks!
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: Two Windows 2012 R2 Servers on different hosts get same

Post by BillG »

If you want them to see each other on the local network, use bridged networking, not NAT. They will then get there network config from DHCP on the local network (you do have a DHCP server on the local LAN?) and have IPs in the same IP subnet as each other and the other devices on the LAN.
Bill
Post Reply