Search code examples
vmwarevirtualizationnatdhcpstatic-ip-address

VMWare - Virtual operating system static IP address


What is the best way to have a virtual operating system have a static IP address in VMWware. I would like to keep the IP address static since it is a virtual server.


Solution

  • Assuming you're not using NAT-based VMWare networking, the answer isn't any different for a virtual (guest) server than for a real one. You can:

    • Assign a static IP via whatever mechanism the guest operating system supports.
    • Configure the guest operating system to get its IP address from a DHCP server, and configure the DHCP server to return a static IP address for the VMWare instance's MAC address.