search
HomeCommon ProblemHow to query ip address using cmd command

How to query ip address using cmd command

Oct 27, 2020 pm 04:42 PM
cmdIP address

How to query the IP address with the cmd command: First click to start typing [cmd]; then enter the command [ipconfig /all] and press Enter; the last information that appears can be used to query the IP address.

How to query ip address using cmd command

cmd command to query the IP address:

1. Click "Start" in the lower left corner of the system desktop. Then enter "cmd" in the search box.

Note: If it is an XP system, please click "Start" and then "Run", and then enter "cmd" in the window. The other steps are the same!

How to query ip address using cmd command

#2. Enter: ipconfig /all in the pop-up CMD command and press Enter.

How to query ip address using cmd command

3. After that, we will get the information as shown below.

Here, we only need to check the IPv4 address, default gateway and DNS server.

As marked in the figure, the IPv4 address is the IP address of our local machine, and the remaining default network management and DNS servers are also the default network management and DNS addresses of our local machine.

How to query ip address using cmd command

4. Note: Because my machine is connected to a wireless router, the IP address displayed is the IP address in the LAN. If the Internet is connected through dial-up, the IP The address, gateway, and DNS show the IP address, network management, and DNS of China Telecom, China Unicom, and China Mobile.

5. If you want to check the IP address assigned to us by China Telecom, China Unicom or China Railcom, you can search for "IP address" on Baidu to view your own external IP address.

How to query ip address using cmd command

Related learning recommendations: Website production video tutorial

The above is the detailed content of How to query ip address using cmd command. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version