Concepts / Tunnels and overlays

Tunnels and overlays

LDP

Also called label distribution protocol, UDP 646, TCP 646, label binding

Hands out MPLS labels: each router picks a label for every route it has and tells its neighbours.

Routers find each other with hellos to 224.0.0.2 on UDP port 646, then exchange labels over a TCP session on port 646. A router pushes or swaps to the label its next hop picked, so labelled paths follow the routes OSPF (or another protocol) found. In FRR, a link without an LDP session breaks the labelled paths across it: the router before the gap still offers labels for the blocks beyond, has no row to send them on, and drops what arrives with them.

Offers go one way, packets the other
Offers go one way, packets the other

Each router picks its own number for a block and tells its neighbours; packets then travel the other way, each carrying the number the next router asked for. From the MPLS: a core that never reads the address lab.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab