I've configured SAMBA in my Linux VM, and connect to it from my Mac OSX host. The VM is configured to use Shared Networking.
When I have an active network connection on my Mac, then it connects to the SAMBA share without problems. When I don't have an active network connection on my Mac, then...