mDNS - printer does not responde but avahi reflector works fine

Hi all.

I setup an avahi mDNS reflector between my main (br-lan) and IoT VLAN (br-iot). The detection of IoT devices like Chromecast works fine. But my printer does not answer on a multicast requests.

That is the situation:
avahi-browse is fine:

  • br-iot IPv4 EPSON WF-2010 Series-1B4EE5 _http._tcp local
  • br-iot IPv4 EPSON WF-2010 Series-1B4EE5 _printer._tcp local
  • br-iot IPv4 EPSON WF-2010 Series-1B4EE5 _pdl-datastream._tcp local

Requests from my laptop will be reflected from br-lan to br-iot:

11:14:39.024198 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0*- [0q] 3/0/0 PTR FFYD103PPLJQ._rdlink._tcp.local., OPT UDPsize=1440, TXT "model=D79AP" (136)
11:14:52.715949 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 PTR (QM)? _ipp._tcp.local. (33)
11:14:52.716446 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 PTR (QM)? _uscan._tcp.local. (35)
11:14:52.717285 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 PTR (QM)? _ipps._tcp.local. (34)
11:14:52.717775 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 PTR (QM)? _uscans._tcp.local. (36)
11:14:52.774621 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 60 [2q] [2au] PTR (QU)? _alljoyn._tcp.local. PTR (QU)? _alljoyn._udp.local. (213)
11:14:52.775119 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 61 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (213)
11:14:52.776511 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 62 [2q] [2au] PTR (QU)? _alljoyn._tcp.local. PTR (QU)? _alljoyn._udp.local. (228)
11:14:52.776715 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 63 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (213)
11:14:52.847169 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 64 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (213)
11:14:52.848647 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 65 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (238)
11:14:52.868672 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 ANY (QM)? Dell-7706.local. (33)
11:14:52.965770 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 66 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (238)
11:14:52.969217 IP OpenWrt.muc.lan.45682 > 224.0.0.251.5353: 67 [2q] [2au] PTR (QU)? _alljoyn._udp.local. PTR (QU)? _alljoyn._tcp.local. (238)
...

Also answers from my printer issued by avahi-browse -a will be reflected back to br-lan from br-iot:

11:20:02.319439 IP6 fe80::1fa2:7e5b:fdbe:bcd3.5353 > ff02::fb.5353: 0*- [0q] 2/0/9 PTR WohnzimmerTV._androidtvremote2._tcp.local., PTR 6_WohnzimmerTV._philipstv_s_rpc._tcp.local. (313)
11:20:02.408579 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0*- [0q] 4/0/0 PTR EPSON WF-2010 Series-1B4EE5._http._tcp.local., (Cache flush) TXT "", (Cache flush) SRV EPSON1B4EE5-1B4EE5.local.:80 0 0, (Cache flush) A 192.168.175.179 (138)
11:20:02.410213 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 [2q] PTR (QM)? _printer._tcp.local. PTR (QM)? _pdl-datastream._tcp.local. (59)
11:20:02.519406 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0*- [0q] 6/0/0 PTR EPSON WF-2010 Series-1B4EE5._printer._tcp.local., (Cache flush) TXT "txtvers=1" "priority=30" "ty=EPSON WF-2010 Series" "usb_MFG=EPSON" "usb_MDL=WF-2010 Series" "product=(EPSON WF-2010 Series)" "pdl=raw" "qtotal=1" "adminurl=http://EPSON1B4EE5-1B4EE5.local.:80/" "note=", (Cache flush) SRV EPSON1B4EE5-1B4EE5.local.:9100 0 0, (Cache flush) TXT "txtvers=1" "priority=50" "ty=EPSON WF-2010 Series" "usb_MFG=EPSON" "usb_MDL=WF-2010 Series" "product=(EPSON WF-2010 Series)" "pdl=raw" "rp=auto" "qtotal=1" "adminurl=http://EPSON1B4EE5-1B4EE5.local.:80/" "note=", (Cache flush) SRV EPSON1B4EE5-1B4EE5.local.:515 0 0, PTR EPSON WF-2010 Series-1B4EE5._pdl-datastream._tcp.local. (588)
11:20:03.089760 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 [9a] PTR (QM)? _services._dns-sd._udp.local. (257)
11:20:03.210679 IP OpenWrt.muc.lan.5353 > 224.0.0.251.5353: 0 [9a] [9q] PTR (QM)? _googlecast._tcp.local. PTR (QM)? _http._tcp.local. PTR (QM)? _rsync._tcp.local. PTR (QM)? _ssh._tcp.local. PTR (QM)? _smb._tcp.local. PTR (QM)? _nfs._tcp.local. PTR (QM)? _nut._tcp.local. PTR (QM)? _philipstv_s_rpc._tcp.local. PTR (QM)? _androidtvremote2._tcp.local. (432)

