Created
January 22, 2015 23:48
-
-
Save kelseyhightower/8859616b940e37fc0a5e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Edit the dhcpd.conf | |
| ``` | |
| sudo vim /Library/Preferences/VMware\ Fusion/vmnet8/dhcpd.conf | |
| ``` | |
| Add `filename "http://192.168.12.1:4777?mac=${net0/mac}&serial=${serial}&asset=${asset}";` | |
| ``` | |
| Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet8. | |
| # | |
| # This file was automatically generated by the VMware configuration program. | |
| # See Instructions below if you want to modify it. | |
| # | |
| # We set domain-name-servers to make some DHCP clients happy | |
| # (dhclient as configured in SuSE, TurboLinux, etc.). | |
| # We also supply a domain name to make pump (Red Hat 6.x) happy. | |
| # | |
| ###### VMNET DHCP Configuration. Start of "DO NOT MODIFY SECTION" ##### | |
| # Modification Instructions: This section of the configuration file contains | |
| # information generated by the configuration program. Do not modify this | |
| # section. | |
| # You are free to modify everything else. Also, this section must start | |
| # on a new line | |
| # This file will get backed up with a different name in the same directory | |
| # if this section is edited and you try to configure DHCP again. | |
| # Written at: 01/22/2015 13:10:05 | |
| allow unknown-clients; | |
| default-lease-time 1800; # default is 30 minutes | |
| max-lease-time 7200; # default is 2 hours | |
| subnet 192.168.12.0 netmask 255.255.255.0 { | |
| range 192.168.12.128 192.168.12.254; | |
| option broadcast-address 192.168.12.255; | |
| option domain-name-servers 192.168.12.2; | |
| option domain-name localdomain; | |
| default-lease-time 1800; # default is 30 minutes | |
| max-lease-time 7200; # default is 2 hours | |
| option netbios-name-servers 192.168.12.2; | |
| option routers 192.168.12.2; | |
| } | |
| host vmnet8 { | |
| hardware ethernet 00:50:56:C0:00:08; | |
| fixed-address 192.168.12.1; | |
| option domain-name-servers 0.0.0.0; | |
| option domain-name ""; | |
| option routers 0.0.0.0; | |
| } | |
| ####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" ####### | |
| subnet 192.168.12.0 netmask 255.255.255.0 { | |
| range 192.168.12.128 192.168.12.254; | |
| option broadcast-address 192.168.12.255; | |
| option domain-name-servers 192.168.12.2; | |
| option domain-name localdomain; | |
| default-lease-time 1800; # default is 30 minutes | |
| max-lease-time 7200; # default is 2 hours | |
| filename "http://192.168.12.1:4777?mac=${net0/mac}&serial=${serial}&asset=${asset}"; | |
| option netbios-name-servers 192.168.12.2; | |
| option routers 192.168.12.2; | |
| } | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment