Posts

Showing posts from September, 2013

Tweaks for Slow SSH from a Mac to Linux based Fusion VMs Running avahi

I create lots of little VMs in Fusion for doing demos and experiments, and what-not.  To make life a little easier with all these little VMs, I like using avahi to provide automatic mDNS without having to configure the hosts file on my Mac or having to futz around with a DNS.  It makes things really simple as all I have to do is set the host name on the VM machine, and then make sure avahi-daemon is installed and running.  However, there are a few tweaks I need to perform to make sure that avahi works well in this type of a setup. First I disable IPv6 in the VMs.  Fusion doesn't allow IPv6 over it's NAT'ed network as of Fusion 6, so to prevent slow downs due to the Mac trying to connect to the VMs over IPv6, it's best to make sure that the VM isn't using it.  If you allow the VMs to directly connect, then IPv6 is ok, but I don't like to have to have a network attached to my machine just to start up the VMs.  For CentOS 6, if use the procedure at  http://wiki.c