我的IP地址查询?

16分钟前阅读1回复0
wojiukan
wojiukan
  • 管理员
  • 注册排名1
  • 经验值2588190
  • 级别管理员
  • 主题517638
  • 回复0
楼主

在你的电脑桌面上,通过点击右下角的"开始"快捷方式,搜索并打开"运行"程序,在此页面,找到并点击"运行"按钮,随后弹出一个黑色的命令行界面,此状态表明您正在设置或执行操作。 请将光标移动到位于屏幕底部的 ">" 字符后,之后会显示一个闪烁动态的状态符号,您需要输入以管理员权限进入命令行环境的指令,键入"cmd",按回车键即可启动一个名为 "cmd" 的命令提示符应用程序,此情况下,您所见到的会是如下提示:

  1. 输入:输入 <C:\Windows\System32\drivers\etc\drivers.txt > to view the IP address of your computer. [注意:这里的 <C:\Windows\System32\drivers\etc\drivers.txt > 是文件路径,你需要根据实际情况替换为实际的驱动器路径和目录名,]

  2. 保存:单击"Enter" 按钮,确保所有内容都已完整输入,并按下"Enter" 键确认保存更改。

成功调用 ipconfig 命令后,您将会看到以下一系列信息:

  • IPv4 Address (192.168.0.1):

    • This is your public IP address, which you can use to access the internet and communicate with devices on other networks.
    • You can see this address displayed as text surrounded by square brackets and a line feed (\n) in the output window.
  • Subnet Mask:

    The subnet mask provides information about the range of addresses within your network that belong to the same subnet (e.g., 255.255.255.0) and allows for addressing devices on the network. For example, the IP address "192.168.0.1/24" belongs to a subnet with an octet range of 192.168.0.0 through 192.168.0.254.

  • Default Gateway:

    The default gateway is the server or router that serves as the entry point for network traffic between devices connected to your network. In this case, it's set to "192.168.0.1". If you don't specify a default gateway when connecting to the internet, Windows automatically assigns one based on the network settings.

  • DNS Servers:

    • IP address resolution is performed using DNS servers. Your operating system uses several authoritative DNS servers to map IP addresses to domain names like ".com", ".org", etc. You can find these servers by typing "nslookup " in the command prompt and pressing Enter.
    • Replace "" with the name of your preferred domain registrar, such as Google Domains, Amazon Web Services, Microsoft Azure, etc.

The above information should give you a basic understanding of your computer's IP address, including its local address, subnet mask, default gateway, and DNS servers. Please note that these details may change over time due to updates to your device's networking configuration, but this is typically provided by your operating system and is typically saved in the "drivers\etc\drivers.txt" file.

If you have any specific questions regarding your IP address, please let me know, and I'll be happy to provide additional information or assist you further with the process.

0
回帖

我的IP地址查询? 期待您的回复!

取消
载入表情清单……
载入颜色清单……
插入网络图片

取消确定

图片上传中
编辑器信息
提示信息