My configuration is standard and everything is reflected it should not be a firewall issue. UDP 5353 is opened.

[server]
#host-name=foo
#domain-name=local
use-ipv4=yes
use-ipv6=no
check-response-ttl=no
use-iff-running=no
allow-interfaces=br-lan,br-iot

[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
#publish-dns-servers=192.168.1.1
#publish-resolv-conf-dns-servers=yes

[reflector]
enable-reflector=yes
reflect-ipv=no

[rlimits]
#rlimit-as=
rlimit-core=0
rlimit-data=4194304
rlimit-fsize=0
rlimit-nofile=30
rlimit-stack=4194304
rlimit-nproc=3

But the printer does not answer broadcasts reflected...no reaction...

If I connect the printer to the same network it seems that it tries to connect to the host directly...that is for reason blocked by the firewall...is that common?

Answer of an mDNS request in the same VLAN.

11:53:33.876718 IP EPSON1B4EE5.muc.lan.3289 > Dell-7706.muc.lan.56545: UDP, length 14
11:53:33.897575 IP EPSON1B4EE5.muc.lan.3702 > Dell-7706.muc.lan.64021: UDP, length 1158
11:53:33.908706 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [S], seq 2400126636, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
11:53:33.910644 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [S.], seq 787517275, ack 2400126637, win 5840, options [mss 1460,nop,nop,sackOK,nop,wscale 1], length 0
11:53:33.911849 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [.], ack 1, win 1026, length 0
11:53:33.912191 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [P.], seq 1:197, ack 1, win 1026, length 196: HTTP: POST /WSD/DEVICE HTTP/1.1
11:53:33.912191 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [P.], seq 197:842, ack 1, win 1026, length 645: HTTP
11:53:33.915778 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [.], ack 197, win 3456, length 0
11:53:33.917611 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [.], ack 842, win 4101, length 0
11:53:33.928540 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [P.], seq 1:101, ack 842, win 4101, length 100: HTTP: HTTP/1.1 200 OK
11:53:33.930669 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [P.], seq 101:106, ack 842, win 4101, length 5: HTTP
11:53:33.946804 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [.], ack 106, win 1026, length 0
11:53:33.949702 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [.], seq 106:1566, ack 842, win 4101, length 1460: HTTP
11:53:33.950340 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [P.], seq 1566:2600, ack 842, win 4101, length 1034: HTTP
11:53:33.951368 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [.], ack 2600, win 1026, length 0
11:53:33.952038 IP EPSON1B4EE5.muc.lan.3702 > Dell-7706.muc.lan.64021: UDP, length 1158
11:53:33.955796 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [F.], seq 842, ack 2600, win 1026, length 0
11:53:33.995353 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [.], ack 843, win 4101, length 0
11:53:34.328498 IP EPSON1B4EE5.muc.lan.80 > Dell-7706.muc.lan.61808: Flags [F.], seq 2600, ack 843, win 4101, length 0
11:53:34.330430 IP Dell-7706.muc.lan.61808 > EPSON1B4EE5.muc.lan.80: Flags [.], ack 2601, win 1026, length 0
11:53:36.732369 IP EPSON1B4EE5.muc.lan.3289 > Dell-7706.muc.lan.56545: UDP, length 14
11:53:39.798008 IP EPSON1B4EE5.muc.lan.3289 > Dell-7706.muc.lan.56545: UDP, length 14
11:53:43.076432 IP EPSON1B4EE5.muc.lan.3289 > Dell-7706.muc.lan.56545: UDP, length 14

Any ideas what can cause this?

Did you ever find a solution?

A workaround only:I connected the printer via IP or domain name directly and not using the automatic detection. This works fineā€¦