在输入ipconfig命令后,你可以看到类似以下的信息:
Windows IP Configuration
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . : example.com
IPv4 Address. . . . . . . . . . . : 192.168.1.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . .. .. .. .. .. : 192.168.1.1
其中IPv4 Address
就是本机的IP地址。在上面的例子中,本机的IP地址为192.168.1.100
。