ipconfig
是一个流行的命令,用于显示和管理Windows操作系统中的网络和IP配置。甚至ipconfig命令也提供了Windows系统的基本IP和网络配置,在某些情况下可能需要更详细的信息,如NetBIOS名称。ipconfig/all命令可用于列出有关Windows系统网络配置的所有详细信息。以下说明可用于所有现代Windows操作系统,如Windows XP、Windows 7、Windows 8、Windows 10、Windows Server series。
null
ipconfig命令
首先,我们将使用ipconfig命令,它将提供相当基本的网络和IP相关信息,如;
- 连接特定的DNS后缀
- 链路本地IPv6地址
- IPv4地址
- 子网掩码
- 默认网关
C:>ipconfigWindows IP ConfigurationEthernet adapter Ethernet0: Connection-specific DNS Suffix . : localdomain Link-local IPv6 Address . . . . . : fe80::557b:67:59aa:dcde%7 IPv4 Address. . . . . . . . . . . : 192.168.142.130 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 192.168.142.2
ipconfig/all命令
但是 ipconfig /all
命令提供有关网络、IP地址、网络接口等的详细信息。
- 主机名
- 主Dns后缀
- 节点类型
- IP路由已启用
- 已启用WINS代理
- 后缀搜索列表
- 连接特定的DNS后缀
- 实际地址
- 网络接口品牌及型号
- 物理地址或Mac地址
- DHCP已启用
- 已启用自动配置
- 链路本地IPv6地址
- IPv4地址
- 子网掩码
- 获得的租约
- 租约到期
- 默认网关
- DHCP服务器
- DHCPv6 IAID
- DHCPv6客户端DUID
- DNS服务器
- 主WINS服务器
- 基于Tcpip的NetBIOS
C:>ipconfig /allWindows IP Configuration Host Name . . . . . . . . . . . . : DESKTOP-HQVAMA3 Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : localdomainEthernet adapter Ethernet0: Connection-specific DNS Suffix . : localdomain Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection Physical Address. . . . . . . . . : 00-0C-29-DC-62-6A DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::557b:67:59aa:dcde%7(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.142.130(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Wednesday, September 23, 2020 8:22:37 AM Lease Expires . . . . . . . . . . : Thursday, October 1, 2020 7:49:37 PM Default Gateway . . . . . . . . . : 192.168.142.2 DHCP Server . . . . . . . . . . . : 192.168.142.254 DHCPv6 IAID . . . . . . . . . . . : 33557545 DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-26-38-28-02-00-0C-29-DC-62-6A DNS Servers . . . . . . . . . . . : 192.168.142.2 Primary WINS Server . . . . . . . : 192.168.142.2 NetBIOS over Tcpip. . . . . . . . : Enabled
相关文章: Windows关机命令教程
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END