通常在排除电脑网络故障的时候,都要查看电脑IP地址,那我们要怎么才能知道自己电脑IP地址呢?这里总结三种方法。
一:使用ipconfig命令查看。
使用win+r,输入cmd。打开命令提示符

二:点击电脑右下角电脑图标,然后选择"网络和Internet设置",点击以太网属性,就可以查看到电脑IP。



三:使用控制面板查看
打开控制面板。查看网络状态和任务,点击以太网,查看详细信息。这里要注意以下多网卡时,找到自己需要查看的网卡。


这里需要注意的是 如果你看到的IP地址是169.254.0.0/16这个网段的,说明DHCP没有获取到地址。如果是手动设置的IP,查看详细信息的时候出现这段的IP,说明IP有冲突,换一个就好了。
特别注意169.254.0.0/24 这段是本地链路地址
如果一个网络设备获取IP地址的方式被设置成了自动获取方式,但是该设备在网络上又没有找到可用的DHCP服务器,那么该设备就会使用169.254.0.0/16网段的某个地址来进行临时通信。
常用的几种特殊地址
127.0.0.1 环回地址 主要用来测试本地网络。
A、B、C三类私有地址
私有地址是我们可以给自己家用设备随便设置的地址。
A类网络的地址空间为:10.0.0.0~10.255.255.255。
B类网络的地址空间为:172.16.0.0~172.31.255.255。
C类网络的地址空间为:192.168.0.0~192.168.255.255。