$cd /Library/Application Support/VMware Fusion
$sudo ./boot.sh --stopLet's suppose vmnet8 is 172.16.57.1 and vmnet1 is 172.16.163.1.I would like to change the network from 172.16.57.1 to 172.16.16.1 and I would like to specify a virtual machine with a specific IP.We're still in /Library/Application Support/VMware FusionThen:$ grep 172.16.57 *locations:answer VNET_8_HOSTONLY_HOSTADDR 172.16.57.1Then all files in the list must be changed.Then we go into /Library/Application Support/VMware Fusion/vmnet8/Then the same: $ grep 172.16.57 *dhcpd.conf:subnet 172.16.57.0 netmask 255.255.255.0 {dhcpd.conf: range 172.16.57.128 172.16.57.254;dhcpd.conf: option broadcast-address 172.16.57.255;dhcpd.conf: option domain-name-servers 172.16.57.2;dhcpd.conf: option netbios-name-servers 172.16.57.2;dhcpd.conf: option routers 172.16.57.2;nat.conf:ip = 172.16.57.2nat.conf:# or ip = 172.16.57.2/24All of them must be changed.If a specific VM must have a specific IP we go to:/Library/Application Support/VMware Fusion/vmnet8/dhcpd.conf and we add the following:(get the mac from the VM (ipconfig, ifconfig eth0))host myhost { hardware ethernet 00:0C:29:B2:C9:69; fixed-address 172.16.16.16;}Then to renew the ip (ipconfig /release, ipconfig /renew for windows):sudo ifconfig vmnet downsudo ifconfig vmnet upThe last thing is to start the vmware networking:sudo ./boot.sh --startThen to renew the ip inside the VM (ipconfig /release, ipconfig /renew for windows):sudo ifconfig vmnet downsudo ifconfig vmnet up
Remember Me
a@href@title, blockquote@cite, strike
dasBlog theme by Mads Kristensen