开始---运行---输入CMD---输入ipconfig /all就可以了
C:Documents and Settingsnew>ipconfig /all
Ethernet adapter本地连接:
Connection-specific DNS Suffix? . :
??????? Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
??????? Physical Address. . . . . . . . . : C0-A3-45-D0-00-00????Physical Address物理地址
??????? Dhcp Enabled. . . . . . . . . . . : No??????????DHCP Enabled动态地址配置协议关闭
![ip地址网关子网掩码 怎样查自己的IP地址、子网掩码、默认网关、DNS](http://img.aihuau.com/images/b/11550603/5511030611550910324287.jpg)
??????? IP Address. . . . . . . . . . . . : 202.117.144.155????IP Address IP地址
??????? Subnet Mask . . . . . . . . . . . : 255.255.255.240????subnet mask是子网掩码
??????? Default Gateway . . . . . . . . . : 202.117.144.150?????Default Gateway是默认网关
??????? DNS Servers . . . . . . . . . . . : 202.117.144.2?????DNS server:域名解析服务器
????? ??NetBIOS over Tcpip. . . . . . . . : Disabled
任何电脑都有一个固定不变的IP就是127.0.0.1也就是自己的电脑,这个IP只能自己访问自己用。有网卡的还有一个内网IP,可以通过在模拟DOS模式也就是命令提示符下输入IPCONFIG/ALL查看,你的物理网卡是IP就是你的内网IP;访问外网的还有一个外网IP,一般是你机器的虚拟网卡的IP,也可以用上面的IPCONFIG命令查看。