I'm trying to replicate a computer lab environment on my Mac, and I need the gateway to be located at an address other than the one that VMWare wants to set up. I know how to create a static IP for a VM, but I need to adjust the option routers setting in /Library/Preferences/VMWare Fusion/vmnet2/dhcpd.conf. Is there a setting in /Library/Preferences/VMWare Fusion/networking to allow this? Is there something I can put before or after the "DO NOT MODIFY" section of dhcpd.conf that will override the settings within that section?
Barring that, is there a way to prevent VMWare from re-writing the dhcpd.conf file after I make a change? I've tried fooling it in various ways, including re-generating the SHA1 hash in the networking file and resetting the modification time of the dhcpd.conf to the original time, without success.
Here are my current settings:
subnet 10.10.0.0 netmask 255.255.0.0 {
range 10.10.128.0 10.10.255.254;
option broadcast-address 10.10.255.255;
option domain-name-servers 10.10.0.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 10.10.0.2;
option routers 10.10.0.2;
}
host vmnet2 {
hardware ethernet 00:50:56:C0:00:02;
fixed-address 10.10.0.1;
option domain-name-servers 0.0.0.0;
option domain-name "";
option routers 0.0.0.0;
}
And I'm trying to change the gateway from 10.10.0.2 to 10.10.1.250. Maybe VMWare requires that the first IP be the host and the second be the gateway, and re-writes it if not?
Thanks in advance,
Dave