OPNsense Forum

English Forums => General Discussion => Topic started by: SquishyPandaDev on November 29, 2022, 06:53:09 PM

Title: mDNS on bridge interface fails. No VLANS
Post by: SquishyPandaDev on November 29, 2022, 06:53:09 PM
I have a bridge interface using lan and wireless interfaces. mDNS (tested using chromecast discovery) fails. Internal interface rules are set to allow all incoming. For what little I was able to find out, I think it is getting picked up by NAT. However I can not get NAT to ignore mDNS packets. The traffic does show up in the firewall log as `SINGLE:NO_TRAFFIC`
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: Patrick M. Hausen on November 29, 2022, 07:42:03 PM
Where's your IP address(es) configured? On the physical bridge member(s) or on the bridge itself?

It MUST be on the bridge, otherwise multicast will fail. Documented property of the FreeBSD network stack, not a bug. Working this way since if_bridge(4) was introduced.
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: SquishyPandaDev on November 29, 2022, 08:00:54 PM
IP/DHCP is configured on the bridge interface not it's members. It is why I'm so confused. Shouldn't it just work :shrug:
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: Patrick M. Hausen on November 29, 2022, 08:13:04 PM
Did you set the system tunables as documented here?
https://docs.opnsense.org/manual/how-tos/lan_bridge.html

And does your NAT rule say "source - any" or "source - LAN net"? You need the latter ...
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: SquishyPandaDev on November 29, 2022, 09:18:57 PM
I missed the tunables. I changed them to the correct settings. I also modified the NAT rules to use source 'LAN net'. I can now find Chromecast. Thank you for your help. Oddly though WLAN does not work for Chromecast even though NAT has the same rule for it
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: Patrick M. Hausen on November 29, 2022, 09:25:45 PM
Possibly your access point does not handle multicast correctly, then.
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: SquishyPandaDev on November 29, 2022, 09:41:51 PM
I use a wireless card which forms that second member of the bridge. An wireless ap hocked up to lan works though. So if I can't fix the wireless card, I'll just drop it for a wireless ap
Title: Re: mDNS on bridge interface fails. No VLANS
Post by: Patrick M. Hausen on November 29, 2022, 09:42:32 PM
Wireless support is not OPNsense's strong point  ;)