Development discussion of WireGuard
 help / color / mirror / Atom feed
* Revisiting the weird MTU issue
@ 2019-04-10 15:34 Roman Mamedov
  2019-04-10 18:20 ` Derrick Lyndon Pallas
  0 siblings, 1 reply; 2+ messages in thread
From: Roman Mamedov @ 2019-04-10 15:34 UTC (permalink / raw)
  To: WireGuard mailing list

Hello,

I use WireGuard over IPv6 on a PPPoE connection. The Internet interface MTU is
1492. By my calculations MTU 1412 on the WG interface should fit.

However, the following occurs on various MTU combinations between the Remote
(a server in a DC with full 1500 wire MTU) and Local WG interface MTUs:

Fails or not, is whether a within-WG Remote->Local TCP connection (iperf3)
works fine or hangs up after transferring a few initial bits of data.

Remote  Local  Result
====================
  1420   1420  Fails (as expected)

  1420   1412  Fails (weird)

  1412   1412  Works (fair enough)

  1420   1408  Works (super weird!!!)

Now I hope I described the situation clearer than the last time posting about
this, so maybe someone has an idea what could be the culprit?

So far this doesn't cause too much issue, as I'm using on designated p2p links
for when one of the peers is on this PPPoE, I just use 1412 on both sides. But
still, surely the above shouldn't happen?

-- 
With respect,
Roman
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Revisiting the weird MTU issue
  2019-04-10 15:34 Revisiting the weird MTU issue Roman Mamedov
@ 2019-04-10 18:20 ` Derrick Lyndon Pallas
  0 siblings, 0 replies; 2+ messages in thread
From: Derrick Lyndon Pallas @ 2019-04-10 18:20 UTC (permalink / raw)
  To: Roman Mamedov; +Cc: WireGuard mailing list

MTU discovery isn't supported widely in my experience. My rule has been to set the interface to 1280, which is the minimum allowed.

~Derrick • iPhone

> On Apr 10, 2019, at 8:34 AM, Roman Mamedov <rm@romanrm.net> wrote:
> 
> Hello,
> 
> I use WireGuard over IPv6 on a PPPoE connection. The Internet interface MTU is
> 1492. By my calculations MTU 1412 on the WG interface should fit.
> 
> However, the following occurs on various MTU combinations between the Remote
> (a server in a DC with full 1500 wire MTU) and Local WG interface MTUs:
> 
> Fails or not, is whether a within-WG Remote->Local TCP connection (iperf3)
> works fine or hangs up after transferring a few initial bits of data.
> 
> Remote  Local  Result
> ====================
>  1420   1420  Fails (as expected)
> 
>  1420   1412  Fails (weird)
> 
>  1412   1412  Works (fair enough)
> 
>  1420   1408  Works (super weird!!!)
> 
> Now I hope I described the situation clearer than the last time posting about
> this, so maybe someone has an idea what could be the culprit?
> 
> So far this doesn't cause too much issue, as I'm using on designated p2p links
> for when one of the peers is on this PPPoE, I just use 1412 on both sides. But
> still, surely the above shouldn't happen?
> 
> -- 
> With respect,
> Roman
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-10 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-10 15:34 Revisiting the weird MTU issue Roman Mamedov
2019-04-10 18:20 ` Derrick Lyndon Pallas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).