Skip to main content

Module vxlan

Module vxlan 

Source
Expand description

VXLAN / Geneve / GRE (gretap, in UDP) tunnel endpoint: decapsulates what other tunnel endpoints send, and the model plays the hosts on the overlay — ARP, ping and UDP — with replies built in Rust and sent back through the tunnel. Deliberately silent: an overlay IP with no host never answers, and a backend failure reads the same way.

Modules§

actions
What the model answers as hosts on a VXLAN, Geneve or GRE (gretap) overlay: who has an IP (ARP), echo replies, and UDP replies. The frames are built here from the request they answer, so the model supplies only what a host would decide — its MAC, and what its service says.
frame
VXLAN (RFC 7348), Geneve (RFC 8926) and Ethernet over GRE (RFC 2784 with RFC 2890’s key and sequence number, carried in UDP per RFC 8086) encapsulation, and just enough of Ethernet, ARP, IPv4, ICMP echo and UDP to be a host on the overlay. Shared by the server and the client (src/client/vxlan/). Pure: no sockets here.

Functions§

spawn