Avahi Problem pFsense

Hi Guys,

I am having trouble casting from my Phone on my normal LAN/subnet/vlan to my IOT LAN/subnet/vlan and from a computer connected on my VPN/subnet/vlan to my IOT LAN/subnet/vlan.

I am using pFsense for my firewall, an HP Procurve for my switch and a Unifi AP.

I have IGMP enabled on my switch and my AP.
If the phone and the Chromecast are on the same AP I can cast to the Chromecast. If they are on a differant AP I cannot see them. I cannot see them from my VPN interface. Something seems to be wrong with how I setup Avahi.

I have Avahi setup for all 3 interfaces. I have a firewall rule which allows any traffic from either my LAN or my VPN interface to my IOT Lan. For now my IOT LAN just has a default allow any rule.

I also setup IGMP proxy on my pFsense box. Im not sure if this is required and only did this after it wasn’t working correctly.
Any help is welcome! :slight_smile:

I followd Tom’s videos

But cant find the solution.



Are you sure the HP Procurve is allowing the IGMP traffic? You might have to do some packet capture to see where it is being blocked.

I see groups on both VLANs and I see that the QUERIER is the router. Are you sure that that is the direction you would dive into to try and solve the problem?

Hello,

one question regarding Avahi. I have a situation where LAN interface is not present in Interfaces list of Avahi configration. I see ony WAN and VLAN. How is that possible?
avahi_interfaces

Thanks and best regards.
Jure

Welcome to the forums, I have not used Avahi in a long time, if no one here has a solution you may wan to post the questing in the Netgate Forums.

Do you have any alternatives for mDNS?

Best regards,
Jure

What is your goal and what are you trying to get working?

In my primary VLAN (1) i have trusted devices and in IOT VLAN (3) i have all IOT devices and guest users. Reason of trying to use Avahi is network discovery between VLANs. HomeAssistant (vlan1) → IOT devices (vlan3).

Best regards,
jure

I have found that there is no guarantee that the IoT devices will support working across subnets even with Avahi.

So 5 years later I’ve learned several lessons here. Number 1, Tom is right:

At home, I just gave up and let my phones and laptops talk on the same VLAN as my IOT devices and my wife is much happier now.

At work, I found it easier to just CAPWAP one of the SSIDs so that whatever was on that network could multicast properly on my distro switch in the datacenter. This introduced latency, but things generally worked better. Supporting AppleTVs in classrooms was an adventure.

1 Like

Ok, thanks for now.

Best regards,
Jure