已阅读5页,还剩34页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
TheRoutingTable:ACloserLook,RoutingProtocolsandConceptsChapter8,Objectives,DescribethevariousroutetypesfoundintheroutingtablestructureDescribetheroutingtablelookupprocess.Describeroutingbehaviorinroutednetworks.,Introduction,ChapterFocus-Structureoftheroutingtable-Lookupprocessoftheroutingtable-Classlessandclassfulroutingbehaviors,RoutingTableStructure,LabTopology3routersetup-R1andR2shareacommon172.16.0.0/16networkwith172.16.0.0/24subnets.-R2andR3areconnectedbythe192.168.1.0/24network.-R3alsohasa172.16.4.0/24subnet,whichisdisconnected,ordiscontiguous,fromthe172.16.0.0networkthatR1andR2share.,RoutingTableStructure,Routingtableentriescomefromthefollowingsources-Directlyconnectednetworks-Staticroutes-Dynamicroutingprotocols,RoutingTableStructure,Level1RoutesAssoonasthenoshutdowncommandisissuedtherouteisaddedtoroutingtable,RoutingTableStructure,CiscoIProutingtableisahierarchicalstructure-Thereasonforthisistospeeduplookupprocess,RoutingTableStructure,Level1Routes-Haveasubnetmaskequaltoorlessthantheclassfulmaskofthenetworkaddress.Level1routecanfunctionas-Defaultroute-Supernetroute-Networkroute,RoutingTableStructure,Level1Routes-UltimateRouteIncludeseither:-Anext-hopaddressOR-Anexitinterface,ParentandChildRoutes-Aparentrouteisalevel1route-Aparentroutedoesnotcontainanynext-hopIPaddressorexitinterfaceinformation,RoutingTableStructure,RoutingTableStructure,Automaticcreationofparentroutes-OccursanytimeasubnetisaddedtotheroutingtableChildroutes-Childroutesarelevel2routes-Childroutesareasubnetofaclassfulnetworkaddress,RoutingTableStructure,Level2childroutescontainroutesource&thenetworkaddressoftherouteLevel2childroutesarealsoconsideredultimateroutesReason:theycontainthenexthopaddress&/orexitinterface,RoutingTableStructure,Bothchildrouteshavethesamesubnetmask-Thismeanstheparentroutemaintainsthe/24mask,RoutingTableStructure,Diagramillustrates2childnetworksbelongingtotheparentroute172.16.0.0/24,RoutingTableStructure,Inclasslessnetworks,childroutesdonothavetosharethesamesubnetmask,RoutingTableStructure,Parent&ChildRoutes:ClasslessNetworks,RoutingTableStructure,Parent&ChildRoutes:ClasslessNetworks,RoutingTableLookupProcess,TheRouteLookupProcessExaminelevel1routes-Ifbestmatchalevel1ultimaterouteandisnotaparentroutethisrouteisusedtoforwardpacketRouterexamineslevel2(child)routes-Ifthereisamatchwithlevel2childroutethenthatsubnetisusedtoforwardpacket-IfnomatchthendetermineroutingbehaviortypeRouterdeterminesclassfulorclasslessroutingbehavior-Ifclassfulthenpacketisdropped-Ifclasslessthenroutersearcheslevelonesupernetanddefaultroutes-Ifthereexistsalevel1supernetordefaultroutematchthenPacketisforwarded.Ifnotpacketisdropped,RoutingTableLookupProcess,LongestMatch:Level1NetworkRoutesBestmatchisalsoknownasthelongestmatchThebestmatchistheonethathasthemostnumberofleftmostbitsmatchingbetweenthedestinationIPaddressandtherouteintheroutingtable.,RoutingTableLookupProcess,FindingthesubnetmaskusedtodeterminethelongestmatchScenario:PC1pings192.168.1.2Routerexamineslevel1routeforbestmatchThereexistamatchbetween192.168.1.2&192.168.1.0/24Routerforwardspacketsouts0/0/0,RoutingTableLookupProcess,Theprocessofmatching-1sttheremustbeamatchmadebetweentheparentroute&destinationIP-IfamatchismadethenanattemptatfindingamatchbetweenthedestinationIPandthechildrouteismade.,RoutingTableLookupProcess,FindingamatchbetweenpacketsdestinationIPaddressandthenextrouteintheroutingtable-ThefigureshowsamatchbetweenthedestinationIPof192.168.1.0andtheleveloneIPof192.168.1.0/24thenpacketforwardedouts0/0/0,RoutingTableLookupProcess,Level1Parent&Level2ChildRoutesBeforelevel2childroutesareexamined-TheremustbeamatchbetweenclassfulleveloneparentrouteanddestinationIPaddress.,RoutingTableLookupProcess,AfterthematchwithparentroutehasbeenmadeLevel2childrouteswillbeexaminedforamatch-RoutelookupprocesssearchesforchildrouteswithamatchwithdestinationIP,RoutingTableLookupProcess,Howarouterfindsamatchwithoneofthelevel2childroutes-Firstrouterexaminesparentroutesforamatch-Ifamatchexiststhen:ChildroutesareexaminedChildroutechosenistheonewiththelongestmatch,RoutingTableLookupProcess,Example:RouteLookupProcesswithVLSM-TheuseofVLSMdoesnotchangethelookupprocess-IfthereisamatchbetweendestinationIPaddressandthelevel1parentroutethen-Level2childrouteswillbesearched,RoutingBehavior,Classful&classlessroutingprotocolsInfluencehowroutingtableispopulatedClassful&classlessroutingbehaviorsDetermineshowroutingtableissearchedafteritisfilled,RoutingBehavior,ClassfulRoutingBehavior:noipclasslessWhathappensifthereisnotamatchwithanylevel2childroutesoftheparent?-Routermustdetermineiftheroutingbehaviorisclasslessorclassful-Ifrouterisutilizingclassfulroutingbehaviorthen-Lookupprocessisterminatedandpacketisdropped,RoutingBehavior,ClassfulRoutingBehaviorSearchProcessAnexampleofwhenclassfulroutingbehaviorisineffectandwhytherouterdropsthePacket-Thedestinationssubnetmaskisa/24andnoneofthechildroutesleftmostbitsmatchthefirst24bits.Thismeanspacketisdropped,RoutingBehavior,ClassfulRoutingBehaviorSearchProcessThereasonwhytherouterwillnotsearchbeyondthechildroutesOriginallynetworkswereallclassfulThismeantanorganizationcouldsubnetamajornetworkaddressand“enlighten”alltheorganizationsroutersaboutthesubnettingTherefore,ifthesubnetwasnotintheroutingtable,thesubnetdidnotexistandpacketwasdropped,RoutingBehavior,ipClasslessBeginningwithIOS11.3,ipclasslesswasconfiguredbydefaultClasslessroutingbehaviorworksfor-DiscontiguousnetworksAnd-CIDRsupernets,RoutingBehavior,ClasslessRoutingBehavior:ipclasslessRoutelookupprocesswhenipclasslessisinuse-IfclasslessroutingbehaviorineffectthenSearchlevel1routesSupernetroutesCheckedfirst-IfamatchexiststhenforwardpacketDefaultroutesCheckedsecondIfthereisnomatchornodefaultroutethenthePacketisdropped,RoutingBehavior,ClasslessRoutingBehaviorSearchProcessRouterbeginssearchprocessbyfindingamatchbetweendestinationIPandparentrouteAfterfindingtheabovementionedmatch,thenthereisasearchofthechildroute,RoutingBehavior,ClasslessRoutingBehaviorSearchProcessIfnomatchisfoundinchildroutesofpreviousslidethenRoutercontinuestosearchtheroutingtableforamatchthatmayhavefewerbitsinthematch,RoutingBehavior,Classfulvs.ClasslessRoutingBehavior-ItisrecommendedtouseclasslessroutingbehaviorReason:sosupernetanddefaultroutescanbeusedwheneverneeded,Summary,Content/structureofaroutingtableRoutingtableentries-Directlyconnectednetworks-Staticroute-DynamicroutingprotocolsRoutingtablesarehierarchical-Level1routeHaveasubnetmaskthatislessthanorequaltoclassfulsubnetmaskforthenetworkaddress-Level2routeThesearesubnetsofanetworkaddress,Summary,RoutingtablelookupprocessBeginswithexamininglevel1routesforbestmatchwithpacketsdestinationIPIftheb
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024年劳动力交流意向协议范本(二篇)
- 2024年廉租房工程安全责任合同(二篇)
- 2024年服装订购合同标准模板(3篇)
- 2024年合作合同标准模板(2篇)
- 2024年财产租赁合同标准范本(四篇)
- 人教版小学数学四年级上册期末测试卷带答案(新)
- 苏教版科学四年级下册期末测试卷附答案【综合题】
- 六年级下册道德与法治第二单元《爱护地球 共同责任》测试卷含答案【黄金题型】
- 部编版道德与法治三年级下册第一单元 我和我的同伴 测试卷附答案(培优b卷)
- 人教版数学四年级上册期末测试卷含答案(考试直接用)
- 《I'm watching TV》英语说课稿课件(全英文)
- 2024年中国建材集团总部招聘1人公开引进高层次人才和急需紧缺人才笔试参考题库(共500题)答案详解版
- 职业教育中心音乐表演专业人才培养方案
- 小升初复习模拟试卷(试题)-2023-2024学年六年级下册数学青岛版
- 心衰治疗指南解读2024课件
- 全球及中国无人机(UAV)保险行业市场现状供需分析及市场深度研究发展前景及规划可行性分析研究报告(2024-2030)
- 陕西省西安爱知初级中学2024届中考化学最后冲刺模拟试卷含解析
- 营销策划服务购销合同模版
- 人教PEP五年级下册英语 Unit 5 B Let's learn教学反思
- 国家职业技能标准 (2019年版) 消防设施操作员
- 宝洁公司财务分析报告.docx
评论
0/150
提交评论