ME(4)
π ME(4) β the encapsulating network device, bestie edition
okay so this is the manual page for me(4) from the Kernel Interfaces Manual and honestly? she's serving tunnel realness. let's get into it β¨
π¦ NAME π¦
me β the encapsulating network device. yes that's her whole job. encapsulation. iconic.
πΈ SYNOPSIS πΈ
so there's two ways to get her in the building, and it depends on the vibe you want:
Option 1 β bake her straight into the kernel. drop this line in your kernel configuration file:
device me
Option 2 β module girl, loaded at boot time. put this in loader.conf(5) instead:
if_me_load="YES"
both valid, no cap. pick your lane π
β¨ DESCRIPTION β¨
okay so the me network interface pseudo device encapsulates datagrams into IP. like, she takes your datagrams and wraps them up all cozy into IP. then those encapsulated datagrams get routed to a destination host, where they get decapsulated and routed onward to their final destination. it's giving mail-forwarding but for packets π
also she doesn't just exist β me interfaces are dynamically created and destroyed with the ifconfig(8) create and destroy subcommands. main character energy: she appears when she's needed and dips when she's not.
this driver corresponds to RFC 2004, and the whole thing with this one is a shorter encapsulation. the way it works: the original IP header gets modified, and those modifications get inserted between the so-modified header and the original payload. and the outer header uses protocol number 55. periodt. π₯
β NOTES β
heads up bestie, for correct operation the me device needs a route to the decapsulating host that does not run over the tunnel β because that would be a loop. and loops are not the vibe. π
π«Ά SEE ALSO π«Ά
go read them, iykyk π
π AUTHORS π
Andrey V. Elsukov <ae@FreeBSD.org> β thank you king, we love you for this one π
and that's the whole page! this particular rendering is from Debian, dated November 7, 2014 β so yeah, she's a vintage, and she still ate. mwah ππ
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms