Routing yog ib txoj kev uas aroutertau txais ib pob ntawv los ntawm ib qho interface, coj cov pob ntawv raws li nws qhov chaw nyob thiab xa mus rau lwm qhov interface. Nws yog pob ntawv xa khoom ntawm cov txheej txheem network uas ua haujlwm hauv txheej thib peb ntawm OSI siv qauv -
Tus qauv ntawm tus IP chaw nyob muaj ob ntu, ib feem qhia tus lej xov tooj, thiab lwm ntu txhais tus lej tswv hauv lub network. Kev sib txuas lus tsuas tuaj yeem tshwm sim ntawm tus IP chaw nyob nrog tib tus lej network. Txhawm rau sib txuas lus nrog tus tswv tsev ntawm lwm tus IP subnets, nws yuav tsum mus dhau ntawm arouterlos yog rooj vag ntawm tib lub network. IP chaw nyob ntawm cov xov tooj sib txawv tsis tuaj yeem sib txuas lus ncaj qha, txawm tias lawv txuas nrog ua ke.
Routing feem ntau muab faib ua peb hom, static route, dynamic route thiab direct route. Tam sim no qhia txoj kev zoo li qub.
Static routingIs ua los ntawm conservatorInrouterA tsau routing uas yog manually configured.
Static routing tso cai rau kev tswj hwm tus cwj pwm thiab txo qis ib txoj hauv kev network ntws raws li kev teeb tsa yooj yim.Static routing muaj qhov tseem ceeb tshaj plaws vim nws qhov kev tswj xyuas luv tshaj plaws. Static routing uas yog teem ib lub rooj routing ruaj nyob rau hauv lubrouter. Lub static routing yuav tsis hloov tshwj tsis yog tias network tswj kev cuam tshuam. Vim tias txoj hauv kev zoo li qub tsis tuaj yeem cuam tshuam txog kev hloov pauv hauv network, lawv feem ntau yog siv hauv cov tes hauj lwm nrog cov nplai me me thiab ruaj khov. Ntawm tag nrho cov kev, txoj kev zoo li qub muaj qhov tseem ceeb tshaj plaws.Thaum txoj kev dynamic tsis sib haum nrog txoj kev zoo li qub, txoj kev zoo li qub yeej.
Ntawm pebOLTlos yogONU, koj tuaj yeem teeb tsa qhov kev ua haujlwm zoo li qub. Piv txwv li, lub configuration ntawm pebolt ua:
Configure ib txoj kev zoo li qub rau ntawmolt ua
192.168.4.1 yog lub hom phiaj ip, 255.255.255.0 yog lub npog ntsej muag, thiab 192.168.2.6 yog qhov dhia ip chaw nyob tom ntej, uas yog hais tias, thaum qhov chaw nyob ntawm cov lus tshawb pom yog 192.168.4.1, txoj hauv kev yuav xa cov lus mus rau 192.168.2.6, kom ua tiav cov kev sib txuas lus hla ntu ntu.
Koj tuaj yeem hais kom saib txoj hauv kev tom qab
Kev taw qhia dav dav ntawm static routing peb tau hais lub sijhawm no yog cov ntsiab lus saum toj no. Rau cov khoom siv sib txuas sib txuas nrog rau Shenzhen HDV phoelectronic Technology Co., Ltd., xws li: ACONU/ kev sib txuas lusONU/ ntseONU/ fiber ntauONU/ XPONONU/ GPONONU, los yogOLTseries, transceiver series thiab lwm yam yog ib yam ntawm cov khoom siv network, Yog tias xav tau rau cov neeg siv khoom, koj tuaj yeem rov qab mus rau qhov home page hu rau peb lub tuam txhab, tos koj tuaj.