ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

Computer Networking: Notes of "Select" Lectures (Chapter 4: Network Layer - data plane)

2021-05-12 18:32:15  阅读:293  来源: 互联网

标签:Chapter Lectures Layer end network layer packet plane router


Computer Networking:

a Top-Down Approach (8th ed.) :

Notes of "Select" Lectures

 

Chapter 4 Network Layer - data plane

The network layer can be decomposed into two parts:

the data plane (数据平面)

• the per-router functions in the network layer

• 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 control plane (控制平面)

• the network-wide logic

• controls how a datagram is routed among routers along an end-to-end path from the source host to the destination host

4.1 Network Layer Overview

Forwarding versus routing; data plane, control plane; network service model.

There is a piece of the network layer in each and every host and router in the network.

• H1 is sending information to H2.

• The network layer in H1 takes segments from the transport layer in H1, encapsulates each segment into a datagram, and then sends the datagrams to its nearby router, R1.

• At the receiving host, H2, the network layer receives the datagrams from its nearby router R2, extracts the transport-layer segments, and delivers the segments up to the transport layer at H2.

• Routers:

• the primary data-plane role of each router is to forward datagrams from its input links to its output links;

• the primary role of the network control plane is to coordinate these local, per-router forwarding actions so that datagrams are ultimately transferred end-to-end, along paths of routers between source and destination hosts.

4.1.1 Forwarding and Routing: The Network Data and Control Planes

The primary role of the network layer: to move packets from a sending host to a receiving host.

    Two important network-layer functions:

Forwarding (转发): the router-local action of transferring a packet from an input link interface to the appropriate output link interface

Routing (路由选择): the network-wide process that determines the end-to-end paths that packets take from source to destination.

Routing algorithms (路由选择算法).

    Forwarding table (转发表): a key element in every network router.

• 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

A routing algorithm runs in each and every router and both forwarding and routing functions are contained within a router.

Control Plane: The SDN Approach

• A physically separate, remote controller computes and distributes the forwarding tables to be used by each and every router.

• At the heart of software-defined networking (SDN, 软件定义网络), where the network is "software-defined" because the controller that computes forwarding tables and interacts with routers is implemented in software.

4.1.2 Network Service Model

The network service model (网络服务模型) defines the characteristics of end-to-end delivery of packets between sending and receiving hosts.

Some possible services that the network layer could provide could include:

Guaranteed delivery.

Guaranteed delivery with bounded delay.

In-order packet delivery.

Guaranteed minimal bandwidth.

Security.

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 guarantee.

The Internet's basic best-effort service model combined with adequate bandwidth provisioning (带宽供给) and bandwidth-adaptive application-level protocols have arguably proven to be more than "good enough" to enable an amazing range of applications.

标签:Chapter,Lectures,Layer,end,network,layer,packet,plane,router
来源: https://www.cnblogs.com/zjnu/p/kurose_ross_4.html

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有