Qhov txawv ntawm NAT thiab NAPT

Qhov txawv ntawm NAT thiab NAPT
Qhov txawv ntawm NAT thiab NAPT

Video: Qhov txawv ntawm NAT thiab NAPT

Video: Qhov txawv ntawm NAT thiab NAPT
Video: Xyo Vwj - Xav Sim Seb Zoo Luaj Twg ❤️❤️(Nkauj Tawm Tshiab 2023) 2024, Kaum ib hlis
Anonim

NWS vs NAPT

Network Address Translation (NAT) yog cov txheej txheem uas hloov kho qhov chaw nyob IP hauv lub header ntawm ib pob ntawv IP, thaum nws tab tom taug kev los ntawm cov khoom siv routing. NAT tso cai rau ib pawg IP chaw siv rau kev khiav tsheb hauv LAN (Local Area Network) thiab lwm txheej IP chaw siv los siv rau sab nraud. Ib mus rau ib qho kev hloov pauv ntawm IP chaw nyob yog muab los ntawm daim ntawv yooj yim ntawm NAT. NAPT (Network Address and Port Translation) yog qhov txuas ntxiv ntawm NAT uas tso cai rau ntau tus IP chaw nyob rau hauv ib qho chaw nyob IP. Qhov no yog ua tiav nrog kev pab ntawm TCP thiab UDP cov ntaub ntawv chaw nres nkoj hauv cov tsheb khiav tawm.

NAT yog dab tsi?

Network Chaw Txhais Lus hloov kho IP chaw nyob hauv lub taub hau ntawm pob ntawv IP, thaum nws tab tom taug kev los ntawm cov khoom siv routing. NAT tso cai rau ib pawg IP chaw siv rau kev khiav tsheb hauv LAN thiab lwm txheej IP chaw nyob rau sab nraud. Ib mus rau ib qho kev hloov pauv ntawm IP chaw nyob yog muab los ntawm daim ntawv yooj yim ntawm NAT. NAT muaj ntau yam zoo. Nws txhim kho kev ruaj ntseg ntawm LAN vim nws muab kev xaiv los nkaum IP chaw nyob sab hauv. Tsis tas li ntawd, raws li IP chaw nyob tsuas yog siv sab hauv, nws yuav tsis ua rau muaj kev tsis sib haum xeeb nrog IP chaw nyob siv hauv lwm lub koom haum. Tsis tas li ntawd, siv ib qho kev sib txuas hauv internet rau txhua lub khoos phis tawj hauv LAN yog ua tau los ntawm NAT. NAT ua haujlwm nrog kev siv lub thawv NAT, uas nyob hauv qhov chaw sib txuas uas LAN txuas nrog hauv internet. Nws muaj cov txheej txheem ntawm qhov chaw nyob IP uas siv tau thiab nws yog lub luag haujlwm rau kev ua tus IP chaw txhais lus.

NAPT yog dab tsi?

NAPT (Network Address and Port Translation) yog siv los qhia cov txheej txheem ntawm tus IP chaw nyob siv ib tus IP chaw nyob lossis ib pab pawg me ntawm pej xeem IP chaw nyob. NAPT tseem hu ua PAT (Port Address Translation), IP masquerading, NAT Overload thiab ntau-rau-ib NAT. Hauv NAPT, ntau qhov chaw nyob IP tau teeb tsa rau ib tus IP chaw nyob. Qhov no yuav ua rau muaj qhov tsis meej pem thaum routing cov pob ntawv rov qab. Txhawm rau zam qhov teeb meem no NAPT ua rau siv TCP / UDP cov ntaub ntawv chaw nres nkoj hauv cov tsheb khiav tawm thiab tuav lub rooj txhais lus. Qhov no yuav tso cai rau xa cov ntawv xa rov qab kom raug rau tus neeg thov.

NAT thiab NAPT yog dab tsi?

NAT hloov kho IP chaw nyob hauv lub header ntawm ib pob ntawv IP, thaum nws tab tom taug kev los ntawm cov khoom siv routing thiab tso cai rau siv cov txheej txheem IP sib txawv los siv rau kev khiav tsheb hauv LAN dua li txheej IP chaw siv. rau cov tsheb khiav tawm sab nraud, thaum NAPT yog ib hom tshwj xeeb ntawm NAT qhov twg ntau qhov chaw nyob tus IP tau kos npe rau hauv ib tus IP lossis ib pab pawg me ntawm cov chaw nyob IP. Yog li NAPT suav nrog ntau-rau-ib tus neeg txhais lus ntawm IP chaw nyob. NAPT yog NAT siv dav tshaj plaws, yog li feem ntau ntawm NAPT yog hu ua NAT.

Pom zoo: