Ping hostnames using avahi @Ubuntu in VMware. No permission

I have a really weird problem. I have 2 virtual computers running Ubuntu 11.4 in a VMware player. These virtual machines have a bridged connection to my network. Since they use DHCP, it would be easier to let them talk to each other using host names instead of IP addresses.

This is where it becomes a strange situation.

ping 192.168.0.10 //this is machine 1 
ping 192.168.0.11 //this is machine 2

both work like a charm

ping machine1.local  
ping machine2.local

work great in their own system. but ping machine1.local on machine 2 results in "ping: unknown host machine1.local"

After trying and checking everything and getting nothing but a local machine in avahi-browse, I installed wirehark to find out what really happens.

wirehark, avahi-browse. wirehark MDNS AND GOT machine1.local AND machine2.local!!!

GREAT! wirehark, - avahi ...

, , avahi-daemon MDNS, , ...

+3
1

e1000 () . e1000, vmx ethernet. :

ethernet0.virtualDev = "e1000"

( , ethernet0, ethernet1 ..)

, :

:

+3

All Articles