simonebortolin l'MTU ottimale da mettere in map-wan6_4 è 20 bytes in meno della MTU della WAN in quanto i pacchetti IPv4 vengono tradotti in pacchetti IPv6 che richiedono 20 bytes in più, dato che l'header IPv4 è lungo 20 bytes, e quello IPv6 è lungo 40 bytes.
You were absolutly right!
Facendo un po' di esperimenti con MTU settato a 1520/1540 ho scoperto che solo i client non riuscivano ad accedere a atm.it mentre il router si. Investigando ancora ho scoperto che il driver normale dell'interfaccia ethernet embedded del Rpi4 non supporta i jumbo frames.
Ho quindi ricompilato tutta l'immagine ed il kernel applicando questa patch.
Il risultato è il seguente:
« SpeedGuide.net TCP Analyzer Results »
Tested on: 2022.04.20 19:05
IP address: 101.58.xxx.xx
Client OS/browser: Mac OS (Firefox 99.0)
TCP options string: 020405b4010303060101080a2343102a0000000004020000
MSS: 1460
MTU: 1500
TCP Window: 131712 (not multiple of MSS)
RWIN Scaling: 6 bits (2^6=64)
Unscaled RWIN : 2058
Recommended RWINs: 64240, 128480, 256960, 513920, 1027840
BDP limit (200ms): 527 Mbps (53 Megabytes/s)
BDP limit (500ms): 211 Mbps (21 Megabytes/s)
MTU Discovery: OFF
TTL: 48
Timestamps: ON
SACKs: ON
IP ToS: 00000000 (0)
con la seguent configurazione:

Grazie per le dritte.