Solved

VMWARE setup for lab testing

Posted on 2011-03-24
15
905 Views
Last Modified: 2012-05-11
I cannot figure out this damn VMWARE networking stuff for workstation.

Gateway (192.168.1.1)
Desktop (192.168.1.4)
1 - 2008-DC/DNS (192.168.1.130)
2 - 2008-DHCP (192.168.1.140)

Cannot get DHCP to ping or access DC.

I spent a day with the VMware Network in a combination of Bridged / NAT / Host

I believe I can get the system to work in host only environment as the network is closed off. However I was really hoping to be able to remote desktop to the server via my actual desktop.

Anyway, any advice would be helpful. Trying to study for 70-642
0
Comment
Question by:UltraFlux
  • 7
  • 4
  • 4
15 Comments
 
LVL 2

Expert Comment

by:atigris
ID: 35211103
You will need to disable VMware Workstation DHCP Service; This is an option on the VMware workstation virtual Networking. Once it's stopped then you will be able to use your windows server 2008 DHCP.

http://communities.vmware.com/message/1626594


0
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 35211145
Hi

I think the problem here is not the same.

Do you have all that 4 machines in the Workstation as VMs? And you cannot ping any of that VMs from your workstation host? Is that the problem?

Or you cannot have DHCP IPs on your VMs?

Jail
0
 

Author Comment

by:UltraFlux
ID: 35211172
I haven't even been able to get the DHCP to join the domain, no communication via virtual machines.

So basically I am not really using DHCP at the moment, only static assignments on the DC / DHCP virtual machines.

STATIC
1 - 2008-DC/DNS (192.168.1.130)
2 - 2008-DHCP (192.168.1.140)

0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:UltraFlux
ID: 35211209
One Example:

DC (STATIC)
192.168.1.130
255.255.255.0
192.168.1.1 GATEWAY
192.168.1.130 DNS

Even with my host on 192.168.1.4 I cannot ping it, however I can ping 192.168.1.1

0
 

Author Comment

by:UltraFlux
ID: 35211219
Also when I test from the host computer, I can actually ping 192.168.1.130 which is the DC

Strange that I cannot ping from the DC to the host.
0
 
LVL 23

Assisted Solution

by:Luciano Patrão
Luciano Patrão earned 250 total points
ID: 35211281
Hi

Using the IP subnet from the host is the easy way. That is what you are using.

First check if the Windows firewall is not blocking your pings(from both sides, guests and host).

Second check this print screens a standard configuration for VMs in Workstation. And using static IPs on the VM side.

 Network Settings
 VM adapter Settings
Hope this can help

Jail
0
 
LVL 2

Accepted Solution

by:
atigris earned 250 total points
ID: 35211289

Before fixing the DHCP issue; you need to make sure everything is accessible and can see each other

1. check that all of your VMs are one the same VMnet, check the NIC on each machine that is set on the same VMnet i.e VMnet0.

2. make sure you bridge or NAT all nics to make it all accessible on the subnet.  

3.  disable Windows Firewall on the DC, don't be dumb and disable the service from services.msc ? go to command prompt, type the following command:
netsh advfirewall set AllProfiles state off

or do it from the GUI

http://technet.microsoft.com/en-us/library/cc766337(WS.10).aspx


0
 

Author Comment

by:UltraFlux
ID: 35211475
testing above
0
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 35211510
Hi

Also use a gateway from you outside VMs. Like a router, or you can use the IP from the host to work as a gateway, This sometimes fix some routing problems.

But with the configuration above, I have all my Workstation VMs working with the static IP and using my router IP for gateway.

Jail
0
 
LVL 2

Expert Comment

by:atigris
ID: 35212385
I think it would be better if you create an isolated network from your LAN for your Lab environment.
you may create another subnet 172.18.9.x for example for your Lab environment and use virtual router to route to your LAN network. This will prevent any DHCP/DNS conflicts and give you the chance to create full lab setup from A-Z.

You can do this by  creating a new VM that acts as a gateway with your LAN network. This can be accomplished by creating a VM with 2 Nics one points to your Virtual Network vmnet0 (LAN Network) and the other Nic points to your internal network (Lab) i.e vmnet4 which is configured as Host-only.

Then change the NICs on all VMs to point to vmnet4 instead of vmnet0. This will put all VMs on private network (Host-only) network.

Now only your Virtual router has access to internet because it has 2 Nics and one of them is connected to your vmnet0 which is your LAN network.

Now you will need a software that does routing so you can make all work. you can install Windows on this VM and use Routing and Remote access to create routing between the 2 NICs http://www.windowsnetworking.com/articles_tutorials/Configuring-Windows-Server-2003-act-NAT-router.html.  or you can install router such as vyatta.  http://www.vyatta.com/downloads/index.php

I found this very useful if you install VMware workstation on a laptop. you will be able to have internet access to your lab on any network you connect to down on the road. as you lab network is completely isolated.
0
 

Author Comment

by:UltraFlux
ID: 35212814
I really cant seem to get this even with your help. Feels like im spending hours on this VMWARE network stuff.

BestWay: Tried based on images provided

atigris:Before fixing the DHCP issue; you need to make sure everything is accessible and can see each other
exactly what I am trying to do

BestWay: I do use a router
My router ip is 192.168.1.1 and I have been trying to use it as the gateway
0
 

Author Comment

by:UltraFlux
ID: 35212954
So to recap.

Router = 192.168.1.1 (DHCP/DNS) however all systems are setup with static addresses.

Host = 192.168.1.5 (new Static IP for Host)
Win7 / All Firewalls Off

DC/DNS = 192.168.1.10 (new Static IP for DC)
netsh to turn off Firewalls

DHCP = 192.168.1.15 (not in the mix yet as I have not fixed the routing for the above)






0
 
LVL 2

Expert Comment

by:atigris
ID: 35212991
So you still able to ping your DC from your host computer?  but not the other way around?
and you said from your DC you can ping the gateway 192.168.1.1 ?

If so, it seems like the fierwall or software on your host computer blocking the connection. Please turn them off.  

Also we need you to post the current config of your network,

Your VMware NIC Setup
Your VMwar Virtual Networking mapping
What VMs can ping what and explain  the exact problems you are facing.

Take same printscreen of the VMconfig will be much better than writing them down.

Thanks
0
 

Author Comment

by:UltraFlux
ID: 35234217
Actually it seems to be working now. I am not sure perhaps the reboot that I made this morning helped everything out. Still a little confused why it did not work previously.

Regardless I am not connected by remoted desktop and starting training.

Current setup is all static ip addresses

Host - 192.168.1.5
DC - 192.168.1.10 (VMnet0) Bridged
DHCP - 192.168.1.20 (VMnet0) Bridged

Thanks for the help guys! I will split the points!
0
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 35235373
Hi

For a normal configuration like that, bridged work just fine. Why use different subnet or NAT/route for just a VM??

Glade that you have fix the problem.

Jail
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question