|
We will discuss these functions in more details when we will describe the protocols that are used in the network layer of the TCP/IP protocol suite.
|
|
|
Virtual circuit organization
|
|
|
the outgoing interface for the packet
|
|
|
the label for the outgoing packet
|
|
|
For example, consider the `label forwarding table` of a network node below.
|
|
|
index
|
|
|
outgoing interface
|
|
|
label
|
|
|
0
|
0
|
|
South
|
|
|
7
|
|
|
1
|
|
|
none
|
|
|
2
|
|
|
West
|
|
|
3
|
|
|
East
|
|
|
If this node receives a packet with `label=2`, it forwards the packet on its `West` interface and sets the `label` of the outgoing packet to `2`. If the received packet's `label` is set to `3`, then the packet is forwarded over the `East` interface and the `label` of the outgoing packet is set to `2`. If a packet is received with a label field set to `1`, the packet is discarded since the corresponding `label forwarding table` entry is invalid.
|
|
|
`Label switching` enables a full control over the path followed by packets inside the network. Consider the network below and assume that we want to use two virtual circuits : `R1->R3->R4->R2->R5` and `R2->R1->R3->R4->R5`.
|
|
|
->R2
|
|