Community discussions

MikroTik App
 
User avatar
zap71
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 83
Joined: Fri Sep 27, 2013 11:10 am
Location: Berlin, Germany
Contact:

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

Wed Mar 09, 2016 12:28 pm

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.
 
vortex
Forum Guru
Forum Guru
Posts: 1097
Joined: Sat Feb 16, 2013 6:10 pm

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

Fri May 13, 2016 11:35 am

+1000

I tried again with no luck.
 
mpreissner
Member
Member
Posts: 356
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

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

Mon May 23, 2016 8:25 pm

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.
Michael Preissner
CISSP, CCSP, CEH, PMP
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

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

Mon May 23, 2016 9:53 pm

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.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
mpreissner
Member
Member
Posts: 356
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

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

Tue May 24, 2016 7:32 pm

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.
Michael Preissner
CISSP, CCSP, CEH, PMP
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

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

Wed May 25, 2016 8:18 pm

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.
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
mpreissner
Member
Member
Posts: 356
Joined: Tue Mar 11, 2014 11:16 pm
Location: Columbia, MD

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

Wed May 25, 2016 8:25 pm

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.
Michael Preissner
CISSP, CCSP, CEH, PMP
 
User avatar
ZeroByte
Forum Guru
Forum Guru
Posts: 4051
Joined: Wed May 11, 2011 6:08 pm

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

Wed May 25, 2016 8:47 pm

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.....
When given a spoon,
you should not cling to your fork.
The soup will get cold.
 
Zorro
Long time Member
Long time Member
Posts: 676
Joined: Wed Apr 16, 2014 2:43 pm

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

Mon Jun 20, 2016 7:56 pm

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.
 
vortex
Forum Guru
Forum Guru
Posts: 1097
Joined: Sat Feb 16, 2013 6:10 pm

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

Fri Jul 08, 2016 7:03 pm

This is needed not only for Airport Utility, but it seems also for AirDisk. It is essential.
 
gregsowell
Member Candidate
Member Candidate
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

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

Wed Oct 18, 2017 6:04 pm

It looks like chromecast also uses mDNS for discovery, so if the feature existed you could chromecast across subnets...which would be really nice.
Hit my blog for video tutorials of Mikrotik and Cacti.
Just so I look as cool as everyone else ->CCNA / CCNP / CCIE W / MCNA / MCRE / MCIE / Certified Trainer / A+ / N+ / Partridge in pear tree <- *sigh* I'll never know enough...
 
florid
newbie
Posts: 38
Joined: Wed Dec 20, 2017 6:27 am

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

Sat Oct 19, 2019 1:04 pm

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?
 
pyfgcrl
just joined
Posts: 6
Joined: Tue Nov 20, 2012 11:26 pm

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

Thu Feb 20, 2020 4:32 am

Can y'all please do this? Moved from Cisco to Mikrotik and this is a much-needed feature for us.
 
vortex
Forum Guru
Forum Guru
Posts: 1097
Joined: Sat Feb 16, 2013 6:10 pm

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

Fri Feb 21, 2020 4:36 am

I think I have 3 different devices that need this.
 
User avatar
jvanhambelgium
Member
Member
Posts: 368
Joined: Thu Jul 14, 2016 9:29 pm
Location: Belgium

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

Fri Feb 21, 2020 2:32 pm

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.
 
User avatar
CCIS
just joined
Posts: 10
Joined: Wed May 28, 2008 2:04 am
Location: B.C. Canada

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

Tue Mar 10, 2020 8:23 pm

Another +1 for mDNS
 
Panos2000
just joined
Posts: 10
Joined: Fri Mar 18, 2005 1:15 am

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

Sun Mar 15, 2020 1:53 pm

+1 for this request. Much needed
 
dkerov07
just joined
Posts: 1
Joined: Sun Nov 24, 2019 11:05 pm

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

Fri Apr 10, 2020 2:01 am

+1 for this request
 
gotsprings
Forum Veteran
Forum Veteran
Posts: 994
Joined: Mon May 14, 2012 9:30 pm

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

Wed Apr 15, 2020 11:54 am

Bumping this up the request list too.
"It ain't what you don't know that gets you into trouble. It's what you know for sure that just ain't so."
Mark Twain
 
rsirchia
just joined
Posts: 1
Joined: Mon Apr 27, 2020 11:46 pm

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

Thu Apr 30, 2020 11:54 pm

I would als greatly appreciate this feature!
 
larsac
just joined
Posts: 22
Joined: Thu Apr 30, 2020 4:52 pm

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

Sat May 02, 2020 12:59 am

+1 for the request.

Lars
 
muetzekoeln
Member Candidate
Member Candidate
Posts: 165
Joined: Fri Jun 29, 2018 2:34 pm

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

Sun May 03, 2020 11:03 pm

+1

It's standard with other vendors
 
pronto
just joined
Posts: 3
Joined: Tue Sep 11, 2018 12:45 pm

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

Tue May 12, 2020 11:59 pm

+1!
Wasted hours trying to setup mDNS over VLANs, as well as Google Chromecast. I just realized this is obviously just not possible ?!?
 
pyfgcrl
just joined
Posts: 6
Joined: Tue Nov 20, 2012 11:26 pm

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

Tue Jun 30, 2020 6:51 pm

+1 — pretty standard in 2020 right across the board. This doesn't seem like it would be too hard to implement.
 
