TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
Advertisements

Using EAP-SIM for WLAN Authentication
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models.
PHPCMS 使用指南及二次开发向导 --- 系统设置篇 PHPCMS 网络培训课程 --- 系统设置篇 PHPCMS 项目部 王官庆制作 系统相关设置 1. 站点管理 2. 发布点管理 3. 系统其它设置 管理员设置 1. 角色定义 2. 管理员管理.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
嵌入式操作系统 陈香兰 Fall 系统调用 10/27/09 嵌入式 OS 3/12 系统调用的意义  操作系统为用户态进程与硬件设备进行交互提供 了一组接口 —— 系统调用  把用户从底层的硬件编程中解放出来  极大的提高了系统的安全性  使用户程序具有可移植性.
Chapter 2 Network Models.
NETWORK PRINCIPLE 1- 1 CHAPTER 1 OUTLINE University of Science and Technology of China Continuing education School Lee Yi Data Communications.
1 为了更好的揭示随机现象的规律性并 利用数学工具描述其规律, 有必要引入随 机变量来描述随机试验的不同结果 例 电话总机某段时间内接到的电话次数, 可用一个变量 X 来描述 例 检测一件产品可能出现的两个结果, 也可以用一个变量来描述 第五章 随机变量及其分布函数.
2.1 Background Information Network Models LAYERED TASKS We use the concept of layers in our daily life. As an example, let us consider two friends.
The OSI Model and the TCP/IP Protocol Suite
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP.
协同工作环境研究中心 协同共享 助力科研. 主要内容  认识协同及协同软件  协同科研软件 duckling 介绍.
实验二 vpn 实验 格式: – 附件形式上交 – 课程名+实验次数+姓名+学号 上交日期 – 下次实验之前.
第一节 相图基本知识 1 三元相图的主要特点 (1)是立体图形,主要由曲面构成; (2)可发生四相平衡转变; (3)一、二、三相区为一空间。
第5章 键盘与鼠标接口 5.1 键盘概述 5.2 键盘的工作原理 5.3 PC扩展键盘接口 5.4 键盘中断与键盘I/O 5.5 鼠标接口.
第二章 通信技术基础 谈英姿 东南大学自控系工业自动化教研室. 通信技术基础 2.1 通信的基本概念 2.2 通信协议与网络层次分析 2.3 常用串行通信技术.
Part Ⅱ 计算机网络体系结构. 主要内容 1 计算机网络的构成 1.1 资源子网 1.2 通信子网 ( 点到点通道;广播通道 ) 2 计算机网络的体系结构 2.1 计算机网络功能的分层 2.2 协议和协议的分层结构 2.3 计算机网络的体系结构 3 典型计算机网络参考模型 3.1 计算机网络的标准化.
编译原理总结. 基本概念  编译器 、解释器  编译过程 、各过程的功能  编译器在程序执行过程中的作用  编译器的实现途径.
 符号表  标识符的作用: 声明部分:定义了各种对象及对应的属性和 使用规则。 程序体:对所定义的对象进行各种操作。 $ididname IdnameAttributeIR  必要性 Token : 新表-符号表(种类、类型等信息):
