Page 1 of 1

Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed Mar 09, 2016 12:28 pm
by zap71
Dear Mikrotiks,

since mDNS becomes more and more popular with home automation and the "Interet of Things", it is very cumbersome that RouterOS can't handle IP multicast routing.

Therefore it would be highly welcomed if RouterOS v7 would support at least the necessary DNS records so it would be possible to manually add support for service detection.
Of course it would be even cooler if RouterOS v7 could support avahi like stuff or support of ip multicast routing.

Cheers, Harry.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Fri May 13, 2016 11:35 am
by vortex
+1000

I tried again with no luck.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Mon May 23, 2016 8:25 pm
by mpreissner
It's been asked for a LOT. Really, they could make it work by compiling an avahi-daemon package that would run on RouterOS. Somehow I don't think this would be too difficult, but apparently it's just not at the top of their list.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Mon May 23, 2016 9:53 pm
by ZeroByte
I'm not sure about the IOT stuff (personally shy away from such - they're usually great-big-grand-canyon-sized security flaws that are often the subject of blackhat talks at DefCon, etc) but I can say that Mikrotik DOES support multicast routing.

It's just not in an obvious location / possibly disabled by default in your router....

check /system packages and make sure that multicast is installed and enabled. If not, then you'll need to download the "extra packages" ZIP for your current model and version of ROS, and copy the multicast package onto the Mikrotik's file system (just drag and drop it using Winbox, for example). Reboot and the package should be available.

You should see both IGMP Proxy and PIM configurations in the /routing menu. This is how you enable multicast routing.

NOTE that this is ROUTING, and not the much-demanded-by-users / much-poo-pooed-by-Mikrotik feature known as IGMP snooping, which is the piece of the multicasting pie that filters multicast traffic off of switch ports which aren't subscribed to it. (switches w/o IGMP snooping just treat multicast as broadcast, so it works, but can bog down a network with unwanted bandwidth)

Obviously this doesn't cause the Mikrotik to participate in mDNS, but if you want multicast routing, it is available.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Tue May 24, 2016 7:32 pm
by mpreissner
The problem is that the multicast routing that MT supports doesn't properly handle Bonjour/Zero-conf. I've researched and tried a ton of different ways to do it, and it just never worked. But if you have a working setup that does mDNS service reflection between subnets, please write up a how-to and get it posted on the wiki...people will sing your praises for years to come.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed May 25, 2016 8:18 pm
by ZeroByte
The problem is that the multicast routing that MT supports doesn't properly handle Bonjour/Zero-conf. I've researched and tried a ton of different ways to do it, and it just never worked. But if you have a working setup that does mDNS service reflection between subnets, please write up a how-to and get it posted on the wiki...people will sing your praises for years to come.
Well, I did a bit of reading and see where the problem is (mDNS using link-local-only multicast group) so obviously routing won't fix the issue. Perhaps some interesting nat/mangle gymnastics are possible....

I think the most available solution for ROS users at the moment is to launch a Metarouter with avahi installed on it and configured as a reflector.

(See the Linux/avahi portion of this link for an example)

I think an mDNS reflector might be an interesting feature to have if for no other reason than to help people avoid building these ungodly bridged network monstrosities just for IOT support.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed May 25, 2016 8:25 pm
by mpreissner
Well, I did a bit of reading and see where the problem is (mDNS using link-local-only multicast group) so obviously routing won't fix the issue. Perhaps some interesting nat/mangle gymnastics are possible....

I think the most available solution for ROS users at the moment is to launch a Metarouter with avahi installed on it and configured as a reflector.

(See the Linux/avahi portion of this link for an example)

I think an mDNS reflector might be an interesting feature to have if for no other reason than to help people avoid building these ungodly bridged network monstrosities just for IOT support.
I've tried the nat/mangle approach. Doesn't work. I settled for setting up a trunk port on my CRS and attaching a Raspberry Pi with an interface for every VLAN running avahi.

