Pcornel
Technology Comparisons

GRE vs VXLAN

Compare generic Layer 3 tunneling with scalable network virtualization overlay.

DimensionGREVXLANWhat it means in practice
PayloadCommonly transports Layer 3 and multicast-capable passenger traffic.Encapsulates Ethernet segments over UDP/IP.Both depend on underlay reachability.
IdentifierTunnel endpoint/config context.24-bit VNI identifies overlay segment.VXLAN provides much larger segment namespace.
UseSimple routed tunnels/overlays.Data-center/campus fabric segmentation.MTU and overlay troubleshooting apply to both.
PayloadLayer 3 packets (or Layer 2 with GRETAP).Layer 2 Ethernet frames.VXLAN extends Layer 2 segments across a routed underlay.
Header overhead24 bytes (outer IP + GRE).About 50 bytes (outer Ethernet/IP/UDP + VXLAN).Adjust MTU or MSS on the underlay accordingly.
Segment IDOptional GRE key.24-bit VNI (about 16 million segments).VNI scale is why VXLAN is used in data-centre fabrics.

← All comparisons

Confirmation

Confirm action

Continue?