Chapter 2 Network Models
CHAPTER 3 1. THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE  Outline: 1. Protocol Layers 2. OSI Model 3. TCP/IP Model 4. Addressing 2.
The OSI Model and the TCP/IP Protocol Suite
The OSI Model and the TCP/IP Protocol Suite
Computer Networks Lecture 1 & 2 Introduction and Layer Model Approach Lahore Leads University.
网上预约集港操作指南 一、登录系统 登陆下面图片显示网址:输入堆场用户名、密码和校验码登陆系统.
NDSL, Chang Gung University, 2.1 Chapter 2 Network Models 長庚大學資訊工程學系 陳仁暉 副教授 Tel: (03) Ext: 5990
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
The OSI Model and the TCP/IP Protocol Suite
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 8 Address Resolution Protocol.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
TCP/IP Protocol.
The OSI Model and the TCP/IP Protocol Suite Outline: 1.Protocol Layers 2.OSI Model 3.TCP/IP Model 4.Addressing 1.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Enabling RIP.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 2 Network Models.
Computer Networks and Internets 《计算机网络与因特网》课件 林坤辉
1 Kyung Hee University Chapter 2 Network Models. 2 Kyung Hee University 2.1 LAYERED TASKS We use the concept of layers in our daily life. As an example,
第四章 计算机数控( CNC )系统  本章重点:  1 计算机数控系统构成及其结构特点  2 运动轨迹插补原理  3 刀具补偿.
EC 营客通产品操作(九) EC 营客通产品操作(九) 400 电话 400 电话. 400 电话有助于提升企业形象,无论企业地址变更、机构 变化、人员变动,联系方式永远不变。且在 EC 上申请的 400 电话可以在 EC 平台上进行统一的 400 电话接听及 400 电话客服的管理。
超星数字图书馆 一、页面的使用 进入数字图书馆网页 下载超星阅读器 查找图书.
表单自定义 “ 表单自定义 ” 功能是用于制作表单的 工具,用数飞 OA 提供的表单自定义 功能能够快速制作出内容丰富、格 式规范、美观的表单。
OSPF. OSPF 协议概述 链路状态信息 RTA RTC RTD RTB 链路状态数据库 每台路由器会将当前正确的链路状态信息向一定 的范围内的所有主机发送 它支持区域的概念,同一区域内的路由器最终都 可以拥有对此区域相同的拓扑描述 每台路由器接收到此信息之后,根据最短路径算 法计算最优的下一跳.
Chapter 2. Network Models
BZUPAGES.COM 2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Network Models.
CSCD 218 : DATA COMMUNICATIONS AND NETWORKING 1
Computer Networks and Internets 《计算机网络与因特网》课件 林坤辉
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 6 Delivery and Forwarding.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
U niversity of S cience and T echnology of C hina VxWorks 及其应用开发 陈香兰 年 7 月.
张勤 人大报刊复印资料 专题全文数据库 简 介简 介 《人大报刊资料全文数据库》是中国人民大 学书报资料中心与北京博利群电子信息有限 公司联合开发研制的大型数据库光盘。它涵 盖面广、信息量大、分类科学、筛选严谨、 结构合理,是国内最具权威的社会科学、人.
SME.USTB Human Factors 人机工程学 By Wei Dong Department of Industry Design, SME, USTB.
Network Models.
Chapter 2 Network Models
Chapter 2 Network Models.
Lecture 3 By Miss Irum Matloob.
Chapter 3.
The OSI Model and the TCP/IP Protocol Suite
ADDRESSING Before you can send a message, you must know the destination address. It is extremely important to understand that each computer has several.
Chapter 3.
The OSI Model and the TCP/IP Protocol Suite
The OSI Model and the TCP/IP Protocol Suite
The OSI Model and the TCP/IP Protocol Suite
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Chapter 2 Network Models
The OSI Model and the TCP/IP Protocol Suite
1 安全体系结构 曹天杰 中国矿业大学计算机科学与技术学院. 2 安全体系结构 安全体系结构的内容包括:提供安全服务与 有关安全机制在本系统下的一般描述,这些 服务和机制必须为本系统所配备;确定本系 统内部可以提供这些服务的位置。 一个信息系统安全体系结构的形成主要是根.
2.1 Chapter 2 Network Models Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Presentation transcript:

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 2 The OSI Model and the TCP/IP Protocol Suite

TCP/IP Protocol Suite 2OBJECTIVES:  To discuss the idea of multiple layering in data communication and networking and the interrelationship between layers.  To discuss the OSI model and its layer architecture and to show the interface between the layers.  To briefly discuss the functions of each layer in the OSI model.  To introduce the TCP/IP protocol suite and compare its layers with the ones in the OSI model.  To show the functionality of each layer in the TCP/IP protocol with some examples.  To discuss the addressing mechanism used in some layers of the TCP/IP protocol suite for the delivery of a message from the source to the destination.

TCP/IP Protocol Suite 3 Chapter Outline 2.1 Protocol Layers 2.2 The OSI Model 2.3 TCP/IP Protocol Suite 2.4 Addressing

TCP/IP Protocol Suite PROTOCOL LAYERS In Chapter 1, we discussed that a protocol is required when two entities need to communicate. When communication is not simple, we may divide the complex task of communication into several layers. In this case, we may need several protocols, one for each layer. Let us use a scenario in communication in which the role of protocol layering may be better understood. We use two examples. In the first example, communication is so simple that it can occur in only one layer.

TCP/IP Protocol Suite 5 Topics Discussed in the Section Hierarchy Services

TCP/IP Protocol Suite 6 Assume Maria and Ann are neighbors with a lot of common ideas. However, Maria speaks only Spanish, and Ann speaks only English. Since both have learned the sign language in their childhood, they enjoy meeting in a cafe a couple of days per week and exchange their ideas using signs. Occasionally, they also use a bilingual dictionary. Communication is face to face and Happens in one layer as shown in Figure 2.1. Example Example 2.1

