if_me(4)

if_me4

Encapsulating network device

Part of me(4).

Usage

To compile the driver into the kernel, place the following line in the kernel configuration file:

device me

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

if_me_load="YES"

Overview

The me network interface is a point-to-point pseudo device encapsulating datagrams into IP. These encapsulated datagrams are routed to a destination host, where they are decapsulated and further routed to their final destination.

me interfaces are dynamically created and destroyed with the ifconfig(8) create and destroy subcommands.

This driver corresponds to RFC 2004. Datagrams are encapsulated into IP with a shorter encapsulation. The original IP header is modified and the modifications are inserted between the so modified header and the original payload. The protocol number 55 is used for outer header.

Notes

For correct operation, the me device needs a route to the decapsulating host that does not run over the tunnel, as this would be a loop.

Releases

3 releases since FreeBSD 14.5-RELEASE; the text changed 1 time.

  1. 14.5–15.1
  2. 16.0

Authors

Andrey V. Elsukov ⟨[email protected]⟩

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.