Virtual Machines on can't see each other

lilbird1981

New member
Local time
1:53 PM
Messages
13
Hello,

I am just setting up a scenario, which I need for testing.
The scenario requires one Virtual Windows Server 2003 and one Virtual Exchange Server 2007.

I am using Virtual PC 2007 on Windows 7 to set this up.

The win2003 server has internet connection and local connection, so in the settings for this server, I added 2 networking adapters -
adapter 1 - local only
adapter 2 - wireless lan

The exchange server only needs a local connection to the win2003 server, so in the settings of the exchange server I added 1 networking adapter -
adapter 1 - local only

As far as I understood from various tutorials on the internet, the two virtual machines should be on the same local network automatically, however, here are the results when I run "ipconfig" for both machines:

Here are the results for the Server 2003:
Code:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . : lan
   IP Address. . . . . . . . . . . . : 192.168.1.70
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Autoconfiguration IP Address. . . : 169.254.142.126
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Default Gateway . . . . . . . . . :

C:\Documents and Settings\Administrator>
The results from the exchange server are:
Code:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 10.0.1.18
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.1.1

C:\Documents and Settings\Administrator>
In order for the exchange server to see the server 2003, they should be on the same network, but it appears that they are not. Does anyone know how to set this up correctly?

Thanks,
Lil.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
You'll need to change the network adapter settings on the Exchange server to match those of the local adapter settings on 2003 server.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
You'll need to change the network adapter settings on the Exchange server to match those of the local adapter settings on 2003 server.

Yes, this is what I have done, and now I get the following for the exchange server:
Code:
Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.1.25
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 10.0.1.18
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.1.1

C:\Documents and Settings\Administrator>

However, when I ping this now from my server 2003, then I still cannot see it:
Code:
C:\Documents and Settings\Administrator>ping 192.168.1.25

Pinging 192.168.1.25 with 32 bytes of data:

Request timed out.
Request timed out.

Did I misunderstand what you meant?
Thanks,
Lil.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
You'll have to bear with me as I've never used an Exchange server. I have however had extensive practice with networking. Your default gateway on the exchange server does not match the gateway of your 2003 server. They're not going to communicate until you've changed that information on the Exchange server.

If you're unsure of how to do that (from what I do understand, it's not the same as regular Windows where you just go into the control panel and right click on the local area connection), you'll have to figure that out.

I did find this tidbit, but I can't guarantee it'll work:

With Netsh.exe, you can easily configure your computer's IP address and other TCP/IP related settings. For example:
The following command configures the interface named Local Area Connection with the static IP address 192.168.0.100, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:

netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

The above is one line. So for your settings, it would be:

netsh interface ip set address name="Local Area Connection" static 192.168.1.(any number) 255.255.255.0 192.168.1.254 1


This is of course assuming it's feasible to do this on an Exchange server.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
Can not add anything to what nekkidtruth already said, just one recommendation: upgrade you Virtual PC! The latest version is especially designed to work with Windows 7, migrating your existing vhd's is easy.

More information and free download: Windows Virtual PC: Home Page

Kari
 

My Computer My Computer

At a glance

Windows 10 Pro x64 EN-GB1.6 GHz Intel Core i7-720QM Processor6 GBATI Mobility Radeon HD 5850 Graphics
Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Thanks Nekkidtruth! However, I do think that they both see the same default gateway. I will paste the ipconfig information here.
This is the one from the Windows Server2003, you can also see that I cannot ping the Exchange server.
Code:
C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . : lan
   IP Address. . . . . . . . . . . . : 192.168.1.72
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.131.66
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.131.254

C:\Documents and Settings\Administrator>ping 192.168.1.25

Pinging 192.168.1.25 with 32 bytes of data:

Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.1.25:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

This is the ipconfig information for the exchange server, and you can also see that I can ping the windows server:
Code:
C:\Documents and Settings\Administrator>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.1.25
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 10.0.1.18
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.1.1

C:\Documents and Settings\Administrator>ping 192.168.1.72

Pinging 192.168.1.72 with 32 bytes of data:

Reply from 192.168.1.72: bytes=32 time=1ms TTL=128
Reply from 192.168.1.72: bytes=32 time<1ms TTL=128
Reply from 192.168.1.72: bytes=32 time<1ms TTL=128
Reply from 192.168.1.72: bytes=32 time<1ms TTL=128

Ping statistics for 192.168.1.72:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms

So, the default gateway for both my servers is 192.168.1.254, or is this incorrect?
Do you know why in my exchange server I have an IP address of the format 10.0.1.18?

Thanks!
Lil.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
@Kari: Unfortunately I cannot upgrade to the latest Virtual PC version, as I am only running Windows 7 Home Premium.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
I think part of the issue is confusing the 2 machines. Can you do me a quick favor...

Try posting the 2 like this:

Windows Server 2003:

Code:
Information here

Exchange Server:
Code:
Information here

