VMware - Assign same IP Address to guest Machines using MAC

Posted on 2013-11-12
Medium Priority
Last Modified: 2013-11-12
I have number of VMware machines under vmware workstation.

1. I personally don't want to use Static ip due to some networking issues I have.  But I need to assign them same dynamic IP address every single time. How do I do it?

2. Is there a DNS  service built within VMware workstation I can use?

Question by:crazywolf2010
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 122

Accepted Solution

Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 total points
ID: 39641265
VMware Workstation, does have a DHCP Service, if you use NAT or Host mode networking.

Select the Virtual Network Editor, in your VMware Application Folder.

see here


1. Assign a very long Max Lease time.

2. Do you mean DHCP or DNS?

Author Comment

ID: 39641282

1. Assign a very long Max Lease time.
>> Where do I find settings for this?

2. Do you mean DHCP or DNS?
>> I possibly need both.
Mainly DHCP so there is always same IP assigned to a machine,.
DNS will help me to address machine with their names than IPs.


Author Comment

ID: 39641286
Are you talking about the lease time here?

C:\greenshot\2013-11-12 11_31_57-Virtual Network Editor.png
Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

LVL 122
ID: 39641309
That's correct, set the default and max lease times, to a very long value, this will ensure your VMs, keep the same IP Address for a very long time. e.g. = static

VMware Workstation does not include DNS.

a simple hosts file copied around your VMs, is the most basic DNS, as IP Addresses will remain static, otherwise you would have to rely on DNS provided by Windows OS or Linux OS.

Author Comment

ID: 39641336
The max lease is for 63 days. This is OK for time being but I am sure my VM machines will be there for years/months. Is there no other way?

LVL 24

Expert Comment

by:Nagendra Pratap Singh
ID: 39641370
You can make a DHCP VM. Disable NAT and DHCP service from VMware.

In your DHCP VM, you can set an IP reservation for the MAC. Let me know if you want to do this with a windows DHCP. Windows DHCP will need a active directory environment (It needs to be authorized in the AD)
LVL 122
ID: 39641382
How DHCP works, is it will contact the DHCP server, an IP addresses will be leased for 63 days, and then after 30 days, it will ask for the lease again.

So a 63 day lease is really infinity!

It's unlikely it's going to change, if the VM is on all the time, and you do not use all the IP Leases!

How many VMs do you have hundreds?
LVL 122
ID: 39641384
or you could use






also inlcudes DNS!

for FREE, with no Active Directory, or Windows Server licensing cost!

Depends on how you want to do DHCP, you could also do it with your Wireless Router, for Internet!

But your question asked how to do it with VMware Workstation!

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
A look into Log Analysis and Effective Critical Alerting.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
Suggested Courses

801 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