Skip to content

Instantly share code, notes, and snippets.

@debedb
Created August 29, 2017 02:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debedb/fedad06c1d152785a9ba841874899f9d to your computer and use it in GitHub Desktop.
Save debedb/fedad06c1d152785a9ba841874899f9d to your computer and use it in GitHub Desktop.
vmnet2 sample (/Library/Preferences/VMware Fusion/vmnet2/dhcd.conf)
# Configuration file for ISC 2.0 vmnet-dhcpd operating on vmnet2.
#
# 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: 02/16/2017 19:33:56
allow unknown-clients;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
subnet 10.0.0.0 netmask 255.0.0.0 {
range 10.128.0.0 10.255.255.254;
option broadcast-address 10.255.255.255;
option domain-name-servers 10.0.0.1;
option domain-name localdomain;
default-lease-time 1800; # default is 30 minutes
max-lease-time 7200; # default is 2 hours
}
host vmnet2 {
hardware ethernet 00:50:56:C0:00:02;
fixed-address 10.0.0.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
}
####### VMNET DHCP Configuration. End of "DO NOT MODIFY SECTION" #######
# You can put 10.0.0.37 into /etc/hosts
# (hardware ethernet is on your own - see ).
host vm1 {
hardware ethernet 00:50:56:C1:00:FF;
fixed-address 10.0.0.37;
}
host vm2 {
hardware ethernet 00:50:56:3B:7B:9C;
fixed-address 10.0.0.38;
}
host vm3 {
hardware ethernet 00:50:56:26:93:5A;
fixed-address 10.0.0.39;
}
host vm4 {
hardware ethernet 00:50:56:3B:7B:9C;
fixed-address 10.0.0.40;
}
host vm5 {
hardware ethernet 00:50:56:3B:7B:9C;
fixed-address 10.0.0.41;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment