IP网络技术基础课件(英文)ppt.ppt
《IP网络技术基础课件(英文)ppt.ppt》由会员分享,可在线阅读,更多相关《IP网络技术基础课件(英文)ppt.ppt(41页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Meng TianTian207 NJUPT1End-to-End ProtocolOutline Simple Demultiplexer (UDP) Reliable Byte-Stream (TCP)Connection Establishment/TerminationSliding Window Revisited Flow ControlMeng TianTian207 NJUPT2The Layered Network StackPhysical LayerApplication LayerTransport Layer (TCP/UDP)Network Layer (IP)Da
2、ta Link LayerInternet StackPhysical LayerSession LayerTransport LayerNetwork LayerData Link LayerOSI StackPresentation LayerApplication LayerMeng TianTian207 NJUPT3End-to-End Protocols Underlying best-effort network drop messages re-orders messages delivers duplicate copies of a given message limits
3、 messages to some finite size delivers messages after an arbitrarily long delay Common end-to-end services guarantee message delivery deliver messages in the same order they are sent deliver at most one copy of each message support arbitrarily large messages support synchronization allow the receive
4、r to flow control the sender support multiple application processes on each hostMeng TianTian207 NJUPT4 Transport layer uses the network layer, to send and receive data. Transport Protocol Data Unit (TPDU) Each layer adds its part TCP segment, IP packet, Data link frameOverview of Transport LayerMen
5、g TianTian207 NJUPT5Overview of Transport Layer(cont.)Meng TianTian207 NJUPT6 Two types of transport services connection-oriented connectionlessEnd-to-End ProtocolsMeng TianTian207 NJUPT7Simple Demultiplexor (UDP) Transport protocol above IP simply passes IP through to the upper (application) layers
6、 Unreliable and unordered datagram service Adds multiplexing No flow control Endpoints identified by ports servers have well-known ports FTP - 21, Telnet - 23, http - 80, pop - 110, DNS - 53Meng TianTian207 NJUPT8UDP “Features” Gives apps the option to send packets unreliably Useful for multicast ap
7、ps Low delay transmission for interactive text/audio/video Minimal connection state: “connectionless” Minimal connection setup time No congestion control blast away Build own application-level protocol on top of UDPMeng TianTian207 NJUPT9UDPUDP Header:Only 8 bytes! (vs. IP 20 bytes header)Source por
8、t for UDP sending processDest port for UDP receiving processLength in bytes of UDP header + payloadChecksum over UDP header + payloadSource Port #Dest. Port #UDP lengthChecksum1632UDP payload dataUDP payloadIPhdrUDPhdrError DetectionMeng TianTian207 NJUPT10Error Detection Why is there error detectio
9、n in the transport layer given that the same function is provided by the data link layer Reliable transmission along each link is still no guarantee of error-free transmission between the source and the destination.Meng TianTian207 NJUPT11Error Detection (cont.)Meng TianTian207 NJUPT12TCP Overview C
10、onnection-oriented TCP provides: Reliable delivery of packets, Stream or in-order deliveryApplication processWritebytesTCPSend bufferSegmentSegmentSegmentTransmit segmentsApplication processReadbytesTCPReceive buffer Full duplex Flow control: keep sender from overrunning receiver Congestion control:
11、 keep sender from overrunning networkMeng TianTian207 NJUPT13Transport Control Protocol Provides a reliable end-to-end byte stream over an unreliable network such as IP. Provides connection oriented user-to-user service connection management No intermediate nodes are involved in connection establish
12、ment. TCP service is obtained by having both the sender and receiver create end points called sockets. Each socket is associated (bound) with IP address of the host 16-bit number local to the host called a portMeng TianTian207 NJUPT14Transport Control Protocol(cont.)Meng TianTian207 NJUPT15Data Link
13、 Versus Transport Potentially connects many different hosts need explicit connection establishment and termination Potentially different RTT need adaptive timeout mechanism Potentially long delay in network need to be prepared for arrival of very old packets Potentially different capacity at destina
14、tion need to accommodate different node capacity Potentially different network capacity need to be prepared for network congestionMeng TianTian207 NJUPT16TCP Segment A segment consists of a fixed 20-byte header (plus an optional part) followed by zero or more data bytesMeng TianTian207 NJUPT17TCP Se
15、gment (cont.)Source port (16 bits) Specifies the application sending the segment.Meng TianTian207 NJUPT18TCP Segment (cont.)Destination port (16 bits) Identifies the application to which the segment is sent.Meng TianTian207 NJUPT19TCP Segment (cont.)Sequence number (32 bits) Contains the sequence nu
16、mber of the first byte of data. Meng TianTian207 NJUPT20TCP Segment (cont.)Acknowledgment number (32 bits) Contains the byte sequence number which the receiving TCP entity expects to receive next.Meng TianTian207 NJUPT21TCP Segment (cont.)Header length (4 bits): the size of the TCP header.Meng TianT
17、ian207 NJUPT22TCP Segment (cont.)Flags (6 bits) Control functions for establishing and removing connections etc. Include URG, ACK, PSH, RST, SYN, FIN.Meng TianTian207 NJUPT23TCP Segment (cont.)Window (16 bits) Tells the receiving TCP entity how many data bytes the sending TCP entity can accept.Meng
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IP 网络技术 基础 课件 英文 ppt
限制150内