资源描述:
《windows系统中的路由详解》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、windows系统中的路由详解RoutingdetailinWindowssystemCatalog:First,whatisroutinginthewindowssystem?Two,howtomanuallyaddroutesinaWindowssystemText:First,whatisroutinginthewindowssystem?Mosthoststypicallyresideonanetworksegmentthatconnectsonlyonerouter・Sinceonlyonerouter,sothereisnoprobleminthedat
2、apackettotheremotecomputertouse:whatarouter,therouter,sIPaddresscanbeusedasthedefaultgatewaytoallthecomputersonthatsegmenttoenter・However,whenyouhavetwoormoreroutersonthenetwork,youdon'tnecessarilywanttorelyonlyonthedefaultgateway.Infact,youmightwanttopasssomeofyourremoteIPaddressesthr
3、oughaspecificrouter,whileotherremoteIPpassesthroughanotherrouter・Inthiscase,youneedthecorrespondingroutinginformation,whichisstoredintheroutingtable,witheachhostandeachrouterhavingitsownuniqueroutingtable・Mostroutersusespecialroutingprotocolstoexchangeanddynamicallyupdateroutingtablesb
4、etweenrouters・Insomecases,however,theprojectmustbemanuallyaddedtotheroutingtableontherouterandhost・Routeisusedtodisplay,manuallyaddandmodifyroutingtableitems・Routeprint--thiscommandisusedtodisplaythecurrentitemintheroutingtable・Alloftheseitemsareautomaticallyaddedbecausethenetworkadapt
5、erisconfiguredwiththeIPaddress・Routeadd-一usesthiscommandtoaddaletterroutingprojecttotheroutingtable・Forexample,ifyouwanttosetadestinationnetwork209・98.32.33routing,whichgoesthrough5routernetwork,thefirsttogothrougharouteronalocalnetwork,IP202.96.123.5,subnetmaskof255.255.255.224andthen
6、youshouldenterthefollowingcommand:Route,add,209.98.32.33,mask,255.255.255.224,202.96.123.5,metric,5Routechange--youcanusethiscommandtomodifydatarouting,butyoucan,tusethiscommandtochangethedestinationofthedata・Thefollowingexamplecanchangetheroutingofdatatoanotherrouter,usingamoredirectp
7、athwith3segments:Route,add,209.9&32.33,mask,255.255.255.224,202.96.123.250,metric,3Routedelete--usesthiscommandtoremoveroutesfromroutingtables・Forexample:route,delete,209・98.32.33Two,howtomanuallyaddroutesinaWindowssystemAtthewindowssystemCMDcommandprompt,theroutecommandisusedprimari