VMware Communities
tmanzke
Contributor
Contributor

VMware Fusion 11.5 - trouble with overwriting DHCP / DNS settings within dhcpd.conf file

Hi buddies,

first of all I'm not a native speaker - so I apologize any mistakes regarding language.:smileysilly:

Environment,

Mac Catalina

Fusion Pro 11.5

Second,

I'm trying to configure my DHCP network with the following config file,

/Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf

what did I found out?

  • it will be overwritten on each start either through the application itself or reboot
  • responsible for this content is the config file /Library/Preferences/VMware Fusion/networking

answer VNET_8_DHCP yes

answer VNET_8_DHCP_CFG_HASH 9857D212E97CE825C661558FBF47E0A9390A9A67

answer VNET_8_DHCP_PARAM_DOMAIN_NAME "vmware.lab"

answer VNET_8_HOSTONLY_NETMASK 255.255.255.0

answer VNET_8_HOSTONLY_SUBNET 10.0.5.0

answer VNET_8_NAT yes

answer VNET_8_VIRTUAL_ADAPTER yes

answer VNET_8_VIRTUAL_ADAPTER_ADDR 10.0.5.1

  • regarding these parameters above - has anybody seen a complete list of all parameters to set up all of them below?
    • custom ip-range
    • custom router
    • custom dns
  • I've tried to use Dave's approach to double the section (see 'input' below)
  • before, I switched to "configure" mode,
./vmnet-cli --configure ; ... --stop ; insert new config ; --start
  • 'input' or extended content of /Library/Preferences/VMware Fusion/vmnet8/dhcpd.conf

# Written at: 10/29/2019 21:49:25

allow unknown-clients;

default-lease-time 1800;                # default is 30 minutes

max-lease-time 7200;                    # default is 2 hours

subnet 10.0.5.0 netmask 255.255.255.0 {

range 10.0.5.128 10.0.5.254;

option broadcast-address 10.0.5.255;

option domain-name-servers 10.0.5.2;

option domain-name "vmware.lab";

default-lease-time 1800;                # default is 30 minutes

max-lease-time 7200;                    # default is 2 hours

option netbios-name-servers 10.0.5.2;

option routers 10.0.5.2;

}

host vmnet8 {

hardware ethernet 00:XX:XX:XX:XX:08;

fixed-address 10.0.5.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 10.0.5.0 netmask 255.255.255.0 {

range 10.0.5.10 10.0.5.50;

option broadcast-address 10.0.5.55;

option domain-name-servers 10.0.5.5;

option domain-name "vmware.lab";

default-lease-time 1800;                # default is 30 minutes

max-lease-time 7200;                    # default is 2 hours

option netbios-name-servers 10.0.5.5;

option routers 10.0.5.5;

}

host lnx-srv-rhl-01 {

    hardware ethernet 00:XX:XX:XX:X:XX;

    fixed-address 10.0.5.10;

}

  • result, file will be overwritten each time
  • but I made good experience with the config input file "/Library/Preferences/VMware Fusion/networking"- so a list of parameters would be more than welcome!

Third,

to make sure that the VMware Host can resolve virtual machines with fqdn - how should I configure my resolver on the mac?

Can I put the DNS of VMware into my DNS list? 

Fourth,

why do we not have the beautiful virtual network editor from Workstation Pro in Fusion Pro included?

Help is much appreciated! Heart

Thanks a million!

0 Kudos
0 Replies