Community discussions

MikroTik App
 
JimKusz
just joined
Topic Author
Posts: 24
Joined: Sat Apr 23, 2022 6:41 pm

MSS-clamp equivalent for udp?

Sat Apr 13, 2024 11:08 pm

Hello:

I have a HD HomeRun tuner plugged into a mikrotik box with an EoIP tunnel that runs through another wireguard tunnel before getting to its destination. The HD HomeRun is a TV tuner for picking up over-the-air TV and converting it into a udp stream. There is no way to change the MTU on the device. As a result, when watching programming with higher bitrates, I run into a lot of packet drop issues because of the tunneling. Previously, the node upsteam of the Mikrotik doing the EoIP tunnel was a pfSense router, which was one end of the wireguard tunnel, with a Mikrotik LTE device as the "client" device. With pfSense, I was able to adjust the MTU down through the tunnel.

I just replaced the pfSense router with Mikrotik, and so far, I haven't been able to replicate that behavior. I want any packets too large for the tunnel (EoIP + wiregard, I believe it was about 1370) to be segmented. Not just TCP, but all packets.

How do I do this on Mikrotik?

Thanks!
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 11763
Joined: Thu Mar 03, 2016 10:23 pm

Re: MSS-clamp equivalent for udp?

Sat Apr 13, 2024 11:20 pm

Just manually override MTU setting of EOIP interface. EOIP does fragment/defragment frames, which are otherwise too large to fit the outer MTU, if needed.
 
JimKusz
just joined
Topic Author
Posts: 24
Joined: Sat Apr 23, 2022 6:41 pm

Re: MSS-clamp equivalent for udp?

Sun Apr 14, 2024 2:16 am

Ok, thanks! I think I'm having larger MTU/MSS issues, as its not working, but I'll post a separate topic for that.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3610
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: MSS-clamp equivalent for udp?

Sun Apr 14, 2024 7:00 am

Ok, thanks! I think I'm having larger MTU/MSS issues, as its not working, but I'll post a separate topic for that.
Set EoIP to 1500 MTU. It will fragment but almost certainly needed since I doubt the HDHomeRun does PMTUD. Generally there 7 MPEG frames per RTP packet, so I'm guess it like needs 1400 MTU (or more if FEC is used). Now, the WG tunnel if it's going through LTE likely have to be lower than the default 1420, I'd focus on making sure WG MTU is right as both being wrong is 4x fragmentation, not 2x.

Also make sure the Don't Fragment is unchecked.

Who is online

Users browsing this forum: Bing [Bot], eworm, n0rthking and 42 guests