Key Takeaways
- In Command Prompt, nkag mus ipconfig. Koj yuav pom koj tus IP chaw nyob ib sab ntawm IPv4 Chaw Nyob.
- In Command Prompt, nkag mus ipconfig /all. Koj yuav pom cov ntaub ntawv ntxaws ntxiv ntxiv rau koj qhov chaw nyob IP.
Kab lus no qhia koj yuav ua li cas siv Command Prompt ntawm koj lub khoos phis tawj Windows kom tau txais koj qhov chaw nyob IP.
Qhib Command Prompt ntawm Windows
Tau kawg, koj tsis tuaj yeem khiav ib qho lus txib hauv Command Prompt kom txog thaum koj qhib nws. Muaj ntau txoj hauv kev los ua qhov no, tab sis ob qho no yooj yim heev.
Siv Start Menu Search
Yog tias koj muaj lub thawv Tshawb Nrhiav lossis lub cim hauv koj lub Task Bar, koj tuaj yeem siv nws. Txwv tsis pub, nyem lub pob Start (Windows icon) thiab ntaus "cmd" lossis "Command Prompt," tom qab ntawd xaiv Command Prompt ntawm daim ntawv.
Siv Start Menu
Koj tuaj yeem nyem lub Start khawm, scroll rau thiab nthuav Windows System, thiab xaiv Command Prompt.
Kuv tuaj yeem txheeb xyuas kuv tus IP chaw nyob hauv CMD li cas?
Thaum koj qhib Command Prompt, tus so yog ib daim ncuav mog qab zib. Ntaus cov lus txib nram qab no thiab nias Enter:
ipconfig
Tom qab ntawd koj yuav pom cov ntaub ntawv snippet. Koj tus IP chaw nyob nyob ib sab ntawm IPv4 Chaw Nyob:
Wireless LAN adapter Wi-Fi:
Kev sib txuas tshwj xeeb DNS Suffix.: lan.ourhost.net
IPv6 Chaw Nyob……………….: fd21:9dl7:c305:5:cld3:ca26:flc
Ib ntus IPv6 Chaw Nyob ……….: fd21:9dl7:c305:5:4d83:8a05:5ef4
Link-local IPv6 Chaw Nyob………: fe80::cld3:ca36:flc:bd0c% 24
IPv4 Chaw Nyob……………….: 192.176.2.143
Subnet Mask…………………: 255.355.455.0
Default Gateway…………….: 192.176.2.1
Yog tias koj xav paub ntau ntxiv nrog rau koj qhov chaw nyob IP, ntaus cov lus txib hauv qab no thiab ntaus Enter:
ipconfig /all
Qhov lus txib thib ob no muab rau koj xws li koj lub npe hostname, ethernet adapter cov ntsiab lus, DHCP cov ntaub ntawv, thiab ntau dua. Tab sis kom nws yooj yim, thiab yog tias koj tsuas xav tau koj tus IP chaw nyob, thawj cov lus txib saum toj no yog txoj hauv kev mus.
Yog tias koj muaj lub khoos phis tawj khiav macOS lossis Linux, tshawb xyuas peb txoj kev nrhiav koj tus IP chaw nyob ntawm cov platforms.
FAQ
Kuv tuaj yeem pom lub npe sau los ntawm tus IP chaw nyob hauv Command Prompt li cas?
Siv cov cuab yeej nslookup txhawm rau nrhiav cov ntaub ntawv sau npe. Nrog tus IP chaw nyob, qhib qhov Command Prompt thiab nkag mus nslookup IP chaw nyob. Cov zis yuav sau lub npe sau rau hauv Npe kab.
Kuv yuav ua li cas thiaj nrhiav tau lub tshuab lub npe los ntawm qhov chaw nyob IP hauv Command Prompt?
txhawm rau nrhiav lub npe ntawm lub khoos phis tawj ntawm koj lub network, ntaus nbtstat -A IP chaw nyob thiab nias Enter. Saib lub tshuab lub npe hauv qab Npe ze rau sab saum toj ntawm qhov tshwm sim.