IP chaw nyob ntawm cov cuab yeej txuas rau network yog xav tau los ntawm tus neeg siv nyob rau hauv qhov teeb meem thaum qee qhov hais kom xa mus rau nws, piv txwv li, ib daim ntawv luam tawm rau lub tshuab luam ntawv. Ntxiv nrog rau qhov no, muaj qee tus qauv qee yam, peb yuav tsis sau tag nrho lawv. Qee lub sij hawm tus neeg siv raug ntsib nrog qhov teeb meem uas qhov chaw nyob ntawm cov khoom siv tsis paub txog nws, thiab tsuas muaj qhov chaw nyob, uas yog, MAC chaw nyob. Ces nrhiav tus IP yog yooj yim heev siv cov cuab yeej txheem ntawm kev khiav hauj lwm qhov system.
Txiav txim siab ntaus IP los ntawm MAC chaw nyob
Yuav ua kom tiav hnub no txoj haujlwm, peb yuav siv xwb "Hais kom ua kab" Qhov rai thiab nyob rau hauv ib rooj plaub cais daim ntawv thov kev kos Notepad. Koj tsis tas yuav tsum paub cov kev cai, tsis los sis lus txib, hnub no peb yuav paub koj nrog lawv txhua tus. Tus neeg siv tsuas yog yuav tsum muaj qhov tseeb MAC chaw nyob ntawm lub cuab yeej txuas mus thiaj li yuav tshawb ntxiv.
Cov lus qhia hauv tsab xov xwm no yuav pab tau rau cov neeg uas tab tom nrhiav tus IP ntawm lwm yam khoom siv, thiab tsis yog lawv lub zos lub computer. Txiav txim siab txog MAC ntawm lub PC yog yooj yim dua. Peb thov caw koj tuaj nyeem lwm tsab xov xwm ntawm no lub npe hauv qab no.
Mus saib kuj: Yuav ua li cas saib MAC qhov chaw nyob ntawm lub computer
Txoj Cai 1: Kev Sau Ntawv Txiav Txim Siab
Nws muaj qhov txawv ntawm kev siv tsab ntawv kom paub txog kev tsim nyog kev tswj, tab sis, nws yuav yog qhov tseem ceeb tshaj plaws nyob rau hauv qhov teeb meem thaum qhov kev txiav txim siab ntawm IP tau ua ntau lub sijhawm. Rau kev tshawb nrhiav ib zaug, nws yuav txaus rau nws tus kheej sau npe rau cov lus txib hauv lub console.
- Qhib daim ntawv thov Khiav mustuav lub ntsiab ua ke Yeej + R. Sau rau hauv lub thawv input cmdthiab nias rau ntawm lub pob "OK".
- Nyeem ntawm IP-chaw nyob yuav tshwm sim los ntawm tus cache, yog li ntawd nws yuav tsum xub ua ntej. Pab neeg ua haujlwm rau qhov no
rau / L% ib tug (1,1,254) ua @start / b ping 192.168.1.% a -n 2> nul
. Nco ntsoov tias nws tsuas ua haujlwm thaum lub network nqis yog tus qauv, uas yog, 192.168.1.1 / 255.255.255.0. Txwv tsis pub, ib feem (1,1,254) yuav raug hloov. Es tsis txhob 1 thiab 1 thawj zaug thiab zaum kawg ntawm qhov kev hloov IP raug hloov, thiab tsis yog 254 - teem caij lub npog qhov ncauj. Sau cov lus txib, thiab tom qab ntawd nias lub pob. Sau. - Koj tau pib ib tsab ntawv rau pinging tag nrho network. Qhov kev hais ua tus qauv yog lub luag haujlwm rau nws. pinguas kev soj ntsuam tsuas yog ib qho chaw nyob. Tus sau tsab ntawv no yuav pib tshawb xyuas txhua qhov chaw nyob. Thaum luam yeeb tiav, ib qho kab tsim tau tso tawm kom pom ntxiv.
- Tam sim no koj yuav tsum saib cached nkag nrog qhov hais kom ua arp thiab sib cav -a. Qhov ARP raws tu qauv (Chaw nyob daws teeb meem) qhia txog qhov kev sib haum ntawm MAC chaw nyob rau IP, muab txhua tus neeg pom siv mus rau lub console. Nco ntsoov tias tom qab kev sau, qee cov ntaub ntawv khaws cia tsis pub ntev dua 15 feeb, yog li tam sim ntawd tom qab sau cov cache, pib lub luam theej duab los ntawm sau
arp - ib
. - Feem ntau, nyeem cov lus qhia tau tshwm sim li ob peb feeb tom qab qhov kev hais kom ua tiav. Tam sim no koj tuaj yeem tshawb xyuas qhov tseeb MAC chaw nyob nrog nws cov IP.
- Yog tias daim ntawv teev npe tsis ntev los yog koj xav kom xav nrhiav ib qho kev sib tw xwb, tsis yog arp - ib tom qab sau lub cache, sau qhov kev hais kom ua
arp -a | nrhiav "01-01-01-01-01-01"
qhov twg 01-01-01-01-01-01 - MAC chaw nyob. - Tom qab ntawd koj tau txais tsuas yog ib qho tshwm sim yog tias muaj kev sib tw.
Saib kuj: Yuav ua li cas khiav qhov "Command Line" nyob hauv Windows
Ntawm no yog cov lus qhia yooj yim los pab koj txiav txim siab qhov chaw tus IP ntawm lub network siv koj tus MAC uas twb muaj lawm. Qhov kev xav tau yuav tsum tau siv tus neeg siv los sau rau txhua qhov hais kom ua, tsis yog ib qho yooj yim txhua lub sijhawm. Yog li ntawd, cov neeg uas xav tau nquag ua cov txheej txheem xws li, peb qhia koj kom paub koj tus kheej nrog rau cov qauv hauv qab no.
Method 2: Tsim thiab khiav cov ntawv
Los ua kom yooj yim rau txoj kev nrhiav, peb hais tawm siv cov ntawv tshwj xeeb - ib co kev cai uas tau pib hauv lub console. Koj tsuas yog yuav tsum ua tib zoo tsim daim ntawv no, khiav thiab sau MAC chaw nyob.
- Ntawm lub desktop, txoj cai-nias thiab tsim ib phau ntawv tshiab.
- Qhib nws thiab paste cov kab hauv qab no muaj:
@echo tawm
yog tias "% 1" == "" Tsis muaj chaw nyob MAC chaw & tawm / b 1
rau / L %% tus hauv (1,1,254) ua @start / b ping 192.168.1. %% a -n 2> nul
ping 127.0.0.1-3 3> nul
arp -a | nrhiav / i "% 1" - Peb yuav tsis piav qhia lub ntsiab lus ntawm tag nrho cov kab, vim koj tuaj yeem ntsib cov nrog lawv ua ntej. Tsis muaj dab tsi tshiab tau raug ntxiv ntawm no, tsuas yog txheej txheem tau optimized thiab ntxiv cov tswv yim ntawm lub cev qhov chaw nyob tau teeb tsa. Tom qab nkag mus hauv tsab ntawv los ntawm daim ntawv qhia zaub mov "Cov Ntaub Ntawv" xaiv yam khoom Txuag Li.
- Muab cov ntaub ntawv rau lub npe, piv txwv Find_mac, thiab tom qab lub npe ntxiv
.cmd
los ntawm xaiv cov hom ntaub ntawv hauv lub npov hauv qab no "Txhua Ntaub Ntawv". Qhov no yuav tsum yogFind_mac.cmd
. Txuag tsab ntawv rau hauv koj lub desktop. - Cov ntaub ntawv ceev cia ntawm lub desktop yuav zoo li no:
- Khiav mus "Hais kom ua kab" thiab luag cov ntawv nyob ntawd.
- Nws qhov chaw nyob yuav muab ntxiv rau txoj hlua, uas txhais tau hais tias qhov khoom siv tau ntse tiav.
- Xovxwm chaw thiab nkag mus rau MAC chaw nyob hauv cov lus qhia hauv screenshot hauv qab no, thiab tom qab ntawd nias tus yawm sij Sau.
- Nws yuav siv ob peb feeb thiab koj yuav pom qhov tshwm sim.
Peb xav hais tias koj paub koj tus kheej nrog rau lwm txoj hauv kev nrhiav IP chaw nyob ntawm ntau yam cuab yeej network hauv peb cov ntaub ntawv xaiv ntawm cov kev txuas nram qab no. Nws pib tsuas yog cov hau kev uas tsis tas yuav tsum tau paub txog qhov chaw nyob los yog cov ntaub ntawv ntxiv.
Saib kuj: Yuav ua li cas paub qhov chaw tus IP ntawm lub Alien computer / tshuab luam ntawv / Router
Yog tias kev tshawb fawb nrog ob qho kev xaiv tsis coj qhov kev ntsuam xyuas, ua tib zoo kos lub npe MAC, thiab thaum twg siv thawj txoj kev, tsis txhob hnov qab tias qee qhov nkag ntawm lub cache raug khaws cia tsis tshaj 15 vib nas this.