Transcript
RE-300-E1
ZXR10 Routing Technology——
Basic Routing Principles V1122
ZTE Uniersity !ata "o##unication $roup ZTE University
univ.zte.com.cn
*+,ecties
% 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 eice use to interconnect netor' Router #ust hae the (olloing (eatures ultiple three layer inter(aces to interconnect i((erent netor's )#ple#ent the protocol up to the netor' layer 4ae the (unction o( storing 、 (oraring 、 path-(ining ZTE University
univ.zte.com.cn
Router (unctions.2/ The core (unction o( router is interconnecting netor's an ata (oraring5 routing : +uiling route ta+le an an re(reshing sitching : (oraring pac'et +eteen netor's5 )nsulate +roacast pac'ets , e(ine access rule5 "onnecting i((erent 'ins o( netor's5 Rate aapting +eteen netor's5
ZTE University
univ.zte.com.cn
*+,ecties
% 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 (orar ata is store in a ta+le7 calle :route ta+le:
%
Router chec' the estination aress 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 aress % as' % >52>>52>>50 2>>52>>52>>52>> 2>>52>>52>>52>2 2>>52>>52>>52>>
$
)nter(ace
*ner
pri
10505051 10505051 1@251A5051 1@251A5051
(ei?061 (ei?061 e1?1 e1?1
irect 0 aress 0 irect 0 aress 0
#etric 0 0 0 0
!irectly connecte route &hen netor' aress aress is con(igure an the status o( the inter(ace is ali7 the netor' con(igure on this netor' 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%irectina# r!te) t$ere s$!#% "e an ppsite r!te cnfi&!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 cnfi&!re% cnfi&! re% n t$e e&ress r!ter in a st !" netwrk. 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(tare process running on the r outer5 outer5 )t ill e;change routing rou ting in(or#ation ith other ro uters , stuying route in(or#ation o( netor' 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 pririt 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 cmparisn f r!te pririt 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 Secial Secial /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
PSN
4o to con(igure static route hen there are reunant lin'sD
ZTE University
univ.zte.com.cn
9loat static route !ei"1#1
e1"2#1.1
DDN Network
serial"3#1
PSN
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 aress irect aress irect aress 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
*+,ecties
% 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 : 8tuy an #aintain the netor' topology7prouce topology7prouce an #aintain ro ute ta+le
% 9oraring (unction : !ata trans(erring an processing proceure.Receiing ata on one inter(ace7then choose an appropriate inter(ace to sen it out7 incluin g the or' o( (ra#e encapsulation an ecapsulation/
ZTE University
univ.zte.com.cn
Route (unction 8tuy an #aintain the netor' topology #echanis# is reg are as the (unction o( routing5)t reFuires seeral +asic in (or#ation :
% &hat 'in o( protocols to route ? % )s the estination netor' aress in the route ta+leD % &hich inter(ace to sen out the pac'et ? % &hat is the ne;t hop aress ?
ZTE University
univ.zte.com.cn
9oraring 9unction
9ra#e chec'ing an cache the pac'et ssociate estination aress ith the ne;t hop inter(ace "reate the (ra#e hea ith the physical aress
Pac'et encapsulation an (oraring
ZTE University
=
"o#ing inter(ace
=
Route ta+le
=
RP cache ( < )
=
aintaine +y routing protocol
aintaine +y RP or RRP 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 aress
Route ta+le
9oraring process ongest #atch principles
Routing protocol stuy possi+le route7select the +est route +ase on #etric
ZTE University
univ.zte.com.cn
*+,ecties
% 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 netor'