편집 : 결국 나는 끝났어Pulseaudio를 사용하여 네트워크를 통해 원격 Raspberry Pi로 오디오 스트림을 보내는 다른 방법 사용(Avahi와 관련되지 않은 방법)... 그래서 저는 이 질문에 흥미를 잃었습니다. 문제가 매우 흥미롭다고 생각하지 않는 한 답변하지 마세요. 어쨌든 내 초기 시도가 누군가에게 도움이 될 경우를 대비해 여기에 남겨 두겠습니다.
저는 Rapsberry Pi를 Pulseaudio 원격 싱크로 설정하고 있습니다. 동일한 LAN의 다른 호스트에서 'export PULSE_SERVER="[2001:470:ca90:4:ba27:ebff:fee2:ada9]" && mplayer sound.mp3'를 사용하면 원격으로 음악을 재생할 수 있습니다. 지금까지는 매우 훌륭했습니다. IPv4에서도 잘 작동합니다. 클라이언트 호스트는 Debian Jessie이고, 서버 호스트는 Raspbian Jessie입니다.
Pulseaudio는 시스템 모드에서 작동합니다. 헤드리스 싱크는 선호되는 몇 안 되는 경우 중 하나입니다. system.pa에 추가된 사항은 다음과 같습니다:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;10.4.0.0/24;2001:470:ca90:4:21b:21ff:feaa:99c9
load-module module-zeroconf-publish
프로덕션에서 10.4.0.0/24를 한 번 제거하겠습니다. 하지만 지금은 이 서브넷의 모든 스테이션에서 테스트할 수 있기를 원합니다.
원격 Pulseaudio 싱크를 선택하려면 서버의 avahi가 해당 서비스를 올바르게 광고해야 합니다. 이것이 지금 우리가 있는 곳입니다.
서버 호스트에서 로컬로 Pulseaudio 서비스가 올바르게 광고되는 것 같습니다.
root@hornwall:~# avahi-browse -a -t
+ eth0 IPv6 pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo PulseAudio Sound Sink local
+ eth0 IPv6 pulse@hornwall: bcm2835 ALSA Analog Stereo PulseAudio Sound Sink local
+ eth0 IPv4 pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo PulseAudio Sound Sink local
+ eth0 IPv4 pulse@hornwall: bcm2835 ALSA Analog Stereo PulseAudio Sound Sink local
+ eth0 IPv6 pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo PulseAudio Sound Source local
+ eth0 IPv4 pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo PulseAudio Sound Source local
+ eth0 IPv6 pulse@hornwall PulseAudio Sound Server local
+ eth0 IPv4 pulse@hornwall PulseAudio Sound Server local
+ eth0 IPv6 hornwall [b8:27:eb:e2:ad:a9] Workstation local
+ eth0 IPv4 hornwall [b8:27:eb:e2:ad:a9] Workstation local
그러나 동일한 네트워크의 다른 호스트는 Pulseaudio 서비스를 볼 수 없습니다.
root@Kitandara:/etc/pulse# avahi-browse -a -t
+ eth1 IPv6 amour Remote Disk Management local
+ eth1 IPv4 amour Remote Disk Management local
+ eth1 IPv6 amour [54:04:a6:67:9b:53] Workstation local
+ eth1 IPv6 Kitandara [00:1b:21:aa:99:c9] Workstation local
+ eth1 IPv4 amour [54:04:a6:67:9b:53] Workstation local
+ eth1 IPv4 Kitandara [00:1b:21:aa:99:c9] Workstation local
+ eth2 IPv6 Kitandara [00:1b:21:aa:99:cd] Workstation local
+ eth2 IPv4 Kitandara [00:1b:21:aa:99:cd] Workstation local
root@amour:~# avahi-browse -a -t
+ eth0 IPv6 amour Remote Disk Management local
+ eth0 IPv4 amour Remote Disk Management local
+ eth0 IPv6 amour [54:04:a6:67:9b:53] Workstation local
+ eth0 IPv6 Kitandara [00:1b:21:aa:99:c9] Workstation local
+ eth0 IPv4 amour [54:04:a6:67:9b:53] Workstation local
+ eth0 IPv4 Kitandara [00:1b:21:aa:99:c9] Workstation local
root@waga:~# avahi-browse -a -t
+ eth0 IPv6 waga Remote Disk Management local
+ eth0 IPv4 waga Remote Disk Management local
+ eth0 IPv6 waga [54:04:a6:67:9b:b7] Workstation local
+ eth0 IPv4 waga [54:04:a6:67:9b:b7] Workstation local
이 세 가지 예는 다른 워크스테이션입니다. 이상하게도 그 중 하나는 다른 워크스테이션을 보지도 못합니다. 하지만 저는 이 워크스테이션도 비슷하게 구성되어 있다고 생각합니다.
관련된 4개의 호스트(Raspberry Pi 및 4개의 표준 Intel 컴퓨터)는 모두 라우터가 없는 동일한 이더넷 세그먼트에 있습니다. IPv6 및 IPv4 연결 모두 정상입니다. 두 호스트 모두에 iptables가 없습니다. 모든 호스트는 사용 가능한 모든 인터페이스에서 IPv4와 IPv6를 모두 사용하는 유사한 Avahi 구성을 갖습니다.
root@Kitandara:/etc/pulse# grep -v ^# /etc/avahi/avahi-daemon.conf
[server]
use-ipv4=yes
use-ipv6=yes
ratelimit-interval-usec=1000000
ratelimit-burst=1000
[wide-area]
enable-wide-area=yes
[publish]
[reflector]
[rlimits]
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=768
rlimit-stack=4194304
rlimit-nproc=3
음... 이제 막혔어요. 어느 방향으로 재촉해야 할까요?
@grawity의 제안에 따라 에테르 전역에 어떤 일이 벌어지고 있는지에 대한 통찰력이 있습니다...
Pulseaudio 싱크의 eth0을 수신하고 거기서 avahi 데몬을 다시 시작하면 예상되는 MDNS 패킷이 멋지게 버스트됩니다.
56 12.938605 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 450 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
57 12.939394 10.4.0.202 -> 224.0.0.251 MDNS 430 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
58 12.994690 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 849 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
59 12.995632 10.4.0.202 -> 224.0.0.251 MDNS 829 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
60 13.019775 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 652 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
61 13.020848 10.4.0.202 -> 224.0.0.251 MDNS 632 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
62 13.049454 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 738 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
63 13.050227 10.4.0.202 -> 224.0.0.251 MDNS 718 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
64 13.188819 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 450 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
65 13.189735 10.4.0.202 -> 224.0.0.251 MDNS 430 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
66 13.245302 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 849 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
67 13.246325 10.4.0.202 -> 224.0.0.251 MDNS 829 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
68 13.270384 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 652 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
69 13.271250 10.4.0.202 -> 224.0.0.251 MDNS 632 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
70 13.299927 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 738 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
71 13.300792 10.4.0.202 -> 224.0.0.251 MDNS 718 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
72 13.439241 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 450 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
73 13.440068 10.4.0.202 -> 224.0.0.251 MDNS 430 Standard query 0x0000 ANY hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local, "QM" question ANY pulse@hornwall._pulse-server._tcp.local, "QM" question
74 13.496557 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 849 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
75 13.497498 10.4.0.202 -> 224.0.0.251 MDNS 829 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local, "QM" question ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question
76 13.521724 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 652 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
77 13.522523 10.4.0.202 -> 224.0.0.251 MDNS 632 Standard query 0x0000 ANY pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local, "QM" question ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
78 13.551102 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 738 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
79 13.551881 10.4.0.202 -> 224.0.0.251 MDNS 718 Standard query 0x0000 ANY pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local, "QM" question
80 13.640087 10.4.0.202 -> 224.0.0.251 MDNS 243 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 A, cache flush 10.4.0.202 PTR _workstation._tcp.local
81 13.641352 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 247 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 PTR _workstation._tcp.local
82 13.683214 10.4.0.202 -> 224.0.0.251 MDNS 394 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
83 13.684306 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 414 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
84 13.700770 10.4.0.202 -> 224.0.0.251 MDNS 849 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
85 13.702406 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 869 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
86 13.725697 10.4.0.202 -> 224.0.0.251 MDNS 643 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
87 13.727151 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 663 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
88 13.762306 10.4.0.202 -> 224.0.0.251 MDNS 784 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local
89 13.763689 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 804 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local
90 13.872390 10.4.0.202 -> 224.0.0.251 MDNS 187 Standard query response 0x0000 PTR, cache flush hornwall.local PTR, cache flush hornwall.local
91 13.873522 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 174 Standard query response 0x0000 PTR, cache flush hornwall.local
92 13.895013 10.4.0.202 -> 224.0.0.251 MDNS 93 Standard query response 0x0000 HINFO, cache flush ARMV6L LINUX
93 13.895711 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 113 Standard query response 0x0000 HINFO, cache flush ARMV6L LINUX
94 14.685743 10.4.0.202 -> 224.0.0.251 MDNS 243 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 A, cache flush 10.4.0.202 PTR _workstation._tcp.local
95 14.686990 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 247 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 PTR _workstation._tcp.local
96 14.727907 10.4.0.202 -> 224.0.0.251 MDNS 394 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
97 14.729184 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 414 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
98 14.745767 10.4.0.202 -> 224.0.0.251 MDNS 849 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
99 14.747376 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 869 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
100 14.769576 10.4.0.202 -> 224.0.0.251 MDNS 629 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
101 14.770904 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 649 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
102 14.807296 10.4.0.202 -> 224.0.0.251 MDNS 841 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
103 14.809329 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 861 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
104 15.917331 10.4.0.202 -> 224.0.0.251 MDNS 231 Standard query response 0x0000 PTR, cache flush hornwall.local A, cache flush 10.4.0.202 PTR, cache flush hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9
105 15.918460 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 202 Standard query response 0x0000 PTR, cache flush hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9
106 15.939179 10.4.0.202 -> 224.0.0.251 MDNS 93 Standard query response 0x0000 HINFO, cache flush ARMV6L LINUX
107 15.942478 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 113 Standard query response 0x0000 HINFO, cache flush ARMV6L LINUX
108 16.730511 10.4.0.202 -> 224.0.0.251 MDNS 243 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 A, cache flush 10.4.0.202 PTR _workstation._tcp.local
109 16.731652 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 247 Standard query response 0x0000 TXT, cache flush PTR hornwall [b8:27:eb:e2:ad:a9]._workstation._tcp.local SRV, cache flush 0 0 9 hornwall.local AAAA, cache flush 2001:470:ca90:4:ba27:ebff:fee2:ada9 PTR _workstation._tcp.local
110 16.772372 10.4.0.202 -> 224.0.0.251 MDNS 394 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
111 16.773610 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 414 Standard query response 0x0000 TXT, cache flush PTR pulse@hornwall._pulse-server._tcp.local SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-server._tcp.local
112 16.789610 10.4.0.202 -> 224.0.0.251 MDNS 835 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
113 16.791221 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 855 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
114 16.814388 10.4.0.202 -> 224.0.0.251 MDNS 714 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
115 16.815894 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 734 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR _pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-source._tcp.local
116 16.850830 10.4.0.202 -> 224.0.0.251 MDNS 827 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
117 16.852697 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 847 Standard query response 0x0000 TXT, cache flush SRV, cache flush 0 0 4713 hornwall.local PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local PTR pulse@hornwall: bcm2835 ALSA Analog Stereo._pulse-sink._tcp.local
118 16.891486 10.4.0.202 -> 224.0.0.251 MDNS 147 Standard query response 0x0000 PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local
119 16.892429 2001:470:ca90:4:ba27:ebff:fee2:ada9 -> ff02::fb MDNS 167 Standard query response 0x0000 PTR pulse@hornwall: Sound Blaster X-Fi Go! Pro Analog Stereo._pulse-sink._tcp.local
포트 5353에서 ff02::fb 및 224.0.0.251로 향하는 패킷은 이론상으로는 발생해야 하는 일이므로 좋습니다.
그러나 그 동안 다른 어떤 스테이션도 단일 MDNS 패킷을 본 적이 없습니다.
잠시 후 워크스테이션에서:
root@amour:~# tshark -i eth0 -f "port 5353"
1 0.000000 2001:470:ca90:4:21b:21ff:feaa:99c9 -> ff02::fb MDNS 140 Standard query 0x0000 PTR _pulse-sink._tcp.local, "QM" question PTR _non-monitor._sub._pulse-source._tcp.local, "QM" question
2 0.000031 10.4.0.124 -> 224.0.0.251 MDNS 120 Standard query 0x0000 PTR _pulse-sink._tcp.local, "QM" question PTR _non-monitor._sub._pulse-source._tcp.local, "QM" question
그리고 로컬 라우터에서:
root@arua:~# tshark -i vlan4 -f "port 5353"
1 0.000000 2001:470:ca90:4:21b:21ff:feaa:99c9 -> ff02::fb MDNS 140 Standard query 0x0000 PTR _pulse-sink._tcp.local, "QM" question PTR _non-monitor._sub._pulse-source._tcp.local, "QM" question
2 0.000135 10.4.0.124 -> 224.0.0.251 MDNS 120 Standard query 0x0000 PTR _pulse-sink._tcp.local, "QM" question PTR _non-monitor._sub._pulse-source._tcp.local, "QM" question
그러나 여기에 광고된 Pulseaudio 싱크는 위의 대규모 버스트를 방송하는 Raspberry pi가 아닌 다른 스테이션에 속합니다. 다른 싱크 광고 스테이션에서 avahi를 다시 시작하면 이전 호스트(amour & arua) 모두에 올바른 MDNS 버스트가 표시됩니다... 하지만 다른 워크스테이션(waga)이나 Raspberry Pi(hornwall)에는 표시되지 않습니다. amour와 waga가 매우 유사하게 구성되어 있기 때문에 이것은 이상합니다. 비록 뭔가가 갈라졌을 수도 있습니다.
이제 왜 다른 스테이션에서는 Raspberry Pi가 브로드캐스팅하는 것으로 보이는 MDNS 패킷을 볼 수 없습니까? 왜 두 스테이션만 다른 스테이션에서 브로드캐스트하는 싱크 광고 MDNS 패킷을 볼 수 있습니까? 수신측에서 구성이 잘못되었을 수 있습니까?