Preview only show first 10 pages with watermark. For full document please download

03 Routing Basics

ccna

   EMBED


Share

Transcript

RE-300-E1 ZXR10 Routing Technology——  Basic Routing Principles V1122 ZTE Uniersity !ata "o##unication $roup ZTE University   univ.zte.com.cn *+,ecties %  Router definition and function function %  Basic conception %  &or'ing principle o( router  %  )P routing process ZTE University   univ.zte.com.cn Router e(inition.1/ Router—— 'in o( co#puter eice use to interconnect netor'  Router #ust hae the (olloing (eatures ultiple three layer inter(aces to interconnect i((erent netor's )#ple#ent the protocol up to the netor' layer  4ae the (unction o( storing 、 (oraring 、 path-(ining ZTE University   univ.zte.com.cn Router (unctions.2/ The core (unction o( router is interconnecting netor's an ata (oraring5 routing : +uiling route ta+le an an re(reshing sitching : (oraring pac'et +eteen netor's5 )nsulate +roacast pac'ets , e(ine access rule5 "onnecting i((erent 'ins o( netor's5 Rate aapting +eteen netor's5 ZTE University   univ.zte.com.cn *+,ecties %  Router e(inition an (unction %  Basic conception %  &or'ing principle o( router  %  )P routing process ZTE University   univ.zte.com.cn Basic concepts % route protocol % routing protocol % % % % % % % % % routing ta+le #etric connecte route static route yna#ic route e(ault route istance the longest #atching principle "lass(ul 6 classless routing ZTE University   univ.zte.com.cn Routing protocol an route protocol 10.120.2.0 172.16.2.0 E0 S0 Network Protocol Connected RIP OSPF Destination Network 10.120.2.0 172.16.2.0 172.17.3.0 Exit Inter!ace 172.17.3.0 !ei"0#1 e1"1 e1"2 Route protocol )P Routing protocol R)P7 *8P9 ZTE University   univ.zte.com.cn Route ta+le % The in(or#ation that router nee to (orar ata is store in a ta+le7 calle :route ta+le: % Router chec' the estination aress o( the pac'et7an choose the ne;t hop +ase on the in(or#ation in route ta+le5 % Route ta+le is store in R ZTE University   univ.zte.com.cn Route ta+le co#position Route ta+le co#position % !estination aress % as'  %  >52>>52>>50 2>>52>>52>>52>> 2>>52>>52>>52>2 2>>52>>52>>52>> $ )nter(ace *ner pri 10505051 10505051 1@251A5051 1@251A5051 (ei?061 (ei?061 e1?1 e1?1 irect 0 aress 0 irect 0 aress 0 #etric 0 0 0 0 !irectly connecte route &hen netor' aress aress is con(igure an the status o( the inter(ace is ali7 the netor' con(igure on this netor' ill appear in the route ta+le an associate ith this inter(ace  , the route ill change ith the status o( the inter(ace5 ZTE University   univ.zte.com.cn 8tatic route con(iguration St$% Network Network 172.16.1.0 10.0.0.0 Network SO & ' & 172.16.2.2 172.16.2.1 ip r!te 10.0.0.0 255.0.0.0 172.16.2.2 ($is is a !ni%irectina# r!te) t$ere s$!#% "e an ppsite r!te cnfi&!re% n t$e c!nterpart r!ter. ZTE University   univ.zte.com.cn !e(ault route con(iguration E;a#ple St$% Network Network 172.16.1.0 SO Network ' & & 172.16.2.2 172.16.2.1 ip r!te 0.0. 0.0 0.0.0.0 0.0.0.0 172.16.2.2 Defa!#t r!te is cnfi&!re% cnfi&! re% n t$e e&ress r!ter in a st !" netwrk. ZTE University   univ.zte.com.cn !yna#ic route O,+ 1.0.0.0#( *I+ 2.0.0.0#( O,+ *I+ 3.0.0.0#( Routing protocol is a so(tare process running on the r  outer5 outer5 )t ill e;change routing rou ting in(or#ation ith other ro uters  , stuying route in(or#ation o( netor' not irec tly connecte an a,usting the route in(or#ation hen t opology changes5 ZTE University   univ.zte.com.cn Route priority ,e#ect t$e r!te t$at $as t$e $i&$est pririt t t$e r!te ta"#e 10.0.0.0/16 *I+ O,+ fei_1/1 10.0.0.0/16 10.0.0.0/16 tice t$e cmparisn f r!te pririt m!st "e "etween i%entica# r!tes. ZTE University fei_1/ fei_1/ *!te ta"#e   univ.zte.com.cn !e(ault route priority Ro$te Ro$te So$rce So$rce De!a$ De!a$lt ltt riorit riori t r iorit De!a$lt De!a$l riorit riori t Connected inter inter!ace !ace Static ro$te ZTE University 0 1 External &)P OSPF 20 110 IS*IS RIP ,1- ,2 11+ 120 Internal &)P Secial Secial /For /For iinner nner rocess rocess 200 2++ 2++   univ.zte.com.cn 9loat static route !ei"1#1 e1"2#1.1 DDN Network serial"3#1 PSN 4o to con(igure static route hen there are reunant lin'sD ZTE University   univ.zte.com.cn 9loat static route !ei"1#1 e1"2#1.1 DDN Network serial"3#1 PSN ZXR10.con(ig/Cip route 10505050 2>>505050 e1?26151 ZXR10.con(ig/Cip route 10505050 2>>505050 serial?361 > ZTE University   univ.zte.com.cn ongest #atch principle ZXR10Csho ip route )P= Routing Ta+le !est as' c 1505050 1515151 2505050 2515151 3505050 3515151 10505050 10515050 10515150 0505050 2>>505050 2>>52>>52>>52>> 2>>505050 2>>52>>52>>52>> 2>>505050 2>>52>>52>>52>> 2>>505050 2>>52>>5050 2>>52>>52>>50 0505050 $ )nter(ace *ner pri #etri 1515151 1515151 2515151 2515151 3515151 3515151 1515151 2515151 3515151 1515151 (ei?16151 (ei?16151 (ei?16152 (ei?16152 (ei?16153 (ei?16153 (ei?16151 (ei?16152 (ei?16153 (ei?16151 irect aress irect aress irect aress osp( static rip static 0 0 0 0 0 0 110 1 120 0 0 0 0 0 0 0 10 0 > 0 10515151' ZTE University   univ.zte.com.cn *+,ecties %  Router e(inition an (unctions %  Basic conception % Working principle of router  %  )P routing process ZTE University   univ.zte.com.cn Router or'ing principle % Routing (unction : 8tuy an #aintain the netor' topology7prouce topology7prouce an #aintain ro ute ta+le % 9oraring (unction : !ata trans(erring an processing proceure.Receiing ata on one inter(ace7then choose an appropriate inter(ace to sen it out7 incluin g the or' o( (ra#e encapsulation an ecapsulation/ ZTE University   univ.zte.com.cn Route (unction 8tuy an #aintain the netor' topology #echanis# is reg are as the (unction o( routing5)t reFuires seeral +asic in (or#ation : % &hat 'in o( protocols to route ? % )s the estination netor' aress in the route ta+leD % &hich inter(ace to sen out the pac'et ? % &hat is the ne;t hop aress ? ZTE University   univ.zte.com.cn 9oraring 9unction 9ra#e chec'ing an cache the  pac'et ssociate estination aress ith the ne;t hop inter(ace "reate the (ra#e hea ith the  physical aress Pac'et encapsulation an (oraring ZTE University = "o#ing inter(ace = Route ta+le = RP cache ( < ) = aintaine +y routing protocol aintaine +y RP or RRP  process apping list ( &< ) *ut inter(ace   univ.zte.com.cn Route or'ing process su##ary  route +ase on route priority Routing Routing Routing  process Routing  process  process  process 8earch entry in route ta+le Base on estination aress Route ta+le 9oraring  process ongest #atch  principles Routing protocol stuy  possi+le route7select the  +est route +ase on #etric ZTE University   univ.zte.com.cn *+,ecties %  Router e(inition an (unctions %  Basic conception %  &or'ing principle o( router  %  IP routing routing process process ZTE University   univ.zte.com.cn "o##unication in the sa#e netor'