Mac Make VMWare Client Bind Fixed IP with its MAC Address

This strategy is tested on Mac Mojave, VMWare Pro 10.1.3.

First, edit the VMWare DHCP Daemon Config File.

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

You may find the line as following.

####### VMNET DHCP Configuration. End of “DO NOT MODIFY SECTION” #######

Then, you need to seek the name of Client Machine in VMWare Main Window Client List. This name would be used to lead a config block. A sample is given below.

host centos7 {
        hardware ethernet 00:0C:29:DF:15:4A;

It means, for the client machine named “centos7”, its MAC is “00:0C:29:DF:15:4A”, so the DHCP result would always be “”.

Now let the VMWare Net Service use new settings.

sudo /Applications/VMware\ --configure
sudo /Applications/VMware\ --stop
sudo /Applications/VMware\ --start

Now, restart VMWare Fusion. Or, as someone says, run “sudo dhclient -v -r eth0” in client machine (eth0 might be ens33 sometimes).




このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください