Lectura clase teo 08 Flashcards
In what parts can the network layer be decomposed?
the data plane and the control plane.
data plane functions of the network layer
the per-router functions in the network layer that determine how a datagram (that is, a network-layer packet) arriving on one of a router’s input links is forwarded to one of that router’s output links.
The primary role of the network layer
move packets from a sending host to a receiving host.
network-layer functions defined to reach the role of the network layer.
Forwarding.
Routing.
Forwarding.
When a packet arrives at a router’s input link, the router must move the packet to the appropriate output link. Forwarding is but one function implemented in the data plane.
Forwarding refers to the router-local action of transferring a packet from an input link interface to the appropriate output link interface. Forwarding takes place at very short timescales (typically a few nanoseconds), and thus is typically implemented in hardware.
Routing.
The network layer must determine the route or path taken by packets as they flow from a sender to a receiver. The algorithms that calculate these paths are referred to as routing algorithms. A routing algorithm would determine, for example, the path along which packets flow from H1 to H2 in Figure 4.1. Routing is implemented in the control plane of the network layer.
Routing refers to the network-wide process that determines the end-to-end paths that packets take from source to destination. Routing takes place on much longer timescales (typically seconds), and as we will see is often implemented in software.
forwarding table
A key element in every network router is its forwarding table. A router forwards a packet by examining the value of one or more fields in the arriving packet’s header, and then using these header values to index into its forwarding table. The value stored in the forwarding table entry for those values indicates the outgoing link interface at that router to which that packet is to be forwarded.
Control Plane: The Traditional Approach: But now you are undoubtedly wondering how a router’s forwarding tables are con- figured in the first place.
the routing algorithm function in one router communicates with the routing algorithm function in other routers to compute the values for its forward- ing table. How is this communication performed? By exchanging routing messages containing routing information according to a routing protocol!
Control Plane: The SDN Approach
the routing device performs forwarding only, while the remote controller computes and distributes forwarding tables. The remote controller might be implemented in a remote data center with high reliability and redundancy, and might be managed by the ISP or some third party.
Control Plane: The SDN Approach: How might the routers and the remote controller communicate?
By exchanging messages containing forwarding tables and other pieces of routing information. The control-plane approach shown in Figure 4.3 is at the heart of software-defined networking (SDN), where the net- work is “software-defined” because the controller that computes forwarding tables and interacts with routers is implemented in software. Increasingly, these software implementations are also open, i.e., similar to Linux OS code, the code is publically available, allowing ISPs (and networking researchers and students!) to innovate and propose changes to the software that controls network-layer functionality.
The Internet’s network layer provides a single service
known as best-effort service. With best-effort service, packets are neither guaranteed to be received in the order in which they were sent, nor is their eventual delivery even guaranteed. There is no guarantee on the end-to-end delay nor is there a minimal bandwidth guaran- tee. It might appear that best-effort service is a euphemism for no service at all—a network that delivered no packets to the destination would satisfy the definition of best-effort delivery service!
Four router components that can be identified in a high-level view of a generic router architecture
- Input ports
- Switching fabric
- Output ports
- Routing processor
Four router components that can be identified in a high-level view of a generic router architecture: Input ports
- It performs the physical layer function of terminating an incoming physical link at a router
- performs link-layer functions needed to interoperate with the link layer at the other side of the incoming link
- Perhaps most crucially, a lookup function is also performed at the input port. It is here that the forwarding table is consulted to determine the router output port to which an arriving packet will be forwarded via the switching fabric. Control packets (for example, packets carrying routing protocol information) are forwarded from an input port to the routing processor.
Four router components that can be identified in a high-level view of a generic router architecture: Switching fabric
The switching fabric connects the router’s input ports to its output ports. This switching fabric is completely contained within the router—a network inside of a network router!
Four router components that can be identified in a high-level view of a generic router architecture: Output ports
An output port
- stores packets received from the switching fabric and
- transmits these packets on the outgoing link by performing the necessary link-layer and physical-layer functions.
When a link is bidirectional (that is, carries traffic in both directions), an output port will typically be paired with the input port for that link on the same line card.