欢迎来到天天文库
浏览记录
ID:34395201
大小:869.33 KB
页数:25页
时间:2019-03-05
《初级课程-tcp_ip协议讲座1new》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Ethernet/TCP-IP-TrainingSuite01–TCP-IPIntroductionGenericinformationaboutTCP-IP2SMTP?FTP?BOOTP?DHCPHTTPPOP3???TFTPIPSNMP?ICMPPPP?DNS?ARPTelnet?UDP?TCPAlayeredprotocolstack3Application•Themaininterfacefortheuser.Layer•HigherlevelprotocolsTransport•End-to-endconnections(UDPandTC
2、P)Layer•Ensurereliability(TCP)Internet•Intra&Inter-NetworkcommunicationLayer•noguarantyofdeliveryDatalink•Intra-NetworkcommunicationLayer•TransportdataonthephysicalsupportTCP-IP:Encapsulation4UserDataTFTPUserHeaderDataUDPTFTPUserHeaderHeaderDataIPUDPTFTPUserHeaderHeaderHeaderD
3、ataEthernetIPUDPTFTPUserEthernetHeaderHeaderHeaderHeaderDataTrailerTCP-IP:KeyProtocols5IwanttoIPIPsenddatato127.127.127.127TransportLayerTCPUDPIwanttoUDPsendadatagramUDPInternetLayerontheport#IPIwanttoTCPsenddatainDatalinkLayerEthernetTCPareliablewaySTM32F4x7ontheport#PHYTCP-I
4、P:KeyProtocols6WhoknowsARPTransportLayerARP127.127.127.127’sMACaddress?TCPUDPInternetLayerIsendorICMPICMPreceivequeriesICMPPINGIPorerrormessages127.127.127.127ARPDatalinkLayerEthernetSTM32F4x7PHYTCP-IP:KeyApplicationlayerprotocols7ApplicationLayerBOOTPBOOTPDHCP/IwanttogetanDHC
5、PDNSDHCPBOOTPIPaddress?TransportLayerWhatisDNSTCPUDPDNStheIPaddressofwww.st.com?InternetLayerICMPIPARPDatalinkLayerEthernetSTM32F4x7PHYEthernet/TCP-IP-TrainingSuite01–TCP-IPIntroductionEthernet/TCP-IP-TrainingSuite02-ARPICMPDHCPDNSprotocolsTCP-IP:KeyProtocols(ARP)10TransportLa
6、yerWhoknowsARPARP192.168.0.10’sTCPUDPMACaddress?InternetLayerIPARPDatalinkLayerEthernetSTM32F4x7PHYWhyARPisneeded11•ApplicationonlyknowsIP(192.168.0.10)ARP•NetworkinterfaceonlyneedsMACdynamicmapping(02-00-00-00-00-00),neverdetectsIP--MACIP(192.168.0.10)IPMAC192.168.0.1002-00-0
7、0-00-00-00Demonstration12IP:static192.168.0.10IP:192.168.0.11DHCP192.168.0.xMAC:Dell_8c:fb:d1MAC:02-00-00-00-00-00ARPexample13QueryARPcacheARPcachePingARPcacheNewmappingisaddedWhathappened?14AddressResolutionProtocol(ARP)15TCP-IP:KeyProtocols(ICMP)16TransportLayerWhoknowsARPAR
8、P127.127.127.127’sTCPUDPMACaddress?InternetLayerIsendorICMPIC
此文档下载收益归作者所有