ipconfig
ipconfig is a command line command that is included in Microsoft Windows . It shows the hardware addresses or the IP addresses of the devices used in the local network.
The command ipconfig
retrieves the address data of the local IP network. The addresses can also be viewed via the control panel under network settings. The display via the command ipconfig
has the advantage that the data is clearly displayed.
use
ipconfig
can provide the following general information via Windows 7 :
- IP address
- Subnet (subnet mask)
- Standard gateway
Ethernetadapter LAN-Verbindung: Verbindungsspezifisches DNS-Suffix: t-online.de IPv6-Adresse. . . . . . . . . . . : 2001:db8:1:1:2570:79ba:984b:f44b Verbindungslokale IPv6-Adresse. . : fe80::2570:79ba:984b:f44b%1 IP-Adresse. . . . . . . . . . . . : 192.168.168.20 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Standardgateway . . . . . . . . . : fe80::2d0:3ff:fe3c:7d00%1 192.168.168.1
With ipconfig /all
you can get the following information:
- Hostname
- DNS server
- NetBIOS node type
- NetBIOS Scope ID
- IP routing activated
- WINS - Proxy enabled
- NetBIOS resolution through DNS
Information on all network adapters including modems and ISDN cards is provided:
- description
- Physical address ( MAC address )
- DHCP activated
- Subnet mask
- Standard gateway
- DHCP server
- First WINS server
- Second WINS server
- Valid since
- Date of Expiry
Windows-IP-Konfiguration Hostname. . . . . . . . . . . . . : TESTPC Primäres DNS-Suffix . . . . . . . : Knotentyp . . . . . . . . . . . . : Hybrid IP-Routing aktiviert. . . . . . . : Nein WINS-Proxy aktiviert. . . . . . . : Nein Ethernetadapter LAN-Verbindung: Verbindungsspezifisches DNS-Suffix: t-online.de Beschreibung. . . . . . . . . . . : Intel(R) PRO/100 Physikalische Adresse . . . . . . : 00-0C-B1-2E-D5-E2 DHCP aktiviert. . . . . . . . . . : Ja Autokonfiguration aktiviert . . . : Ja IPv6-Adresse. . . . . . . . . . . : 2001:db8:1:1:2570:79ba:984b:f44b(Bevorzugt) Verbindungslokale IPv6-Adresse. . : fe80::2570:79ba:984b:f44b%1(Bevorzugt) IP-Adresse. . . . . . . . . . . . : 192.168.168.20 Subnetzmaske. . . . . . . . . . . : 255.255.255.0 Lease erhalten. . . . . . . . . . : Dienstag, 30. August 2014 Lease läuft ab. . . . . . . . . . : Dienstag, 30. August 2014 Standardgateway . . . . . . . . . : fe80::2d0:3ff:fe3c:7d00%1 192.168.168.1 DHCP-Server . . . . . . . . . . . : 192.168.168.1 DNS-Server. . . . . . . . . . . . : 192.168.168.1
With ipconfig /release
the IPv4 address is released for the specified adapter. If no adapter is specified, the IPv4 addresses of all adapters are released.
With ipconfig /renew
the IPv4 addresses for one or for all adapters can be renewed.
ipconfig /flushdns
clears the DNS cache
If a 6 is written at the end of the respective command, the command affects the IPv6 addresses.
In addition, ipconfig /?
a help with all options and examples can be output.
The netsh tool enables you to back up and restore an existing IP network .
POSIX
On Unix and Unix-like systems, the command ifconfig
of similar information.