mjbryq
Last Updated: February 25, 2016
·
5.177K
· sigkate
7c8b5d9c9d3211d6c5c53e73e7256832

Change VMWare Fusion 6 NAT IP space

I ran into a problem where the VMWare Fusion default NAT address space clashed with the VPN for our dev environment. For reference, with VMWare Fusion 6, the files are located in:

$ /Library/Preferences/VMware Fusion

To change the default address range for NAT, you need to change the settings for vmnet8 in the following files:

networking
vmnet8/dhcpd.conf
vmnet8/nat.conf

networking

change the following two lines to match your desired network configuration

answer VNET_8_HOSTONLY_NETMASK 255.255.255.0
answer VNET_8_HOSTONLY_SUBNET 172.31.213.0

vmnet8/dhcpd.conf

change your subnet and host entries to match your desired network configuration

subnet 172.31.213.0 netmask 255.255.255.0 {
        range 172.31.213.128 172.31.213.254;
        option broadcast-address 172.31.213.255;
        option domain-name-servers 172.31.213.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 172.31.213.2;
        option routers 172.31.213.2;
}
host vmnet8 {
        hardware ethernet 00:50:56:C0:00:08;
        fixed-address 172.31.213.1;
        option domain-name-servers 0.0.0.0;
        option domain-name "";
        option routers 0.0.0.0;
}

vmnet8/nat.conf

change your ip and netmask entries to match your desired network configuration

# NAT gateway address
ip = 172.31.213.2
netmask = 255.255.255.0
Say Thanks
Respond