mDNS for multiple VLANs not routed by pfSense
-
I have a L3 switch that is handling most of the routing in my homelab environment. I have a dedicated VLAN for IoT devices, however if I put devices, for example, Google Home into that VLAN, then I lose the ability to cast to them. The VLANs that are routed by the L3 switch are configured as static routes on my pfSense and is accessible inbetween. My understanding is that Avahi can be leveraged to proxy mDNS. My question is how exactly can I configure it so that it can handle discovery across multiple VLANs terminated on the L3?
-
@eroji if you want traffic to break the L2 barrier you would have to do that on your switch.. Avahi can only rebroadcast that traffic when its seen by pfsense.
You could prob do it with multicast routing - but that feature is normally not part of small business sort of switches, what switch do you have exactly?
Your only other option would be put something that has legs in your different vlans and run say avahi on it.. And let it do the rebroadcasting of the multicast.
Other option would be to remove the L3 routing at your switch and let pfsense do it - then pfsense would see the multicast from all the vlans and be able to leverage avahi to rebroadcast the mdns traffic.
-
I was able to get around it by creating a VM with multiple interfaces on each of the VLANs and running mdns-repeater as a service on top of the NICs.
-
@eroji glad you found your solution..
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy