VMware Communities
sgmelin
Enthusiast
Enthusiast

Network question

Hi,

i run a MBP with WLAN. I can not use a WebServer running in a vm on my Mac. Also a ping will not run. I can use the local network and the internet from inside a vm. But i can not browse my local network. I can use my local fileserver with ip address, but not with the netbios name.

So, i guess, the nat router from vmware is hidden from my Mac, but that don´t let me use the appliances from VMTN.

Any suggestions, how to use a Webserver within a vm from my Mac??

Reply
0 Kudos
4 Replies
admin
Immortal
Immortal

Hello,

You'll need to set up port forwarding in the VMware NAT daemon.

Please read the following 2 sections of the VMware Workstation 5.5 documentation for details of how NAT mode networking works, and advanced configuration for NAT:

http://www.vmware.com/support/ws55/doc/ws_net_nat.html

http://www.vmware.com/support/ws55/doc/ws_net_nat_advanced.html

Read the Linux sections, and apply those configuration changes to the following file on your MBP:

/Library/Application Support/VMware Fusion/nat.conf

Then restart the VMware NAT daemon. The easiest way to restart the VMware NAT daemon right now is to reboot the MBP.

Or you can try the more advanced way if you have "root" access on Terminal.app on your MBP:

\# cd /Library/Application Support/VMware Fusion

\# sudo killall vmnat

\# sudo sh -c "./vmnat -c ./nat.conf vmnet8 > /var/log/vmnat.log 2>&1 &"

Thanks!

Reply
0 Kudos
sgmelin
Enthusiast
Enthusiast

Hi,

thanks for that anwer. I will look into this.

Reply
0 Kudos
bgertzfield
Commander
Commander

Then restart the VMware NAT daemon. The easiest way

to restart the VMware NAT daemon right now is to

reboot the MBP.

You can always run:

sudo /Library/Application\ Support/VMware\ Fusion/boot.sh

to kill all the Fusion daemons, unload the kernel modules, reload the kernel modules, and start the daemons.

Reply
0 Kudos
rcardona2k
Immortal
Immortal

Even a Java GUI version of vmnetcfg is looking really attractive about now.

Reply
0 Kudos