Txhais: ARP (Qhov Chaw Nyob Cov Txheej Txheem Teev Kev Tsim Nyog) ua ib qho Internet Protocol (IP) chaw nyob rau nws qhov chaw nyob hauv lub cev. IP networks nrog rau cov uas khiav ntawm Ethernet thiab Wi-nkaus yuav tsum tau ARP thiaj li ua haujlwm.
Keeb Kwm thiab Lub Hom Phiaj ntawm ARP
ARP yog tsim nyob rau hauv thawj 1980s raws li ib tug general-hom chaw txhais lus raws tu qauv rau IP tes hauj lwm. Dhau li Ethernet thiab Wi-nkaus, ARP tau siv rau ATM , Token Nplhaib , thiab lwm yam sib txawv ntawm lub cev.
ARP tso cai rau lub network tswj cov kev sib txuas ywj siab ntawm lub tshuab ntaus ib ntu nrog txhua tus. Qhov no tau ua rau hauv Internet Protocol mus ua hauj lwm ntau dua li yog tias nws yuav tsum tswj chaw nyob ntawm txhua hom khoom kho vajtse thiab lub cev tes hauj lwm nws tus kheej.
Cas ARP Ua Haujlwm
ARP koom rau ntawm Layer 2 hauv OSI qauv . Cov kev pab raws tu qauv yog muab los siv rau hauv kev ntaus tsav tsheb ntawm network operating systems . Internet RFC 826 cov ntaub ntawv txog kev sau ntaub ntawv nrog rau nws cov ntawv ntim thiab cov hauj lwm ntawm kev thov thiab cov lus teb
ARP ua hauj lwm rau cov niaj hnub Ethernet thiab Wi-nkaus tes hauj lwm raws li nram no:
- Network adapters yog tsim nrog lub cev nqaij daim tawv nyob hauv qhov chaw kho mob hu ua Media Access Control (MAC) qhov chaw nyob. Cov kws kho mob saib xyuas kom paub meej tias cov 6-byte (48-ntsis) chaw nyob yog tshwj xeeb, raws li IP relies on cov cim identifiers rau kev xa lus.
- Thaum twg ib tug ntaus ntawv xav xa cov ntaub ntawv mus rau lwm lub hom phiaj, nws yuav tsum xub txiav txim qhov MAC chaw nyob ntawm lub hom phiaj uas tau muab nws qhov chaw tus IP Cov IP-rau-MAC chaw mappings yog muab los ntawm ARP cache khaws cia rau txhua lub tshuab.
- Yog hais tias tus IP chaw nyob tsis tshwm nyob rau hauv ib qho cuab yeej cache, qhov ntawd ntaus tsis tuaj yeem tso ncaj qha mus rau qhov hom phiaj kom txog thaum nws tau txais ib daim ntawv tshiab. Ua li no, tus pib ntaus thawj ua ntej xa lus ARP qhov kev tshaj tawm hauv xov hauv zos subnet . Tus tswj tuav nrog tus IP chaw muab xa rau ARP teb rau qhov lus teb rau cov broadcat, uas yog lub cuab yeej siv los kho nws cov cache thiab npaj xa cov lus xa ncaj qha mus rau lub hom phiaj.
Rov qab ARP thiab Rov qab ARP
Ib qho kev sib txuas lus hauv Network hu ua RARP (Reverse ARP) kuj tau tsim nyob rau xyoo 1980 los xaus ARP. Raws li nws lub npe pom tias, RARP tau ua haujlwm ntxeev ntawm ARP, hloov los ntawm qhov chaw nyob hauv lub network rau IP chaw rau cov cuab yeej siv. RARP tau ua dhau los ntawm DHCP thiab tsis siv lawm.
Ib qho kev sib txuas lus hu ua Inverse ARP kuj txhawb qhov chaw nyob rov qab. Kev siv ARP tsis yog siv ntawm Ethernet los yog Wi-nkaus tes hauj lwm txawm tias nws tuaj yeem nrhiav tau ntawm lwm hom.
Gratuitous ARP
Los txhim kho qhov kev ua haujlwm ntawm ARP, qee cov koom tes thiab cov cuab yeej siv network siv ib hom kev sib txuas lus hu ua GRATuitous ARP qhov chaw uas ntaus tawm ib tsab xov xwm ARP xa mus rau tag nrho cov chaw hauv zos qhia rau lwm cov cuab yeej ntawm nws lub neej.