Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to set a static IP for my CentOS 6.4 VM that I'm running via VMware Fusion 5.

Steps I took:

  • ran ifconfig, copied HWaddr
  • shut down VM.
  • added to the end of /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf (after "####### VMNET DHCP Configuration. End of “DO NOT MODIFY SECTION” #######" the following (vmname in place of vmnamehere and hwaddr in place of xx:xx:xx:xx:xx:xx)

    host vmnamehere {
        hardware ethernet xx:xx:xx:xx:xx:xx;
        fixed-address 192.168.115.50;
    }
    
  • restarted my mac

  • booted up VM

Now when I run ifconfig it remains 172.16.49.143, which it was before this.

Did I miss a step here?

Edit: Source for instructions.

share|improve this question

migrated from serverfault.com Aug 24 '13 at 17:45

This question came from our site for professional system and network administrators.

    
If you wouldn't mind commenting why you're down-voting that would be great. Just trying to figure something out, without feedback I'm likely to ask a "stupid" question again. –  jackreichert Aug 24 '13 at 17:40
    
Thank you. I thought serverfault was the right domain, I'll know for next time. –  jackreichert Aug 24 '13 at 17:47
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.