- Determine the MAC address of the network interface(s) you wish to assign a static IP to:
$ ip link
link/ether 00:0c:29:c5:05:d6 brd ff:ff:ff:ff:ff:ff
- You can also view the vm guest network settings under advanced
- Edit the dhcpd.conf file
/Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf
- Take note of the "range" line, as your static ip must not be in this range
subnet 192.168.234.0 netmask 255.255.255.0 {
range 192.168.234.128 192.168.234.254;
option broadcast-address 192.168.234.255;
etc
}
- Add your new host after the line below:
####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
host mgmt01 {
hardware ethernet 00:0C:29:C5:05:D6;
fixed-address 192.168.234.20;
}