An visual tunnel MTU/MSS calculator in pure client-side HTML/JS.
Tunnel MTU/MSS calculation is a common task. Calculating it is a common task, and many beginners find it confusing. This project tries to make it easy to do and understand what's going on.
To run it locally, just clone the repo and point your browser to the index.html file.
A live version is available at https://baturin.org/tools/encapcalc/
- GRE: RFC2784
- GRE keys and sequence numbers: RFC2890
- NVGRE: RFC7637 (it's really just GRE with the key field reused for virtual network ID)
- VXLAN: RFC7348
- STT: RFC draft
- MACSec: "an additional 16-byte MACsec Security Tag or SecTAG was included, as well as a 16-byte Integrity Check Value (ICV) at the end of the frame" (1)
- LISP: RFC6830
- EoIP: https://help.mikrotik.com/docs/pages/viewpage.action?pageId=24805521
- GENEVE: https://tools.ietf.org/html/rfc8926#section-3.4 (however, it also supports variable-length options)