Use static DHCP IP address in VMWare Fusion guests

MacBook Pro is really nice laptop for developing. With great power in this gadget, you also can create lots of virtual guests.

With this virtual guests, you can try various kinds of test. Sometimes, there’s a case you want to use fixed IP address (even though it’s a private IP) to communicate with other virtual guests on your system. In that case, you can put the fixed data by open the file with the following command.

sudo vi /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf

And put at the bottom of the file with something similar below:

http://pagead2.googlesyndication.com/pagead/show_ads.js

####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
host myhost {
	hardware ethernet 00:0C:29:F1:56:6A;
	fixed-address 172.16.95.160;
}

You can find ‘hardware ethernet’ (MAC address) with ifconfig command or equivalent commands in the OS.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.