The command to view the IP is [ipconfig /all]. Viewing method: First click Start, enter "cmd" in the search box; then enter [ipconfig /all] in the pop-up CMD command; finally view IPv4 address, default gateway and DNS server are enough.
#The operating environment of this article: Windows 7 system, Dell G3 computer.
The command to check the ip is [ipconfig /all], check method:
1. Click "Start" in the lower left corner of the system desktop, and then enter in the search box "cmd".
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!
#2. Enter: ipconfig /all in the pop-up CMD command and press Enter.
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.
If you want to learn more about programming, please pay attention to php trainingcolumn!
The above is the detailed content of Check what the ip command is. For more information, please follow other related articles on the PHP Chinese website!