I'm running VMware Fusion on my Mac with an Ubuntu guest VM configured to use NAT for networking. I can access the VM from the host using its DHCP-assigned vmnet8 IP (, but I'd like to be able to access it as ubuntu.local as well, e.g.:

mac:~$ ssh ubuntu.local

I am running the avahi daemon in the guest VM but it doesn't seem to be reaching the Mac.

I found a similar question, but none of the answers really addressed the issue; I don't want to configure the host's DHCP server or ssh config.


how about adding a line like   ubuntu.local

to your /etc/hosts file:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.