[avahi] Apple computers and name resolution

MDonoughe mdonoughe at bot24.hn.org
Fri Sep 30 13:07:12 PDT 2005


Hello
I have two Linux computers and one iBook that runs OSX 10.4. I have  
recently installed Avahi and gotten it configured on the Linux  
computers. They can see each other over IPv6 and now use IPv6 to make  
connections. I am having problems connecting to the iBook. resolveip,  
run from a Linux box, returns 254.128.0.0 for the address of the  
iBook. The same happens when I try to resolve the name of a Windows  
computer that is using the Apple Bonjour add-on thing. Using  
resolveip to resolve the name of a Linux box, returns the IPv4  
address of that computer(resolveip only does IPv4 addresses). Using  
tcpdump, I see something about a cache flush, and the IPv6 address of  
the laptop. 254.128.0.0 -> fe800000 -> fe80::…. The IPv6 address  
seems to be returned as an IPv4 address, and causes confusion. SSH  
thinks that my iBook is attempting to break in by using a host name  
that doesn't map back to the address the connection originates from.  
I cannot connect to my iBook from a Linux box by using the name of  
the iBook.

Sample IPv6 mDNS transcripts:
iBook resolves the name of a Linux box
20:00:23.035724 IP 192.168.0.3.52294 > 224.0.0.251.5353:  2851+ AAAA?  
ninten.local. (30)
20:00:23.286977 fe80::211:24ff:fe29:dff0.52295 > ff02::fb.5353:  2851 
+ AAAA? ninten.local. (30) [hlim 1]
20:00:23.287936 fe80::201:2ff:fe6a:5298.5353 >  
fe80::211:24ff:fe29:dff0.52295:  2851*- 1/0/0 (58)

Linux box fails to resolve the name of the iBook
20:02:15.961836 IP 192.168.0.1.1760 > 224.0.0.251.5353:  53423 AAAA?  
chrono.local. (30)
20:02:15.962690 IP 192.168.0.3.5353 > 192.168.0.1.1760:  53423*-  
1/0/0 AAAA[|domain]
20:02:15.963254 IP 192.168.0.3.5353 > 224.0.0.251.5353:  0*- [0q]  
1/0/0 (Cache flush) AAAA fe80::211:24ff:fe29:dff0 (52)
20:02:15.966753 IP 192.168.0.1.1760 > 224.0.0.251.5353:  53423 AAAA?  
chrono.local. (30)
20:02:15.969303 IP 192.168.0.3.5353 > 192.168.0.1.1760:  53423*-  
1/0/0 AAAA[|domain]


In the first sample, the iBook successfully runs ping6 and pings the  
Linux box over IPv6. In the second, the Linux box fails to ping the  
iBook. ping exits with the error "connect: Invalid argument." ping6  
does the same.

Before this, I had working mDNS with Apple's mDNSResponder, but only  
over IPv4.


Does anyone have a similar setup that doesn't have this issue?


MDonoughe
http://bot24.hn.org/
mdonoughe at bot24.hn.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/avahi/attachments/20050930/60a4939e/PGP.pgp


More information about the avahi mailing list