Set the configuration and restart the services sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli -configure The host name will be the same as your guest image name without spaces! 7. Note that the guest will be configured to use the google DNS for resolution. End of "DO NOT MODIFY SECTION" #įixed-address 192.168.243.21 # this is the network provided after installation. Add the following configuration at the end of the fileĪdd the following at the end of the file: Your guest VM must use a IP address that is outside from this range! 6. Grep range /Library/Preferences/VMware\ Fusion/vmnet8/nf Choose a valid IP OUTSIDE the range returned by the following command: Extract the MAC address from the second Network AdapterĬat /Users/.vmx | grep "ethernet0.generatedAddress ="Įthernet0.generatedAddress = "00:0D:23:5B:A1:F1"Ĭopy this address to the clipboard as will be used in the next steps. Then, add a new "Network Adapter" device:įor the first network adapter, set as "Share with my Mac".įor the second one, set as "Private to my Mac"Ĥ. Select your guest that will use the static ip and add a new network adapter This will open the nf w/ the default configuration created upon VMWare Fusion installation. Sudo vim /Library/Preferences/VMware\ Fusion/vmnet1/nf Check your current configuration for "host-only" networking: Therefore this configuration don't require any changes inside linux guest VM as it network interfaces will continue using BOOTPROTO=dhcp 1. How to setup your VMWare Fusion images to use static IP addresses on Mac OS X Working w/ CentOS 7 and RHEL 7 linux images.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |