ipconfig [/all]
Windows-style adapter info. '/all' adds MAC, DHCP, DNS; '/renew' and '/release' work the DHCP lease; '/flushdns' clears the resolver cache; '/?' prints the usage. 'ipconfig <adapter>' shows just that adapter.
Sample output
Ethernet adapter Eth0:
Media State . . . . . . . . . . : Connected
IPv4 Address. . . . . . . . . . : 10.0.0.10
Subnet Mask . . . . . . . . . . : 255.255.255.0
Ethernet adapter Wireless0:
Media State . . . . . . . . . . : Media disconnected
Default Gateway . . . . . . . . : 10.0.0.1
Captured from the NetForge-AI simulator running a real topology.
Only those slash flags exist. Anything else ('/Fa0/1', '/bogus') or an adapter name the host doesn't have prints 'Error: unrecognized or incomplete command line.' plus the USAGE block — it never silently does nothing.
Don't just read it — type ipconfig [/all] in a real network simulator in your browser and watch it take effect. No install, no account needed to start.
Frequently asked
What does the "ipconfig [/all]" command do?
Windows-style adapter info. '/all' adds MAC, DHCP, DNS; '/renew' and '/release' work the DHCP lease; '/flushdns' clears the resolver cache; '/?' prints the usage. 'ipconfig <adapter>' shows just that adapter.
What's the common gotcha with "ipconfig [/all]"?
Only those slash flags exist. Anything else ('/Fa0/1', '/bogus') or an adapter name the host doesn't have prints 'Error: unrecognized or incomplete command line.' plus the USAGE block — it never silently does nothing.