New to FreeBSD issues with multicast DNS.
Joe Dunn
me at joedunn.com
Fri Apr 18 18:44:57 UTC 2008
>>>>> Joe Dunn writes:
> Joe> Hi All,
>
> Joe> I'm new to FreeBSD, but I am running into an issue I can't seem to
> solve
> Joe> after a few days.
>
> Joe> I have a FreeBSD 7.0 amd64 set up. I installed mt-daapd/avahi from
> ports.
> Joe> For some reason, I can see the share on the fileserver but not on
> the
> Joe> network. Its like everything just stops when it get to the em0
> (interface
> Joe> plugged into the switch).
>
> Joe> I can browse multicast dns locally as seen below
>
> Joe> [root at freebsd /usr/ports]# avahi-browse _daap._tcp
> Joe> + em0 IPv4 freebsd _daap._tcp local
>
> I didn't use Mac. I've a FreeBSD 7.0-RELEASE (amd64) + Ubuntu Linux
> 8.04 (development/amd64) network at my place.
>
> How about doing host name resolution over mDNS using
> avahi-resolve-host-name or similar utility in your Mac ? Also, start a
> tcpdump on em0 at FreeBSD end, to see if it receives any mDNS request ?
>>> [root at freebsd /home/jdunn]# less daap_dump.txt |grep mdns
>>> 14:21:29.796764 IP freebsd.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)
>>> 14:21:30.798656 IP freebsd.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)
>>> 14:21:32.800467 IP freebsdt.mdns > 224.0.0.251.mdns: 0 [2a] PTR (QM)?
_daap._tcp.local. (96)
>>> From my mac the only mulitcast traffic my mac see's is from my airport
extreme with a USB harddrive attached
>>> 14:41:47.728675 IP 192.168.1.1.afpovertcp > 192.168.1.194.51494: F
123:123(0) ack 123 win 34816 <nop,nop,timestamp 9 402020814>
>
>
> It also works, when any Windows box running Bonjour service, joins the
> network.
>
>
> [snip]
>
> Joe> mbp:~ jdunn$ mDNS -B _daap._tcp
> Joe> Browsing for _daap._tcp
> Joe> Talking to DNS SD Daemon at Mach port 4099
>
>
> Joe> If i have itunes running on either of my macs it shows up during
> this
> Joe> request.
>
> > >Does you iTunes also show up on FreeBSD end, hmm..?
>
>>> Sure does, see below
>>> [root at freebsd /home/jdunn]# avahi-browse _daap._tcp
>> >+ em0 IPv4 Macbookpro?s Music_PW
_daap._tcp local
>>> + em0 IPv4 freebsd
_daap._tcp local
> HTH
> --
> Ashish Shukla आशीष शुक्ल
> http://wahjava.wordpress.com/
> ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
>
More information about the freebsd-questions
mailing list