欢迎来到天天文库
浏览记录
ID:49225527
大小:506.50 KB
页数:31页
时间:2020-02-02
《CCNA思科网络技术学院教程-第9章_TCP-IP传输层与应用层.ppt》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、第9章TCP/IP传输层与应用层主要内容讨论传输层如何利用网络层提供的服务来提供源和目的地之间的端到端连接。9.1理解TCP/IP传输层TransmissionControlProtocol(TCP)UserDatagramProtocol(UDP)ApplicationTransportInternetNetworkinterfaceConnection-OrientedConnectionless1、TCP数据段格式Sourceport(16)Destinationport(16)Sequencenumber(32)Headerlength(
2、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)8By
3、tes3、PortNumbersTCPPortNumbersFTPTransportLayerTELNETDNSSNMPTFTPSMTPUDPApplicationLayer2123255369161RIP520理解TCP端口号SourcePortDest.Port…HostA102823…SPDPHostZTelnetZDest.port=23.SendpackettomyTelnetapplication.Determinesdestinationupper-layerprotocol4、Proto
4、colFieldTransportLayerInternetLayerTCPUDPProtocolNumbersIP176SendSYN(seq=100ctl=SYN)SYNreceivedHostAHostB5、TCPThreeWayHandshake/OpenConnection1SendSYN(seq=100ctl=SYN)SYNreceivedSendSYN,ACK(seq=300ack=101ctl=syn,ack)HostAHostBSYNreceived12TCPThreeWayHandshake/OpenConnectionSen
5、dSYN(seq=100ctl=SYN)SYNreceivedSendSYN,ACK(seq=300ack=101ctl=syn,ack)Established(seq=101ack=301ctl=ack)HostAHostB123SYNreceivedTCPThreeWayHandshake/OpenConnectionTCPSimpleAcknowledgmentWindowsize=1SenderReceiverTCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1TCPSim
6、pleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2ReceiveACK3SendA
7、CK3TCPSimpleAcknowledgmentWindowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2ReceiveACK3SendACK3Send3Receive3Windowsize=1SenderReceiverSend1Receive1ReceiveACK2SendACK2Send2Receive2ReceiveACK3SendACK3Send3Receive3ReceiveACK4SendACK4TCPSimpleAcknowledgmentTCPSe
8、quenceandAcknowledgmentNumbersSourcePortDest.P
此文档下载收益归作者所有