Community discussions

MikroTik App
 
sugar
just joined
Topic Author
Posts: 4
Joined: Mon Dec 27, 2021 1:28 pm

Multicast routing via L2TP

Mon Dec 27, 2021 1:33 pm

Hi!
I have multicast trafik iptv and I want forward it to l2tp on my sever.
How can I do this ?
I studied a lot of information and got even more confused, tell me the instructions on how to do this? and in general it is possible?

I working with CCR1036, with 4 sfp. fw: 7.1.1

l2tp nice but maybe this is possible with wireguard ?
 
tangent
Forum Guru
Forum Guru
Posts: 1387
Joined: Thu Jul 01, 2021 3:15 pm
Contact:

Re: Multicast routing via L2TP

Tue Dec 28, 2021 12:41 am

Multicast doesn't transit a routing layer (as needed with L2TP) without help.

The simple way is to set up MikroTik's proprietary IGMP proxy.

If that doesn't work, then you have to go with the standards-compliant method, PIM-SM. This is considerably more difficult to set up, but it's the right tool for the job of routing IGMP among 2+ LANs.
 
sugar
just joined
Topic Author
Posts: 4
Joined: Mon Dec 27, 2021 1:28 pm

Re: Multicast routing via L2TP

Tue Dec 28, 2021 9:22 am

igmp proxy can't help, no packets recieved to upstream interface. :(
even if I statically write MFC (group 233.1.1.1 source [ip from provider iptv settings] upstream - interface with multicast and downstream l2tp interface)
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3422
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Multicast routing via L2TP

Tue Dec 28, 2021 10:01 am

Is there a Mikrotik on both ends of the L2TP tunnel?

If so, an EoIP tunnel might be easier than L2TP. This point suggests that:
posting.php?mode=quote&p=577031#postingbox
That 2017 post above problem may be that HD was a 30-36Mb/s MPEG-TS "mux", but his bandwidth was only 27Mb/s – so EoIP seem to work, but yeah you'd need bandwidth.

L2TP is a bit more complex, but multicast PIM should work – if you have multiple L2TP links on the same router to same network get even more tricky. L2TP will compress the MTU, so you'd need to pay attention to how the IPTV stream if framed (e.g. 1427 + 14 RTP + 20+ for IP, get close L2TP default 1450 MTU)

If you want to be a ginny pig, V7 with ZeroTier should able to bridge the multicast, but different/untested approach.
 
sugar
just joined
Topic Author
Posts: 4
Joined: Mon Dec 27, 2021 1:28 pm

Re: Multicast routing via L2TP

Tue Dec 28, 2021 10:54 am

only 1 mikrotik router with multicast port.
I try to connect from Windows 10 or Ubuntu 20? with l2tp.

I have only one multicast port with some multicast groups.
can I forward its to another network via vpn ?

IGMP Proxy not working. PIM SM very hard to setup, maybe somebody has simple example?
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19318
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Multicast routing via L2TP

Tue Dec 28, 2021 3:03 pm

Dont laugh people but what about ZeroTier? If it mimics a level2 switch type connection, would multicast work over this type of setup??
 
sugar
just joined
Topic Author
Posts: 4
Joined: Mon Dec 27, 2021 1:28 pm

Re: Multicast routing via L2TP

Wed Dec 29, 2021 8:04 am

https://wiki.mikrotik.com/wiki/Manual:P ... r_Profiles
bridge (string; Default: ) Name of the bridge interface to which ppp interface will be added as a slave port. Both tunnel endpoints (server and client) must be in bridge in order to make this work, see more details on the BCP bridging manual.
good news:

l2tp in bridge with multicast interface need to both ends of tunnel be in bridge.
I successfully tested that with 2 mikrotiks l2tp server and client. l2tp connections in bridges transfer multicast to other side)

but I need to connect l2tp from PC under linux.
who know how to make l2tp linux client in BCP bridging mode ?

Who is online

Users browsing this forum: No registered users and 16 guests