Skip to content

Instantly share code, notes, and snippets.

@bvajda
Created October 21, 2011 23:18
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save bvajda/1305245 to your computer and use it in GitHub Desktop.
Save bvajda/1305245 to your computer and use it in GitHub Desktop.
Static ip on a VMWare Fusion Virtual Machine

Shamelessly copied from: http://www.stereoplex.com/blog/vmware-fusion-guests-with-a-static-ip VMWare Fusion v4

get the MAC address of the vm: Virtual Machine - Settings - Network Adapter - Advanced make a note of it, it will be needed later

open /Library/Preferences/VMWare Fusion/vmnet8/dhcpd.conf: make note of the subnet range -> select a fixed ip outside of this range make note of the "options routers" ip address -> needed later append:

host *your_host_name* {
hardware ethernet *the MAC address you noted down above*;
fixed-address *the ip address you want*;
}

Quit and relaunch VMWare Fusion

On the vm (CentOS 6): system-config-network-tui enter the ip address, mac address and default gateway = "options routers" ip noted above restart networking

@The1nternet
Copy link

what is "your_host_name"? Is that the hostname of the mac? Or the hostname of the windows vm? How do i find the hostname I need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment