I have two machines connected in link local IPv4 over a CAT6 cable. Is there a way from host1 that I can determine host2's IPv4 address?
I'm on an Debian-derivative running kernel 3.2.0-34-generic.
|
I have two machines connected in link local IPv4 over a CAT6 cable. Is there a way from I'm on an Debian-derivative running kernel 3.2.0-34-generic. |
||||
|
Yes, already posted in the comments as a verified solution, but posting as an answer anyway. Try using mDNS. One should install The Avahi set of tools is an mDNS implementation. Summarized, it provides name services via multicast, for both regular host resolving and service discovery. Mac OS X users might recognize this as "Bonjour" and this is how for example iTunes applications find each other (service discovery). However, plain address lookup should work just out of the box. Avahi is triggered in host name lookups because of the settings in
The |
|||
|
|
.localscope. Try usingping host2.local. – gertvdijk Dec 4 '12 at 16:54host2.localvia Avahi. – TK Kocheran Dec 4 '12 at 17:51