Community discussions

MikroTik App
 
dsobin
Member Candidate
Member Candidate
Topic Author
Posts: 160
Joined: Mon Jun 04, 2007 3:58 am
Location: New Jersey, USA

Converting unicast to multicast

Fri May 04, 2012 4:58 am

I'm trying to devise a way for ROS to accept an incoming UDP unicast stream on one interface and send it out another interface as multicast.

In this application, the input and output interfaces are both wifi. I control the programs generating the packets at the source and receiving the packets on multiple devices at the destination.

I could generate the original traffic as multicast, but this is an unreliable transmission method and packets will be lost going from the source via wifi to the router. I realize that the multicast link out of the router is also unreliable, but I at least want the incoming packets to arrive more-or-less intact, hence the desire for unicast on the way in.

I thought perhaps I could use a mangle rule, but there doesn't seem to be a way to re-write the destination address.

I also thought about some kind of NAT, but I'm not sure what to do with that.

Some odd routing rule maybe?

Any ideas out there?
Last edited by dsobin on Fri May 11, 2012 12:17 am, edited 1 time in total.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: iConverting unicast to multicast

Thu May 10, 2012 5:54 pm

I don't think you can do that with NAT

in v6 there's possibility to send multicast packets as unicast transmission via wireless, AFAIR