Tuesday 30 July 2013

VMWare Fusion 5 DHCP Assigned Static IP...

In order to have DHCP assigned Static IP addresses on a Fusion 5 Virtual machine you need to modify the following file:

/Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf

The contents of the file should look like this:

To add a reserved IP you will need the hostname and mac address of your host.

Under the section "DO NOT MODIFY SECTION" add the following:

hardware ethernet <YOUR MAC ADDRESS>;
fixed-address <THE IP TO ASSIGN>;

It should look something like this:

My hostname is kingpin.
My MAC Address is 00:0C:29:70:0D:4B.
The IP I want to assign is

Worth noting, when choosing an IP to assign it must be from the subnet specified further up in the file and not be from the range.

For example, in my config file in the "DO NOT MODIFY SECTION" I have:

subnet netmask {
option broadcast-address;
option domain-name-servers;
option domain-name localdomain;
default-lease-time 1800;                # default is 30 minutes
max-lease-time 7200;                    # default is 2 hours
option netbios-name-servers;
option routers;

I have to choose an IP that is within the range and is not being used in the current DHCP scope. and are used by VMWare and the IP's from - are reserved in the DHCP scope.

That leaves me with any IP from -

I chose as it is easy to remember and I can start counting up from there.


No comments:

Post a Comment