Windows IP address configuration can be gathered with different ways. In this tutorial we will learn command line tool ipconfig
and GUI to learn IP address of the operating system.
Windows IP地址配置可以通过不同方式收集。 在本教程中,我们将学习命令行工具ipconfig
和GUI,以学习操作系统的IP地址。
带有ipconfig命令的命令行 (Command Line with ipconfig Command)
ipconfig
is a tool which provides detailed information about the system network configuration. This will list information like Physical Address
, IPv4 Address
, IPv6 Address
, DNS Servers
.
ipconfig
是一个工具,提供有关系统网络配置的详细信息。 这将列出诸如Physical Address
, IPv4 Address
, IPv6 Address
, DNS Servers
。
打开命令提示符 (Open Command Prompt)
We can open command prompt in different ways but writing cmd
to the Start Menu
is the simplest way.
我们可以用不同的方式打开命令提示符,但是将cmd
写入“ Start Menu
是最简单的方法。
![Open Command Prompt](https://i-blog.csdnimg.cn/blog_migrate/0638ea2f5eeabcd1f528755606179b5a.png)
ipconfig命令(ipconfig Command)
Than issue ipconfig
command like below.
比发出如下的ipconfig
命令。
> ipconfig
![ipconfig Command](https://i-blog.csdnimg.cn/blog_migrate/a72373e351375173c97b25a927e21ebd.png)
从网络管理中心(From Network Management Center)
From GUI we can get IP address information from Control Panel
->Network and Sharing Center
.
通过GUI,我们可以从Control Panel
-> Network and Sharing Center
获取IP地址信息。
![From Network Management Center](https://i-blog.csdnimg.cn/blog_migrate/0dc5e06c2cf13b50e1e7c9f5dc7b6196.png)
开放式网络接口(Open Network Interface)
Then we will open Ethernet0
in this example which is the interface we are accessing to the internet.
然后,在此示例中,我们将打开Ethernet0
,这是我们正在访问Internet的接口。
![Open Network Interface](https://i-blog.csdnimg.cn/blog_migrate/f8e01994658ff8117a93f1ba85275d96.png)
网络连接详细信息(Network Connection Details)
This screen provides us different information like Sent and Received packets etc. We will click to the Details
button which will open following window. This windows provides ipconfig
like information. We can find detailed information like IPv4 Address
or IPv6 Address
etc.
该屏幕为我们提供了不同的信息,例如已发送和已接收的数据包等。我们将单击“ Details
按钮,这将在以下窗口中打开。 该窗口提供类似ipconfig
信息。 我们可以找到详细信息,例如IPv4 Address
或IPv6 Address
等。
![Network Connection Details](https://i-blog.csdnimg.cn/blog_migrate/3bcea956479e5a528067d8d63303e318.png)
翻译自: https://www.poftut.com/how-to-find-ip-address-on-windows/