Just so we're not confusing the 2. Because you've also get more than one adapter I'm starting to get dizzy ;)
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
OK, let's try it again. Oh, before I post, the reason why I have 2 adapters per VM is because one of them is local and the other is the internet connection. ...or don't I need the local connection.

The scenario I have to produce is:

Windows Exchange Server has a local connection, but no internet connection.
Windows Server 2003 has a local connection (to be able to talk to Exchange Server), and an internet connection.

In the ipconfig of Exchange Server you can now see 2 adapters, because I was told to have the same network adapters on Exchange and the Server, so now the Exchange server also has a local and an internet connection. ...does this make sense? Otherwise, do you know how I can set up this scenario in a better way?

Here is the code again:
Windows Server 2003:
Code:
Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . : lan
   IP Address. . . . . . . . . . . . : 192.168.1.72
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.131.66
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.131.254

Windows Exchange Server:
Code:
Windows IP Configuration


Ethernet adapter Local Area Connection 2:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 192.168.1.25
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.254

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 10.0.1.18
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.1.1

Thanks!
Lil.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
On the Exchange server, you only need local connectivity. So remove local area connection. Leave the second one as that has the information you need for the local network. Or transfer the information from LAC2 to LAC and remove LAC2.

The first thing we need to do is get them to communicate with each other.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
Hi there
If both these servers are Virtual Machines then you should be able to use the Virtual Network Interfaces on them - and your problem should be solved automatically.

I use vmware so the "Real" NIC's aren't involved. You can set to Bridged networking so each machine has its own IP address on the network.

I don't have any experience with Exchange Server - but I've no problems running several Server VM's concurrently (W2K3 servers and W2K8 servers)-- and there's no problem at all connecting to them from either WITHIN the LAN or outside, Wirelessly or otherwise.

Cheers
jimbo
 

My Computer My Computer

At a glance

Linux CENTOS 7 / various Windows OS'es and se...Intel i7 Intel i58GB, 16GBOn Motherboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
OK, I have attached a screenshot of my network adapter settings for the exchange server. I will now remove the adapter 2, and only keep the local connection, i.e. adapter 1 - is that right?

Thanks!
Lil.
 

Attachments

  • Capture.PNG
    Capture.PNG
    19.2 KB · Views: 52

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
jimbo's advice may be better suited in this case as mine is real-world related. Not in a virtual environment. If VM allows you to set them up to communicate with each other by using a mere settings in it's config, there's no point in manually configuring everything.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
If both these servers are Virtual Machines then you should be able to use the Virtual Network Interfaces on them - and your problem should be solved automatically.
Yes, I did set it up to have "local only" adapters, so theoretically the two machines should be on the same network, right? My Windows Server actually requires a network connection as I am planning to use the Google Calendar Connectors API.

My problem is now that my Exchange Server only has one local connection, that the IP config returns this:
Code:
Windows IP Configuration


Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   IP Address. . . . . . . . . . . . : 10.0.1.18
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 10.0.1.1

Now it is not visible to my server anymore.
How do I set it up, so that my Exchange Sever and the other Server are on the same network, i.e. can see each other locally?
Thanks,
Lil.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
So now you change the IP/Default Gateway on that to match your Windows Server :)
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
I have now set the default gateway to the same as my win server 2003. I attached a screenshot of how I changed the settings. However, now I cannot ping the server 2003 anymore, and I also cannot ping the exchange server from the server anymore. It seems that everything is broken now :(
 

Attachments

  • Capture2.PNG
    Capture2.PNG
    4.8 KB · Views: 25

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
Then I suggest you take jimbo's advice and let VM do the networking. Personally, I've never had any issues setting up networks manually using VM software. Technically, assuming you actually have a gateway at 192.168.1.254, it should be working fine.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
Thanks, but the problem is that VM doesn't seem to do the networking. All I have done is downloaded the virtual machines from Microsoft, then added them to Virtual PC, and that's all. Unfortunatley they don't seem to communicate with each other.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
Sorry I wasn't able to help any further. I may be overlooking something but there shouldn't be any reason why it wouldn't work. Assuming of course the settings are correct.
 

My Computer My Computer

At a glance

Windows 7AMD Phenom II X4 955 Black Edition8GBPNY XLR8 GeForce GTX 460 1024MB GDDR5
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7
CPU
AMD Phenom II X4 955 Black Edition
Motherboard
MSI 870A-G54
Memory
8GB
Graphics Card(s)
PNY XLR8 GeForce GTX 460 1024MB GDDR5
Monitor(s) Displays
2 x 24"
@nekkidtruth: Thanks, I really appreciate your help. I am very new to this, so I might have also misunderstood something.

I guess I will have to play around with it, and I'm sure I will figure it out.
 

My Computer My Computer

At a glance

Win 7 , Linux Ubuntu
OS
Win 7 , Linux Ubuntu
Back
Top