Chapter1StaticRouteConguration
*>10.9.1.0/2410.6.1.1810static
*>10.3.1.0/2410.6.1.1810static
1.4.3DefaultRouteConfigurationExample
CongurationDescription
Defaultrouteisalsoakindofspecialstaticroutes.Whenallroutesarefailedinrouting
table,defaultrouteisadoptedtomakepackethasanaldestination.Inthisway,the
processingburdenofroutercanbereducedalot.
Whenaroutercannotrouteapacket,thepackethastobedropped.However,thisisnot
hopedthatpacketisdroppedinan"unknown"destination.T osupportcompleteconnection
ofrouter,thismusthavearouteconnectedtoanetwork.Ifrouterwantstokeepcomplete
connectionandmeanwhiledoesnotneedtorecordeachindependentroute,defaultroute
canbeused.Byuseofdefaultroute,anindependentroutecanbedesignatedtoindicate
allotherroutes.
AsshowninFigure1-4,sincethereisnoroutepointingtoInternetonS1,S1needstouse
defaultroutethatsendpacketstoS2forprocessing.
Figure1-4DefaultRouteCongurationExample
CongurationThought
Defaultroutecongurationiscompletelythesameasstaticroutecongurationandonly
differenceisthatthenetworkpartandsubnetmaskpartareall0.0.0.0.
CongurationProcess
CongurationonS1:
S1(config)#iproute0.0.0.00.0.0.010.6.1.18
CongurationCheck
UseshowtoviewS1routingtable.
S1#showipprotocolrouting
Protocolroutes:
statuscodes:*valid,>best,i-internal,s-stale
1-9
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential