I have four networks on my machine:
- 192.168.20.0/24 wired (connected only at work)
- 192.168.20.0/24 wireless (connected only at home)
- 192.168.132.0/24 VMWare's NAT
- 192.168.238.0/24 VMWare's host-only
My OS X (10.5) seems to prefer to use VMWare's NAT over my Wireless network for machinename.local. Is there any way to change the preference baring shutting down the VMWare interfaces?
In Windows, have you tried using Run > "msconfig" to disable the "mDNSResponder" service (I believe that gets installed via iTunes)? If it's running, then I'm guessing the Bonjour traffic is being generated from Windows itself.
Otherwise, I would try the steps in this guide.
In VMWare, open the settings for the virtual machine you're using. You need to change the "Network" settings to use bridge mode, instead of NAT.
To do so, as the relevant paragraph from the above website states:
Have you checked your routing table to see which interface is preferred for publishing to the Zeroconf multicast group?
Will return all the routing information for reserved multicast groups. Look for an entry for 224.0.0.251; this is the group used for MDNS. If there isn't a specific entry for this group, then check the entry for 224.0.0.0 with the most specific mask. It may be bound to your VMWare interface, or if multiple routes are installed, the VMWare one may have the lowest metric.
Assuming that this is the problem, a variant of the following command (run as root):
Where 'ra0' is the devicename of your wireless interface will install a specific route forcing traffic for the Zeroconf group out via your wireless interface. This is obviously manual configuration that probably won't persist across a reboot; I'm not that familiar with OS X. Can anyone advise on the 'preferred' way of modifying the host routing table under OS X?