版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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.4c TCPSegmentFormat1.4d UserDatagramProtocol(UDP)ConnectionlessNosessionisestablishedDoesNotGuaranteeDeliveryNosequencenumbersNoacknowledgmentsLowoverheadReliabilityIstheResponsibilityoftheApplicationDoesn’ttrustthelowerlayersandrunsitsownCRCUsesPortNumbersasEndpointstoCommunicate1.4e UDPSegmentFormatLowoverheadNosequencenumberNoAcknowledgementnumberNowindowssizeTransportApplicationInternetNetwork1.4f PortsNumbers(1)TCPandUDPmustuseportnumberstocommunicatewiththeupperlayers.Portnumberskeeptrackofdifferentconversationscrossingthenetworksimultaneously.TFTPServerWebServer0...655350...65535TCPPorts20,21UDPPort69TCPPort80WindowsSocketsInterfaceTCPProtocolNo.6UDPProtocolNo.17IPFTPServerSMTPTCPPort25DNSUDPPort53POP3UDPPort110SNMPUDPPort1611.4g PortNumbers(2)No.below1024Well-knownportno.definedinRFC1700UsuallyindestinationporttotellthereceivinghostthepurposeoftheintendedconnectionNo.1024andaboveusedbyupperlayers(randomlychosen)tosetupsessionswithotherhostsUsedbyTCPtouseassourceanddestinationaddressesintheTCPsegmentUsuallyinSourceporttodifferentiatebetweensessionswithdifferentsourcehosts1.5 TheInternetLayerProtocolsForroutingandprovidingasinglenetworkinterfacetotheupperlayerlayers.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.0 IPAddressing2.1 IPTerminology2.2 TheHierarchicalIPAddressingScheme2.3 NetworkAddressing2.4 AddressClassSummary2.5 Networkaddresses:SpecialPurposeandGuidelines2.6 AssigningNetworkAddresses2.7 AssigningHostAddressesIPAddressingwasdesignedtoallowahostononenetworktocommunicatewithahostonadifferentnetwork,regardlessofthetypeofLANsthehostareparticipatingin.2.1 IPTerminologyBit/ByteOctetNetworkAddress/SubnetAddress/HostAddressBroadcastAddressSendinginformationtoallnodesonanetworklocal/limitedbroadcast–55–allnetworks,allnodesDirectedbroadcast–allthebitsofhostaddressturnedon–allsubnetsandhostsonnetworkBroadcastdomain–agroupofdevicesreceivingbroadcastframesinitiatingfromanydevicewithinthegroup.Becausetheydonotforwardbroadcastframes,broadcastdomainsaregenerallysurroundedbyrouters.2.2 TheHierarchicalIPAddressingSchemeNetworkIDHostID32Bitsw.x.
y.z.172.16.30.56Example:ClassBTheIPaddressisastructureorhierarchicaladdresswhichconsistsofa32-bitbinarynumberof4octetsandisusuallydisplayedinthedecimalformat6(dotteddecimalnotation).2.3 NetworkAddressing*TheclassoftheNetworkisdeterminedbythehighorderbits*ClassDisforMulticastandClassEisreservedforResearch.ClassCClassANetworkAddressHostAddress0ClassBNetworkAddressHostAddress10NetworkAddressHostAddress11000000000 00000001 1..01111110 12601111111 12710000000 12810111111 19111000000 19211011111 2232.4 AddressClassSummaryNumberofNetworks12616,3842,097,152NumberofHostsperNetwork16,777,21465,534254ClassAClassBClassCRangeofNetworkIDs
(FirstOctet)1–126128–191192–2232.5 NetworkAddresses:SpecialPurposeandGuidelinesNetworkAddressCannotBe127127isreservedforloopbackfunctionsandself-diagnosticisreservedasaloopbackaddressNetworkIDand/orHostIDCannotBeAllBitsSetto1All1smeans“Allnetworks”,or“allnodes”255isabroadcastaddress;amessagesenttothisaddressisbroadcasttoeachmachineonthesubnet.E.g.55–sendto“allnodes”onnetwork128.255 LimitedBroadcastNetworkIDand/orHostIDCannotBeAllBitsSetto0-usedbyCiscorouterstodesignatethedefaultroute0means“thisnetworkorsegment”,or“thisnode”HostIDMustBeUniquetotheNetwork2.6 AssigningNetworkAddressesRouter123124.x.y.z192.121.73.z131.107.y.zRouter2.7 AssigningHostAddressesRouterRouter124.0.0.27124.0.0.28124.0.0.29131.107.0.27131.107.0.28131.107.0.29192.121.73.1124.0.0.1192.121.73.2131.107.0.1124.x.y.z192.121.73.z131.107.0.z1233.0 Subnetting3.1 WhatisaSubnet?3.2 WhySubnetting?3.3 ImplementingSubnetting3.4 SubnetMasks3.5 DefaultSubnetMasks3.6 PossibleSubnetMasksforClassA,B&C3.7 DefiningaSubnetMask3.8 DefiningaSubnetIDs3.9 DefiningaHostIds3.10 Example3.1 WhatisaSubnet?(1)7Subnet12Subnet21MainNetworkAsubnetisasubsectionofannetwork,definedforadministrativepurposeortocutdownonbroadcasttraffic,asallmessagesonanetworkare“heard”byallhostswhetherthemessageisforthathostornot.Messagesentfromonehosttoanotherwithinthesamesubnetdonotneedtoberouted,butmessagessentbetweenhostsindifferentsubnetsmustberouted.Subnetsareconnectedbyrouters,ordefaultgateways.3.1 WhatisaSubnet?(2)NetworkIDHostID10ExampleNetworkIDFROMISPNo.ofNetwork=1SUBNETMASKNo.ofHosts=65534(2^16-2)NetworkIDHostID10WeneedmorenetworksSubnetIDBorrowfromHostID3.1 WhatisaSubnet?(3)AfterSubnetNetworkIDbecome -Subnetmaskbecome
No.ofSubnets 254HostforperSubnet 254(2^8-2)NetworkIDHostID10SubnetIDUseall8bit11111111forSubnet254combinations(2^8-2)*Only8bitforHost*However,accordingtoRFC1812,255combinationscanbeachieved.3.1 WhatisaSubnet?(4)AfterSubnetNetworkID SubnetMask HostRange -54 -54 -54 -54……………………. -54 -54 -54TOTAL254SUBNETS254HOSTSPERSUBNET3.2 WhySubnetting?Reducednetworktraffic–smallerthenetworksmallerthebroadcastdomainsandlessnetworktrafficonthatnetworksegmentOptimizednetworkperformance–resultofreducednetworktrafficSimplifiedmanagement–easiertoidentifyandisolatenetworkproblemsinasmallergroupFacilitatedspanningoflargegeographicaldistances–sinceWANlinksareconsiderablyslowerandmoreexpensive;connectingmultiplesmallernetworksmakesthesystemmoreefficient3.3 ImplementingSubnettingDeterminetheNumberofRequiredNetworkIDsOneforeachsubnetOneforeachwide-areanetworkconnectionDeterminetheNumberofRequiredHostIDsperSubnetOneforeachTCP/IPhostOneforeachrouterinterfaceBasedontheaboverequirement,createthefollowing:DefineOneSubnetMaskBasedonRequirementsDefineaUniqueSubnetIDforEachPhysicalSegmentBasedontheSubnetMaskDefineValidHostIDsforEachSubnetBasedontheSubnetID3.4 SubnetMasksA32-bitvaluecomposedof1sand0s.The1sinthesubnetmaskrepresentthepositionsthatrefertothenetworkorsubnetaddresses.DistinguishestheNetworkIDfromtheHostIDUsedtoSpecifyWhethertheDestinationHostisLocalorRemoteIfANDedresultsofsourceanddestinationhostsmatch,thedestinationislocal3.5 DefaultSubnetMasksBitsUsedforSubnetMaskAddressClassDottedDecimalNotationClassAClassBClassC11111111 00000000 00000000 0000000011111111 11111111 00000000 0000000011111111 11111111 11111111 0000000016.200131.107.0.0255.255.131.107.w.x.IPAddressSubnetMaskNetworkIDHostID16.200y.z3.6 PossibleSubnetMasksforClassA,B&CClassC28922440485254ClassB28922440485254ClassA289224404852543.7 DefiningaSubnetMaskConverttheNumberofSegmentstoBinaryCounttheNumberofRequiredBitsConverttheRequiredNumberofBitstoDecimal
(HighOrder)123ExampleofClassBAddressNumberofSubnetsBinaryValueConverttoDecimal600000110=6(3Bits)4+2255.255.224.011111111 11111111 11100000 00000000SubnetMask3.8 DefiningSubnetIDs25525501111111111111111111000000000000000000000=000100000=3201000000=6401100000=9610000000=12810100000=16011000000=19211100000=224123224SubnetMask3.9 DefiningHostIDsSubnetIDsHostIDRangeInvalidx.y.32.1–x.y.63.254x.y.64.1–x.y.95.254x.y.96.1–x.y.127.254x.y.128.1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025怀化学院教师招聘考试题目及答案
- 2025河北中医学院教师招聘考试题目及答案
- 2026年教师岗水平测试提高核心及答案
- 湄潭社区工作试题及答案
- 2026年4月广东深圳市大鹏新区南澳办事处招聘编外人员2人建设考试备考题库及答案解析
- 2026四川雅安市市属监管企业人力资源中心招聘雅茶集团财务管理部副部长1人建设笔试参考题库及答案解析
- 2026中国平安保险(集团)股份有限公司中宁支公司招聘6人建设笔试备考试题及答案解析
- 2026山东济南国有资产运营管理集团有限公司招聘10人建设考试参考试题及答案解析
- 2026江苏无锡市教育局直属学校招聘教师40人(二)建设考试备考试题及答案解析
- 2026年澄城卷烟厂招聘及岗位表(22人)建设考试备考试题及答案解析
- 2025年甘肃省高考物理试卷(含答案解析)
- 《渗透型液体硬化剂应用技术规程》
- 公司作风纪律管理制度
- JG/T 547-2018风光互补路灯装置
- 皮肤新药生产基地及研发试验中心环评资料环境影响
- 甘肃省庆阳市华池县第一中学2024-2025学年高二下学期期中考试数学试题
- 汽车制造工艺技术课件:汽车总装生产工艺流程及检测工艺
- 基于大数据的消费者画像与市场洞察
- 儿童保健工作规范和八大技术规范标准
- 2025年贵州开磷控股集团有限公司招聘笔试参考题库含答案解析
- 《更年期的中医调理》课件
评论
0/150
提交评论