VMware Communities
fergusonwilliam
Contributor
Contributor

Workstation to Fusion

hi all,

i have a script that is used to setup networking on VMware Workstation.  I need to convert it to VMware Fusion.  Does anyone know how to do this?  The commands I neet to convert at below.

start /wait vnetlib -- stop nat
start /wait vnetlib -- stop dhcp
start /wait vnetlib -- set vnet vmnet1 addr 192.168.189.0
start /wait vnetlib -- set vnet vmnet1 mask 255.255.255.0
start /wait vnetlib -- update dhcp vmnet1
start /wait vnetlib -- update nat vmnet1
start /wait vnetlib -- update adapter vmnet1
start /wait vnetlib -- start dhcp
start /wait vnetlib -- start nat
thanks
Billf.
0 Kudos
1 Reply
Technogeezer
Immortal
Immortal

Fusion is lacking tools like you're used to in Workstation to perform custom networking configuration - so it doesn't directly have the CLI or GUI equivalents to do work that your scripting wants to do.

However, what you want to do can be done.

Assuming you're running Fusion 4.1.x, to change your vmnet1 address and netmask:

  • Shut down VMware Fusion - this will stop all networking daemons as well.
  • Open the Terminal application, and start a shell.
  • Use sudo to get a root shell
  • Edit the file /Library/Preferences/VMware\ Fusion/networking with your favorite text editor (save a copy away first, just in case you need it)
  • Change the lines with the VNET_1_HOSTONLY_IP_ADDR and VNET_1_HOSTONLY_NETMASK values to what you want
  • Save the file, and close Terminal
  • Restart Fusion
- Paul (Technogeezer)
Editor of the Unofficial Fusion Companion Guides
0 Kudos