vmware fusion network problem

Today, suddenly after rebooting my macbook, I couldn’t connect to my guest machine on the VMWare Fusion. I tried disabling / enabling network to no avail. Luckily I found this blog post which showed me the steps to restart vm. It fixed my problem immediately.

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