欢迎来到天天文库
浏览记录
ID:49310910
大小:611.00 KB
页数:42页
时间:2020-02-03
《CCNA思科网络技术学院教程-第19章_深入理解TCP.ppt》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、第19章深入理解TCP主要内容描述TCP/IP如何保证任何互联网间的通信。19.1TCP/IP协议集HostInternetTCP/IPHostTCP/IP协议栈76543243ApplicationPresentationSessionTransportNetworkDataLinkPhysical1ApplicationTransportInternetNetworkInterfaceOSITCP/IP19.2应用层协议*UsedbytherouterApplicationTransportInternetDataLinkPhysicalFileTransfer-TFTP*-F
2、TP*E-Mail-SMTPRemoteLogin-Telnet*-rlogin*NetworkManagement-SNMP*NameManagement-DNS*19.3传输层协议TransmissionControlProtocol(TCP)UserDatagramProtocol(UDP)ApplicationTransportInternetDataLinkPhysicalConnection-OrientedConnectionless1、TCP数据段格式Sourceport(16)Destinationport(16)Sequencenumber(32)Heade
3、rlength(4)Acknowledgementnumber(32)Reserved(6)Codebits(6)Window(16)Checksum(16)Urgent(16)Options(0or32ifany)Data(varies)20BytesBit0Bit15Bit16Bit31Nosequenceoracknowledgmentfields2、UDPSegmentFormatSourceport(16)Destinationport(16)Length(16)Data(ifany)1Bit0Bit15Bit16Bit31Checksum(16)8Bytes3、P
4、ortNumbersTCPPortNumbersFTPTransportLayerTELNETDNSSNMPTFTPSMTPUDPApplicationLayer2123255369161RIP520TCP端口号SourcePortDest.Port…HostA102823…SPDPHostZTelnetZDest.port=23.SendpackettomyTelnetapplication.SendSYN(seq=100ctl=SYN)SYNreceivedHostAHostB4、TCPThreeWayHandshake/Ope
5、nConnection1SendSYN(seq=100ctl=SYN)SYNreceivedSendSYN,ACK(seq=300ack=101ctl=syn,ack)HostAHostBSYNreceived12TCPThreeWayHandshake/OpenConnectionSendSYN(seq=100ctl=SYN)SYNreceivedSendSYN,ACK(seq=300ack=101ctl=syn,ack)Established(seq=101ack=301ctl=ack)HostAHostB123SYNreceivedTCPThreeWayHandshake/O
6、penConnection5、TCPSimpleAcknowledgmentWindowsize=1SenderReceiverTCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2R
7、eceive2TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2ReceiveACK3SendACK3TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2ReceiveACK3SendACK3Sen
此文档下载收益归作者所有