Adireshin IP ɗin na na'urar da aka haɗa haɗin yana buƙatar mai amfani a cikin halin da ake ciki lokacin da aka aika wani umarni zuwa gare shi, alal misali, takarda don bugawa zuwa firinta. Bayan waɗannan misalai, akwai da yawa, ba za mu lissafa su duka ba. Wani lokaci mai amfani yana fuskantar halin da ake ciki inda adireshin cibiyar sadarwar kayan aiki ba a san shi ba, kuma a hannayen sa akwai kawai na zahiri, wato, adireshin MAC. Sannan gano IP abu ne mai sauƙin amfani ta amfani da kayan aikin yau da kullun.
Mun ƙayyade na'urar IP ta adireshin MAC
Don cim ma aikin yau, zamu yi amfani kawai "Layi umarni" Windows kuma, a wata keɓance daban, aikace-aikacen da aka saka Alamar rubutu. Ba kwa buƙatar sanin kowane tsari, sigogi ko umarni, a yau za mu gabatar muku da duka su. Daga mai amfani kawai adireshin MAC daidai na na'urar da aka haɗa ana buƙatar don ƙarin bincike.
Umarnin a cikin wannan labarin zai zama da amfani kawai ga waɗanda ke neman IP na wasu na'urori, ba komputa na cikin gida ba. Eterayyade MAC na PC na asali yana da sauƙi. Muna ba da shawara cewa ku fahimci kanku da wani labarin akan wannan batun da ke ƙasa.
Duba kuma: Yadda zaka ga adireshin MAC na kwamfuta
Hanyar 1: Shigarwa Umarni na Manual
Akwai zaɓi na yin amfani da rubutun don aiwatar da mahimman takaddun, duk da haka, zai zama da amfani kawai a cikin yanayin da ake aiwatar da ƙudurin IP a yawan lokuta. Don bincika lokaci ɗaya, zai ishe ku da kanka don rubuta mahimman dokokin a cikin na'ura wasan bidiyo.
- Bude app "Gudu"rike da makullin maɓallin Win + r. Shiga cikin shigarwar filin cmdsannan kuma danna maballin Yayi kyau.
- Karatun adreshin IP zai faru ta hanyar cakar, saboda haka dole ne a fara yada shi. Isungiyar tana da alhakin wannan.
don / L% a cikin (1,1,254) yi @start / b ping 192.168.1.% a -n 2> nul
. Lura cewa zai yi aiki kawai lokacin da saitunan cibiyar sadarwa suke daidaituwa, i.e. 192.168.1.1 / 255.255.255.0. In ba haka ba, sashi (1,1,254) yana canzawa. Madadin haka 1 da 1 an shigar da ƙimar farko da ta ƙarshe na cibiyar sadarwar IP, kuma a maimakon haka 254 - shigar da mask din subnet. Rubuta umarnin, sannan danna maɓallin Shigar. - Kuna gudanar da rubutun don danna dukkan hanyar sadarwa. Standardungiyar daidaitacciya tana da alhakin shi. pingwanda ke bincika adireshin daya kaɗai. Rubutun da aka shigar zai fara saurin bincika dukkan adireshin. Lokacin da aka kammala gwajin, za a nuna ingantaccen layin don ƙarin shigarwar.
- Yanzu ya kamata ku duba shigarwar cache ta amfani da umarnin baka da jayayya -a. Yarjejeniyar ARP (Tsarin ƙaddamar da adireshi) yana nuna daidaiton adiresoshin MAC zuwa IP, yana nuna duk na'urorin da aka samo a cikin wasan bidiyo. Lura cewa bayan an cika wasu bayanan ana ajiye su sama da dakika 15, don haka nan da nan bayan an cika cakar, sai a yi binciken ta shiga
arp -a
. - Yawanci, ana karanta sakamakon binciken ƙanƙanni kaɗan bayan an kunna umarnin. Yanzu zaku iya tabbatar da adireshin MAC ɗin da ke yanzu tare da IP ɗin da ya dace.
- Idan jeri ya yi tsayi ko kana so ka nemi wasa daya kawai, a maimakon haka arp -a bayan cika cakar, shigar da umarnin
arp -a | nemo "01-01-01-01-01-01"
ina 01-01-01-01-01-01 - Adadin adireshin MAC da ke akwai. - Bayan haka zaka sami sakamako ɗaya kawai idan an samo wasa.
Dubi kuma: Yadda za a gudanar da Umarni a kan Windows
Anan akwai jagorar mai sauƙi don taimaka muku ƙaddara adireshin IP na na'urar sadarwa ta amfani da MAC ɗin ku da kuke ciki. Hanyar da aka yi la'akari da ita tana buƙatar mai amfani don shigar da kowane umarni da hannu, wanda ba koyaushe dace ba. Sabili da haka, ga waɗanda galibi ke buƙatar yin irin waɗannan hanyoyin, muna ba da shawarar ku san kanku da wannan hanyar.
Hanyar 2: Createirƙiri da Gudun Rubuta
Don sauƙaƙe tsarin ganowa, muna ba da shawarar yin amfani da takamaiman rubutun - jerin saiti waɗanda suke gudana ta atomatik. Abin sani kawai kuna buƙatar ƙirƙirar wannan rubutun da hannu, gudanar da shi kuma shigar da adireshin MAC.
- A tebur, danna sau da dama da ƙirƙirar sabon rubutun rubutu.
- Bude shi da liƙa waɗannan layin:
@echo kashe
idan "% 1" == "" ba amsa adireshin MAC da fita / b 1
don / L %% a a (1,1,254) yi @start / b ping 192.168.1. %% a -n 2> nul
ping 127.0.0.1 -n 3> nul
arp -a | Nemo / i "% 1" - Ba za mu bayyana ma'anar dukkanin layin ba, tunda zaku iya fahimtar kanku tare da su a farkon hanyar. Babu wani abu da aka ƙara sabo a nan, kawai ana inganta tsari ne kawai kuma an shigar da ƙarin adireshin adireshin jiki. Bayan shigar da rubutun ta hanyar menu Fayiloli zaɓi abu Ajiye As.
- Ka ba fayil ɗin wani suna mai sabani, misali Nemo_mac, kuma bayan sunan ƙara
.cmd
ta zabi nau'in fayil ɗin a filin da ke ƙasa "Duk fayiloli". Sakamakon yakamata ya kasanceNemo_mac.cmd
. Ajiye rubutun a cikin tebur dinka. - Fayil da aka ajiye akan tebur zai yi kama da wannan:
- Gudu Layi umarni kuma ja rubutun a wurin.
- Za'a ƙara adireshin sa zuwa layin, wanda ke nufin an ɗora kayan cikin nasara.
- Latsa sarari kuma shigar da adireshin MAC a cikin tsari kamar yadda aka nuna a cikin sikirin a kasa, sannan kuma danna maɓallin Shigar.
- Bayan 'yan mintuna kaɗan zasu wuce kuma zaku ga sakamakon.
Muna ba da shawara cewa ku fahimci kanku da sauran hanyoyin binciken adireshin IP na na'urorin cibiyar sadarwa daban-daban a cikin kayanmu na mutum ta amfani da hanyoyin haɗin da ke biye. Ba a gabatar da waɗancan hanyoyin kawai waɗanda ba sa buƙatar sanin adireshin zahiri ko ƙarin bayani ba.
Dubi kuma: Yadda za a nemo adireshin IP na komputa na /asashen waje / Printer / Router
Idan bincike tare da zaɓuɓɓuka biyu da ke sama ba su kawo wani sakamako ba, a hankali sake bincika MAC ɗin da aka shigar, kuma lokacin amfani da hanyar farko, kar a manta cewa ana shigar da wasu shigarwar a cikin ɗakin ba fiye da 15 seconds.