Cisco and Aruba have some very interesting mDNS routing capabilities where they can selectively allow mDNS services to work between subnets based on physical location (associated WAP). This lets you keep your AppleTV's on a wired, segregated network while allowing conference room guests to AirPlay to the ATV in that specific conference room. Pretty neat stuff.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed May 25, 2016 8:47 pm
by ZeroByte
This really reminds me of the IPX SAP thing - I was working for a global corporation which still had IPX enabled (after 2000) and some interesting SAPs managed to not get filtered... for instance, sitting in Louisiana, I saw advertisements for printers in the Tokyo office.....

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Mon Jun 20, 2016 7:56 pm
by Zorro
oh no. even for home use - its was expose you network "too much" so even common to reduce TX(and RX threeshoold) among avahi/mdns fans(usually that folks with home NAS stuff and video recorders, both handheld stuff and security CCTV). i guess that may be considered but as optional feature, outside major "system" package. like part of "routing" package or "advanced" or so.
same about SMB,sFTP , packing and webcache.
generally unless you're devoted to filesharing at home so much - its not big deal to have no avahi/mdns in router. and even them - generally both faster(in long-term), secure and reliable do proper setup instead.
and most IoT things, including zigbee and other derrivatives - not rely on avahi stuff much, but full-blown ad-hoc networking was pretty common. say 802.11s, HWMPlus(kinda steup-up from previous), BATMAN 3/4/5, OLSR. to my surprise - last one was starting to be bit more popular despite flaws and lack of features. maybe because smaller CPU hit.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Fri Jul 08, 2016 7:03 pm
by vortex
This is needed not only for Airport Utility, but it seems also for AirDisk. It is essential.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed Oct 18, 2017 6:04 pm
by gregsowell
It looks like chromecast also uses mDNS for discovery, so if the feature existed you could chromecast across subnets...which would be really nice.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Sat Oct 19, 2019 1:04 pm
by florid
I spent the whole afternoon playing IGMP Proxy trying to figure out why HomeKit cannot connect on a different vlan.
Just realised routeros does not support this yet.
Any chance we can expect in v7?

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Thu Feb 20, 2020 4:32 am
by pyfgcrl
Can y'all please do this? Moved from Cisco to Mikrotik and this is a much-needed feature for us.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Fri Feb 21, 2020 4:36 am
by vortex
I think I have 3 different devices that need this.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Fri Feb 21, 2020 2:32 pm
by jvanhambelgium
Can y'all please do this? Moved from Cisco to Mikrotik and this is a much-needed feature for us.
Apart from cost, why did you even consider such a move ?
Mikrotik is no where near in the same league as Cisco in the "ip" space.
Looking at these forums, many interesting feature-requests just never happen.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Tue Mar 10, 2020 8:23 pm
by CCIS
Another +1 for mDNS

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Sun Mar 15, 2020 1:53 pm
by Panos2000
+1 for this request. Much needed

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Fri Apr 10, 2020 2:01 am
by dkerov07
+1 for this request

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Wed Apr 15, 2020 11:54 am
by gotsprings
Bumping this up the request list too.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Thu Apr 30, 2020 11:54 pm
by rsirchia
I would als greatly appreciate this feature!

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Sat May 02, 2020 12:59 am
by larsac
+1 for the request.

Lars

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Sun May 03, 2020 11:03 pm
by muetzekoeln
+1

It's standard with other vendors

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Tue May 12, 2020 11:59 pm
by pronto
+1!
Wasted hours trying to setup mDNS over VLANs, as well as Google Chromecast. I just realized this is obviously just not possible ?!?

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Tue Jun 30, 2020 6:51 pm
by pyfgcrl
+1 — pretty standard in 2020 right across the board. This doesn't seem like it would be too hard to implement.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Mon Jul 20, 2020 12:21 am
by hong
+1 Simple architectures could only use mDNS. Should be routed/NAT between subnets and bridges somehow.

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Sun Aug 02, 2020 2:30 am
by abmantis
4 years later, still nothing? :(

Re: Feature Request: IP Multicast Routing/mDNS/Zeroconf/Bonjour

Posted: Thu Aug 06, 2020 1:24 pm
by jellevdbos
+1 for multicast between subnets