TCP/IP Protocol Suite 7 Figure 2.1 Example 2.1

TCP/IP Protocol Suite 8 Now assume that Ann has to move to another town because of her job. Before she moves, the two meet for the last time in the same cafe. Although both are sad, Maria surprises Ann when she opens a packet that contains two small machines. The first machine can scan and transform a letter in English to a secret code or vice versa. The other machine can scan and translate a letter in Spanish to the same secret code or vice versa. Ann takes the first machine; Maria keeps the second one. The two friends can still communicate using the secret code, as shown in Figure 2.2. Example Example 2.2

TCP/IP Protocol Suite 9 Figure 2.2 Example 2.2

TCP/IP Protocol Suite THE OSI MODEL Established in 1947, the International Standards Organization (ISO) is a multinational body dedicated to worldwide agreement on international standards. Almost three-fourths of countries in the world are represented in the ISO. An ISO standard that covers all aspects of network communications is the Open Systems Interconnection (OSI) model. It was first introduced in the late 1970s.

TCP/IP Protocol Suite 11 Topics Discussed in the Section Layered Architecture Layer-to-layer Communication Encapsulation Layers in the OSI Model Summary of OSI Layers

TCP/IP Protocol Suite 12 ISO is the organization; OSI is the model. Note

TCP/IP Protocol Suite 13 OSI 模型 结构:分层的框架结构 目的:设计出能够让各种类型的计算机系 统相互通信的网络系统 组成: 7 个独立且相关的层,每层完成网络 信息传输功能的一部分

TCP/IP Protocol Suite 14 Figure 2.3 The OSI model

TCP/IP Protocol Suite 15 分层模型重要概念 1. 服务 下层为上层服务 ( 无连接、面向连接 ) 2. 接口 下层为上层服务的入口 3. 封装 上层协议单元被封装在下层协议载荷中

TCP/IP Protocol Suite 16 Figure 2.4 OSI layers

TCP/IP Protocol Suite 17 Figure 2.5 An exchange using the OSI model

TCP/IP Protocol Suite 18 物理层 功能:比特流在物理媒介 ( 或媒体 ) 中传输 接口和媒介的物理特性 信号编码:比特的表示 数据传输速率 比特的同步 线路配置 物理拓扑 传输方式:单工、半双工、全双工

TCP/IP Protocol Suite 19 The physical layer is responsible for moving individual bits from one (node) to the next. Note

TCP/IP Protocol Suite 20 数据链路层 功能:将物理层转换为可靠的链路 组帧 物理编址 流量控制 差错控制 接入控制

TCP/IP Protocol Suite 21 网络层 功能:将分组从源节点交付到目的节点 逻辑编址 拓扑发现 路由选择 分组转发

TCP/IP Protocol Suite 22 运输 ( 或传输 ) 层 功能:进程到进程的报文交付 服务点编址 分段与重装 连接控制 流量控制 拥塞控制 差错控制

TCP/IP Protocol Suite 23 会话层 功能:对话控制 对话控制 同步

TCP/IP Protocol Suite 24 表示层 功能:信息的语法和语义 转换 加密 压缩

TCP/IP Protocol Suite 25 应用层 功能:让用户方便使用网络 各种常用网络服务,如 ,www 等

TCP/IP Protocol Suite 26 Figure 2.6 Summary of OSI Layers

TCP/IP Protocol Suite TCP/IP PROTOCOL SUITE The TCP/IP protocol suite was developed prior to the OSI model. Therefore, the layers in the TCP/IP protocol suite do not match exactly with those in the OSI model. The original TCP/IP protocol suite was defined as four software layers built upon the hardware. Today, however, TCP/IP is thought of as a five-layer model with the layers named similarly to the ones in the OSI model. Figure 2.7 shows both configurations.

TCP/IP Protocol Suite 28 Topics Discussed in the Section Comparison between OSI and TCP/IP Layers in the TCP/IP Suite

TCP/IP Protocol Suite 29 Figure 2.7 Layers in the TCP/IP Protocol Suite

TCP/IP Protocol Suite 30 Figure 2.8 TCP/IP and OSI model

TCP/IP Protocol Suite 31 Figure 2.9 A private internet

TCP/IP Protocol Suite 32 Figure 2.10 Communication at the physical layer

TCP/IP Protocol Suite 33 The unit of communication at the physical layer is a bit. Note

TCP/IP Protocol Suite 34 Figure 2.11 Communication at the data link layer

TCP/IP Protocol Suite 35 The unit of communication at the data link layer is a frame. Note

