文档介绍:Chapter 3 Chapter 3 works with TCP/IP ? Interconnecting Networks with TCP/IP ?识别 IP协议栈 protocol stack 、各层协议的功能和广泛使用的各种 IP协议?识别 IP地址类别、 IP地址、 IP子网掩码、IP网络号、 IP子网号和可以使用的主机地址?进行子网规划与子网划分 Objectives Objectives Introduction to TCP/IP Introduction to TCP/IP Host TCP/IP Host ? TCP/IP 协议起源于美国国防部高级项目研究机构 DARPA 在 60 年代开发的 。?目前广泛应用于因特网和公司内部的私有网络。 TCP/IP Protocol Stack TCP/IP Protocol Stack Applicatio nPresentation Session work Data Link Physical Applicatio nTransport Data Link Physical TCP/IP 协议简化了层次设计,与 OSI 模型有清晰的对应关系。应用层应用层* Used by the router Application Transport Data Link Physical File Transfer - TFTP , FTP - NFS E-Mail - SMTP , work Service - HTTP - DNS , work Management - SNMP * - Ping - Traceroute - * File Transfer - TFTP , FTP - NFS E-Mail - SMTP , work Service - HTTP - DNS , work Management - SNMP * - Ping - Traceroute - * 应用层处理特定的程序细节,提供网络应用的用户界面。传输层传输层 Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Transmission Control Protocol (TCP) User Datagram Protocol (UDP) Application Transport Data Link Physical Connection- Oriented Connectionless ,以及滑动窗口流量控制、由序列号和确认技术实现可靠性,支持全双工传输。主要有 TCP 和UDP 协议。 : 面向连接,在传输数据之前要先建立连接,有流量控制、差错检测、数据重发功能。包头较大,网络开销大。 : 无连接,直接发送数据,不进行流量控制,没有差错检测和数据重传功能。包头小,网络开销较小。网络层网络层?网络层检查网络拓补结构,决定传输报文的最佳路由, 执行数据转发。核心是确定数据包从源端到目的端如何选择路由。 Protocol (IP) Control Message Protocol (ICMP) Address Resolution Protocol (ARP) Reverse Address Resolution Protocol (RARP) Protocol (IP) Control Message Protocol (ICMP) Address Resolution Protocol (ARP) Reverse Address Resolution Protocol (RARP) Application Transport IP Data Link Physical ICMP ARP RARP 数据链路层和物理层数据链路层和物理层 , 对物理层进行控制,检测并纠正可能出现的错误,还进行流量控制。 : 、 、PPP 、HDLC 、FR , 对物理层进行控制,检测并纠正可能出现的错误,还进行流量控制。 : 、 、PPP 、HDLC 、FR Application Transport IP Data Link Physical 物理层主要通过接口和线缆来传输二进制的数据比