hong
just joined
Posts: 1
Joined: Mon Jul 20, 2020 12:15 am

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

Mon Jul 20, 2020 12:21 am

+1 Simple architectures could only use mDNS. Should be routed/NAT between subnets and bridges somehow.
 
abmantis
just joined
Posts: 1
Joined: Sun Jul 26, 2020 12:57 am

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

Sun Aug 02, 2020 2:30 am

4 years later, still nothing? :(
 
jellevdbos
just joined
Posts: 3
Joined: Fri Apr 03, 2020 10:51 pm

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

Thu Aug 06, 2020 1:24 pm

+1 for multicast between subnets
 
User avatar
FiiMitch
just joined
Posts: 24
Joined: Tue Aug 18, 2020 8:49 am
Location: Gold Coast, QLD
Contact:

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

Mon Aug 24, 2020 12:01 pm

+1 for this, much needed for inter-VLAN Chromecast discovery and casting. Any hope for this feature in a future release?
MTCNA, MTCRE
 
Avidiax
just joined
Posts: 1
Joined: Sun Aug 30, 2020 11:52 pm

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

Mon Aug 31, 2020 12:03 am

Those of you here because you have a simple 1-router network but can't find your Nest/Google Home/Chromecast devices can fix the problem by setting "Default forward" and "Multicast Helper=full" on all of your wireless interfaces. My laptop on Wifi is now able to enumerate all the devices in my home. Devices on ethernet were always able to.

While you are in your interfaces, make sure that "WPS Mode" is disabled unless you really need it, as there are security problems.

Image
 
User avatar
akey
just joined
Posts: 8
Joined: Mon Sep 23, 2019 3:13 am

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

Tue Sep 01, 2020 1:34 pm

The current working solution to this issue, unfortunately requiring additional device having access to both vlans is to use an additional software (mdns-repeater or udp-broadcast-relay-redux). You may find some people saying that avahi-daeamon with the reflector feature enabled will also do the job but from my time spent to get it working - it doesn't (at least not fully).
So the setup is:
Main WiFi ---- main vlan ------------------------------------------------------------------|  --- ROS ---- Internet
                 |									   |
       Linux server/RPi + udp-broadcast-relay-redux / mdns-repeater 			   |
                 |									   |
IoT WiFi  --- iot vlan --------------------------------------------------------------------|
Sorry for the poor ASCI.
In essence you have to have a small linux server (can be raspberry pi) that will have 2 interfaces in both vlans and have a special software running that will relay mdns packets between the vlans.
I use udp-broadcast-relay-redux and run it like this:
udp-broadcast-relay-redux --id 1 --port 5353 --dev eth0 --dev eth0.9 --multicast 224.0.0.251 -s 1.1.1.1 -f
Where eth0 is my main vlan and eth0.9 is vlan id 9 for IoT devices.
Now bear in mind that my phone being in the main vlan doesn't really need anything special to discover all my google devices. It just works without needing anything special. Somehow google discoveres them automagically. And I have no traffic allowed from IoT vlan to the main vlan. Only full internet access is allowed through the ROS firewall to the IoT vlan. But the main vlan has FULL access to IoT vlan.
So without that mdns relay I can cast to individual devices with no problem but groups created in the Google Home app don't appear as casting targets nor they appear at all in the Home app when my Android phone is connected to the Main VLAN/WiFi. There can be some, what I call "shadows" of the groups shortly after I switch between WiFis but they will disapear and are generally unreliable. Only enabling mdns relay between the vlans make the groups appear fully when I'm in the main vlan and obviously casting to them works perfectly.
It's a shame MikroTik doesn't have that mdns-relay functionality built in as it would make the whole setup a lot easier.
Below links to the mdns relay software git repos (you only need one so you have a choice):

https://github.com/udp-redux/udp-broadcast-relay-redux
https://github.com/kennylevinsen/mdns-repeater
 
mafiosa
Frequent Visitor
Frequent Visitor
Posts: 88
Joined: Fri Dec 09, 2016 8:10 pm

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

Tue Oct 20, 2020 2:21 pm

+1 for mDNS atleast in ROSv7 we should get it
 
User avatar
IPANetEngineer
Trainer
Trainer
Posts: 1278
Joined: Fri Aug 10, 2012 6:46 am
Location: Jackson, MS, USA
Contact:

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

Tue Oct 20, 2020 3:23 pm

mDNS would be a great addition to enable things like chromecast between subnets.
Global - MikroTik Support & Consulting - English | Francais | Español | Portuguese +1 855-645-7684
https://iparchitechs.com/services/mikro ... l-support/ mikrotiksupport@iparchitechs.com
 
User avatar
nz_monkey
Forum Guru
Forum Guru
Posts: 1895
Joined: Mon Jan 14, 2008 1:53 pm
Location: Over the Rainbow
Contact:

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

Tue Oct 20, 2020 3:55 pm

+1 mDNS
http://thebrotherswisp.com/ | Mikrotik MTCNA, MTCRE, MTCINE | Fortinet NSE7 | Extreme Networks ENA
 
m4dmike1
just joined
Posts: 1
Joined: Fri Mar 08, 2019 1:46 am
Location: Austria

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

Tue Oct 27, 2020 10:12 pm

+1 👌

Who is online

Users browsing this forum: nevolex, nichky and 197 guests