TCP/IP Protocol Suite 36 Figure 2.12 Communication at the network layer

TCP/IP Protocol Suite 37 The unit of communication at the network layer is a datagram. Note

TCP/IP Protocol Suite 38 Figure 2.13 Communication at transport layer

TCP/IP Protocol Suite 39 The unit of communication at the transport layer is a segment, user datagram, or a packet, depending on the specific protocol used in this layer. Note

TCP/IP Protocol Suite 40 Figure 2.14 Communication at application layer

TCP/IP Protocol Suite 41 The unit of communication at the application layer is a message. Note

TCP/IP Protocol Suite ADDRESSING Four levels of addresses are used in an internet employing the TCP/IP protocols: physical address, logical address, port address, and application- specific address. Each address is related to a one layer in the TCP/IP architecture, as shown in Figure 2.15.

TCP/IP Protocol Suite 43 Topics Discussed in the Section Physical Addresses Logical Addresses Port Addresses Application-Specific Addresses

TCP/IP Protocol Suite 44 Figure 2.15 Addresses in the TCP/IP protocol suite

TCP/IP Protocol Suite 45 物理地址 网络节点链路层地址 ( 通常为硬件地址 ) 。仅 对链路层 ( 局域网或广域网 ) 有效。

TCP/IP Protocol Suite 46 In Figure 2.16 a node with physical address 10 sends a frame to a node with physical address 87. The two nodes are connected by a link (a LAN). At the data link layer, this frame contains physical (link) addresses in the header. These are the only addresses needed. The rest of the header contains other information needed at this level. As the figure shows, the computer with physical address 10 is the sender, and the computer with physical address 87 is the receiver. The data link layer at the sender receives data from an upper layer. It encapsulates the data in a frame. The frame is propagated through the LAN. Each station with a physical address other than 87 drops the frame because the destination address in the frame does not match its own physical address. The intended destination computer, however, finds a match between the destination address in the frame and its own physical address. Example Example 2.3

TCP/IP Protocol Suite 47 Figure 2.16 Example 2.3: physical addresses

TCP/IP Protocol Suite 48 As we will see in Chapter 3, most local area networks use a 48- bit (6-byte) physical address written as 12 hexadecimal digits; every byte (2 hexadecimal digits) is separated by a colon, as shown below: Example Example :01:02:01:2C:4B A 6-byte (12 hexadecimal digits) physical address

TCP/IP Protocol Suite 49 逻辑地址 逻辑地址是网络层地址,用来唯一地标志 连接在 Internet 上的第一台主机 逻辑地址是全局性地址,与底层的物理网 络无关

TCP/IP Protocol Suite 50 Figure 2.17 shows a part of an internet with two routers connecting three LANs. Each device (computer or router) has a pair of addresses (logical and physical) for each connection. In this case, each computer is connected to only one link and therefore has only one pair of addresses. Each router, however, is connected to three networks. So each router has three pairs of addresses, one for each connection. Although it may be obvious that each router must have a separate physical address for each connection, it may not be obvious why it needs a logical address for each connection. We discuss these issues in Chapters 11 and 12 when we discuss routing. The computer with logical address A and physical address 10 needs to send a packet to the computer with logical address P and physical address 95. We use letters to show the logical addresses and numbers for physical addresses, but note that both are actually numbers, as we will see in later chapters. Example Example 2.5

TCP/IP Protocol Suite 51 Figure 2.17 Example 2.5: logical addresses

TCP/IP Protocol Suite 52 The physical addresses will change from hop to hop, but the logical addresses remain the same. Note

TCP/IP Protocol Suite 53 端口地址 用于区别同一台主机中的不同进程

TCP/IP Protocol Suite 54 Figure 2.18 shows two computers communicating via the Internet. The sending computer is running three processes at this time with port addresses a, b, and c. The receiving computer is running two processes at this time with port addresses j and k. Process a in the sending computer needs to communicate with process j in the receiving computer. Note that although both computers are using the same application, FTP, for example, the port addresses are different because one is a client program and the other is a server program, as we will see in Chapter 17. Example Example 2.6

TCP/IP Protocol Suite 55 Figure 2.18 Example 2.6: port numbers

TCP/IP Protocol Suite 56 The physical addresses change from hop to hop, but the logical and port addresses usually remain the same. Note

TCP/IP Protocol Suite 57 As we will see in future chapters, a port address is a 16-bit address represented by one decimal number as shown. Example Example A 16-bit port address represented as one single number

TCP/IP Protocol Suite 58 特定应用地址 如 地址、 URL 等