mDNS: avahi reflector not reflecting device ip?

Hi,

I have two VLANS

  • VLAN1: 192.168.178.1/24
  • VLAN100: 10.1.100.1/24

Both VLANs are in the same firewall zone with forwarding enabled, so devices in both VLANs can talk to each other.

I am trying to find a device (kueche_ofen_kuechenzeile_wled) on VLAN100 from my phone, which is on VLAN1, via mDNS.

I have set up avahi-daemon and I can see that when an mDNS-query occurs on VLAN1 I do get a response from the router saying (to my understanding) that the device I am looking for exists, but not where it is.

The next screenshot shows the answer when both phone and the device are on the same VLAN (VLAN100):

The reply contains the Address field and the phone is happy to have found the device.

What did I misconfigure? I have uploaded the pcapng here in case anybody wants to take a look.

  • Packets 1-39: The phone was on VLAN1, the device on VLAN100.
  • Packets 40-65: Both phone and device were on VLAN100

Glad for any help!

root@OpenWrt:~# cat /etc/avahi/avahi-daemon.conf |grep -v ^#
[server]
use-ipv4=yes
use-ipv6=no
check-response-ttl=no
deny-interfaces=wan

[publish]
publish-addresses=yes
publish-hinfo=yes
publish-workstation=no
publish-domain=yes
publish-dns-servers=10.1.99.2,10.1.99.3

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

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