版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領
文檔簡介
InternetProtocolOverview1.0 TCP/IPandtheDoDModel2.0 IPAddressing3.0 Subnetting1.0 TCP/IPandtheDoDModel1.1 ComparisonofDodandOSIModel1.2 TheTCP/IPprotocolsuite1.3 TheProcess/ApplicationlayerProtocols1.4 TheHost-to-HostLayerProtocols1.5 TheInternetLayerProtocols1.1 ComparisonofDoDandOSIModel(1)TheTCP/IPsuitewascreatedbytheDoDTheDoDmodelisacondensedversionoftheOSImodelApplicationPresentationSessionTransportNetworkDataLinkPhysicalProcess/ApplicationHost-to-HostInternetNetworkAccessDoDModelOSIModelNode-to-nodeapplicationcommunicationControlsuser-interfacespecificationsSettinguptheleveloftransmissionserviceforapplicationsTakescareIPaddressanddesignateprotocolsforlogicaltransmissionofpacketsovertheentirenetworkOverseeshardwareaddressinganddefinesprotocolsforthephysicaltransmissionofdata1.1 ComparisonofDoDandOSIModel(2)TCP/IPModelOSIModel1.2 TheTCP/IPProtocolSuiteProcess/ApplicationTelnetTCPUDPIPICMPARPLANTechnologies:Ethernet,FastEthernet,TokenRing,FDDIWANTechnologies:SerialLines,FrameRelay,ATMRARPHost-to-HostInternetNetworkAccessFTPTFTPSMTPLPDSNMPNFSXWindowBootP/DHCPDNSIGMP1.3 TheProcess/ApplicationLayerProtocolsTelnet–TelephoneNetworkFTP–FileTransferProtocolTFTP–TrivialFileTransferProtocolNFS–NetworkFileSystemSMTP–SimpleMailTransferProtocolLPD–LinePrinterDaemonXWindow–writingaGUI-basedclient/serverapplicationsDNS–DomainNameService(DNS)BootP–BootstrapProtocolDHCP–DynamicHostConfigurationProtocol1.4 TheHost-to-HostLayerProtocolsToshieldtheupper-layerapplicationsfromthecomplexitiesofthenetworkTCP(TransmissionControlProtocol)BreakdowndatafromupperlayersintoSegmentNumbersandsequenceseachsegmentConnection-oriented–virtualcircuitrequiredUserDatagramProtocol(UDP)BreakdowndatabutnotsequencethesegmentThinprotocolwhichdoesn’ttakeupmuchbandwidthonanetworkConnectionless–novirtualcircuitrequired,thusunreliableForsendinglittlemessageandreliabilityaccomplishedattheupperlayers1.4a TransmissionControlProtocol(TCP)Connection-orientedSessionisestablishedbeforeexchangingdataVirtualcircuitrequiredReliableDeliverySequencenumbersAcknowledgments(ACKs)Doesn’ttrustthelowerlayersandrunsitsownCRCUsesPortNumbersasEndpointstoCommunicate1.4b TCPThree-WayHandshakeApplicationTransportInternetNetworkDataApplicationTransportInternetNetworkData,ACK(+startbyte)ACK1.4cTCPSegmentFormat1.4dUserDatagramProtocol(UDP)ConnectionlessNosessionisestablishedDoesNotGuaranteeDeliveryNosequencenumbersNoacknowledgmentsLowoverheadReliabilityIstheResponsibilityoftheApplicationDoesn’ttrustthelowerlayersandrunsitsownCRCUsesPortNumbersasEndpointstoCommunicate1.4eUDPSegmentFormatLowoverheadNosequencenumberNoAcknowledgementnumberNowindowssizeTransportApplicationInternetNetwork1.4fPortsNumbers(1)TCPandUDPmustuseportnumberstocommunicatewiththeupperlayers.Portnumberskeeptrackofdifferentconversationscrossingthenetworksimultaneously.TFTPServerWebServer0...655350...65535TCPPorts20,21UDPPort69TCPPort80WindowsSocketsInterfaceTCPProtocolNo.6UDPProtocolNo.17IPFTPServerSMTPTCPPort25DNSUDPPort53POP3UDPPort110SNMPUDPPort1611.4g PortNumbers(2)No.below1024Well-knownportno.definedinRFC1700UsuallyindestinationporttotellthereceivinghostthepurposeoftheintendedconnectionNo.1024andaboveusedbyupperlayers(randomlychosen)tosetupsessionswithotherhostsUsedbyTCPtouseassourceanddestinationaddressesintheTCPsegmentUsuallyinSourceporttodifferentiatebetweensessionswithdifferentsourcehosts1.5TheInternetLayerProtocolsForroutingandprovidingasinglenetworkinterfacetotheupperlayerlayers.AllnetworkpathsthroughthemodelgothroughIP.ProtocolsworksattheInternetLayer:InternetProtocol(IP)–essentiallyistheInternetLayer,andotherprotocolsfoundheremerelyexisttosupportit.InternetControlMessageProtocol(ICMP)AddressResolutionProtocol(ARP)ReverseAddressResolutionProtocol(RARP)1.5a InternetProtocol(IP)AddressesandRoutesPacketsaccordingtotheRoutingTableFragmentsandReassemblesDatagrams/PacketsConnectionlessNosessionisestablishedNonguaranteed“BestEffort”DeliveryReliabilityIstheResponsibilityofHigher-LayerProtocolsandApplications1.5b IPheader*Protocolnumber:01––ICMP,06–TCP,17––UDP,etc.1.5c InternetControlMessageProtocol(ICMP)ManagementProtocolandmessagingserviceproviderforIP.Inroutersolicitation,ICMPisusedtosendthefollowingeventsandmessages(intheDataarea):DestinationUnreachableBufferFullHopsPingTraceroute1.5d AddressResolutionProtocol(ARP)SuccessfulMappingofanIPAddresstoaHardwareAddressARPUsesaLocalBroadcasttoObtainaHardwareAddressAddressMappingsAreStoredinaCacheforFutureReference1.5e ResolvingalocalIPAddressARPCache808004...ARPCache808004...4IPAddress=8HardwareAddress=08004...IPAddress=9HardwareAddress=08007...3HardwareAddress=08007...21ping9ARPBroadcast1.5f ResolvingaRemoteIPAddressARouterBIPAddress=4HardwareAddress=08004...IPAddress=9HardwareAddress=08009...ARPCache08009...08006...ARPCache08004...4108005...08006...25ping9ARPCache3Network1Network2321ARPBroadcastforRouterInterfaceAARPBroadcastforRouterInterfaceBAB451.5g ReverseAddressResolutionProtocol(RARP)TodiscovertheidentityoftheIPaddressfordisklessmachineswithaRARPbroadcastFordisklessworkstationaskingforitsIPaddress2.0IPAddressing2.1IPTerminology2.2TheHierarchicalIPAddressingScheme2.3NetworkAddressing2.4AddressClassSummary2.5Networkaddresses:SpecialPurposeandGuidelines2.6AssigningNetworkAddresses2.7AssigningHostAddressesIPAddressingwasdesignedtoallowahostononenetworktocommunicatewithahostonadifferentnetwork,regardlessofthetypeofLANsthehostareparticipatingin.2.1IPTerminologyBit/ByteOctetNetworkAddress/SubnetAddress/HostAddressBroadcastAddressSendinginformationtoallnodesonanetworklocal/limitedbroadcast–55–allnetworks,allnodesDirectedbroadcast–allthebitsofhostaddressturnedon––allsubnetsandhostsonnetworkBroadcastdomain––agroupofdevicesreceivingbroadcastframesinitiatingfromanydevicewithinthegroup.Becausetheydonotforwardbroadcastframes,broadcastdomainsaregenerallysurroundedbyrouters.2.2TheHierarchicalIPAddressingSchemeNetworkIDHostID32Bitsw.x.y.z.6Example:ClassBTheIPaddressisastructureorhierarchicaladdresswhichconsistsofa32-bitbinarynumberof4octetsandisusuallydisplayedinthedecimalformat6(dotteddecimalnotation).2.3NetworkAddressing*TheclassoftheNetworkisdeterminedbythehighorderbits*ClassDisforMulticastandClassEisreservedforResearch.ClassCClassANetworkAddressHostAddress0ClassBNetworkAddressHostAddress10NetworkAddressHostAddress11000000000000000011..0111111012601111111127100000001281011111119111000000192110111112232.4AddressClassSummaryNumberofNetworks12616,3842,097,152NumberofHostsperNetwork16,777,21465,534254ClassAClassBClassCRangeofNetworkIDs
(FirstOctet)1–126128–191192–2232.5NetworkAddresses:SpecialPurposeandGuidelinesNetworkAddressCannotBe127127isreservedforloopbackfunctionsandself-diagnosticisreservedasaloopbackaddressNetworkIDand/orHostIDCannotBeAllBitsSetto1All1smeans“Allnetworks”,or“allnodes”255isabroadcastaddress;amessagesenttothisaddressisbroadcasttoeachmachineonthesubnet.E.g.55–sendto“allnodes”onnetwork128.255LimitedBroadcastNetworkIDand/orHostIDCannotBeAllBitsSetto0-usedbyCiscorouterstodesignatethedefaultroute0means“thisnetworkorsegment”,or“thisnode”HostIDMustBeUniquetotheNetwork2.6AssigningNetworkAddressesRouter123124.x.y.z192.121.73.z131.107.y.zRouter2.7AssigningHostAddressesRouterRouter789789124.x.y.z192.121.73.z131.107.0.z1233.0Subnetting3.1WhatisaSubnet?3.2 WhySubnetting?3.3 ImplementingSubnetting3.4 SubnetMasks3.5 DefaultSubnetMasks3.6 PossibleSubnetMasksforClassA,B&C3.7 DefiningaSubnetMask3.8 DefiningaSubnetIDs3.9 DefiningaHostIds3.10Example3.1WhatisaSubnet?(1)7Subnet12Subnet21MainNetworkAsubnetisasubsectionofannetwork,definedforadministrativepurposeortocutdownonbroadcasttraffic,asallmessagesonanetworkare““heard”byallhostswhetherthemessageisforthathostornot.Messagesentfromonehosttoanotherwithinthesamesubnetdonotneedtoberouted,butmessagessentbetweenhostsindifferentsubnetsmustberouted.Subnetsareconnectedbyrouters,ordefaultgateways.3.1WhatisaSubnet?(2)NetworkIDHostID10ExampleNetworkIDFROMISPNo.ofNetwork=1SUBNETMASKNo.ofHosts=65534(2^16-2)NetworkIDHostID10WeneedmorenetworksSubnetIDBorrowfromHostID3.1WhatisaSubnet?(3)AfterSubnetNetworkIDbecome-SubnetmaskbecomeNo.ofSubnets254HostforperSubnet254(2^8-2)NetworkIDHostID10SubnetIDUseall8bit11111111forSubnet254combinations(2^8-2)*Only8bitforHost*However,accordingtoRFC1812,255combinationscanbeachieved.3.1WhatisaSubnet?(4)AfterSubnetNetworkIDSubnetMaskHostRange-54-54-54-54………………………….-54-54-54TOTAL254SUBNETS254HOSTSPERSUBNET3.2WhySubnetting?Reducednetworktraffic––smallerthenetworksmallerthebroadcastdomainsandlessnetworktrafficonthatnetworksegmentOptimizednetworkperformance––resultofreducednetworktrafficSimplifiedmanagement––easiertoidentifyandisolatenetworkproblemsinasmallergroupFacilitatedspanningoflargegeographicaldistances––sinceWANlinksareconsiderablyslowerandmoreexpensive;connectingmultiplesmallernetworksmakesthesystemmoreefficient3.3ImplementingSubnettingDeterminetheNumberofRequiredNetworkIDsOneforeachsubnetOneforeachwide-areanetworkconnectionDeterminetheNumberofRequiredHostIDsperSubnetOneforeachTCP/IPhostOneforeachrouterinterfaceBasedontheaboverequirement,createthefollowing:DefineOneSubnetMaskBasedonRequirementsDefineaUniqueSubnetIDforEachPhysicalSegmentBasedontheSubnetMaskDefineValidHostIDsforEachSubnetBasedontheSubnetID3.4SubnetMasksA32-bitvaluecomposedof1sand0s.The1sinthesubnetmaskrepresentthepositionsthatrefertothenetworkorsubnetaddresses.DistinguishestheNetworkIDfromtheHostIDUsedtoSpecifyWhethertheDestinationHostisLocalorRemoteIfANDedresultsofsourceanddestinationhostsmatch,thedestinationislocal3.5DefaultSubnetMasksBitsUsedforSubnetMaskAddressClassDottedDecimalNotationClassAClassBClassC11111111000000000000000000000000111111111111111100000000000000001111111111111111111111110000000016.20007.w.x.IPAddressSubnetMaskNetworkIDHostID16.200y.z3.6PossibleSubnetMasksforClassA,B&CClassC28922440485254ClassB28922440485254ClassA289224404852543.7DefiningaSubnetMaskConverttheNumberofSegmentstoBinaryCounttheNumberofRequiredBitsConverttheRequired
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五版苗木種植基地環(huán)保技術研發(fā)合同4篇
- 二零二五年度旅游車輛租賃與旅游產(chǎn)品設計合同3篇
- 2025版智慧城市交通管理系統(tǒng)建設合同范本二零二五4篇
- 2025年度智慧醫(yī)療設備銷售代理合同2篇
- 2025版南京租賃房屋租賃押金退還合同4篇
- 2025年度農(nóng)業(yè)科技示范園區(qū)建設合同8篇
- 2025年個人房產(chǎn)測繪與房地產(chǎn)營銷服務合同
- 二零二五年度高端定制實木地板采購供應合同4篇
- 2025年度鎳礦出口退稅與物流服務合同范本4篇
- 二零二五年度新型暖氣材料研發(fā)與應用推廣合同范本4篇
- 環(huán)境監(jiān)測對環(huán)境保護的意義
- 2023年數(shù)學競賽AMC8試卷(含答案)
- 神經(jīng)外科課件:神經(jīng)外科急重癥
- 2024年低壓電工證理論考試題庫及答案
- 2023年十天突破公務員面試
- 《瘋狂動物城》中英文對照(全本臺詞)
- 醫(yī)院住院醫(yī)師規(guī)范化培訓證明(樣本)
- 小學六年級語文閱讀理解100篇(及答案)
- 氣功修煉十奧妙
- 安徽省物業(yè)服務標準
- 勾股定理的歷史與證明課件
評論
0/150
提交評論