VMware Communities
nmayes
Contributor
Contributor

How to set a DHCP reservation on VMware Fusion 8.5 on a MacBook?

Hi Folks, I'm not finding a way to set a DHCP reservation on my VMware Fusion 8.5 instance on a MacBook - any hints?  Help!

0 Kudos
3 Replies
parmarr
VMware Employee
VMware Employee

Hello, See if you can find the content in the KB article Modifying the DHCP settings of vmnet1 and vmnet8 in Fusion (1026510) | VMware KB useful.

Sincerely, Rahul Parmar VMware Support Moderator
0 Kudos
nmayes
Contributor
Contributor

Thanks!  Yes - I can edit the network file (obviously not the dhcpd.conf file) - but it doesn't show me how to set a DHCP MAC reservation for that VNET?

0 Kudos
nancyz
VMware Employee
VMware Employee

Hi nmayes ,

Welcome the Fusion community.Smiley Happy

When you open dhcp.conf , you could see some lines like:

host vmnet8 {

        hardware ethernet 00:50:56:C0:00:08;

        fixed-address 192.168.87.1;

        option domain-name-servers 0.0.0.0;

        option domain-name "";

        option routers 0.0.0.0;

}

You can just follow the reservation for vmnet8, say:

host win7 {

        hardware ethernet 00:50:56:32:FF:3F;

        fixed-address 192.168.87.16;

}

While "hardware ethernet " stands for the MAC address of your VM, you can get that information by Virtual Machine-> Settings->Network Adapter->Advanced Options; "fixed-address" stands for the IP you want to assign/bind to that MAC address.

You'd better shutdown your VM,then edit /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf and use

$sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop

$sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start to restart your network services for Fusion.

When that's done, power on your VM and see if it gets the IP you want. Of course, you VM should NAT network.Smiley Happy

Hope that will help.

0 Kudos