Friday, 8 March 2019

networking - Is it possible for IPCONFIG on Vista to display the status of one adapter only?


Is it possible for IPCONFIG on Vista to display the status of one adapter only?


I have so many adapters that the one I want has scrolled off the top.


Alternatively, is there another program that could display the status of a specific adapter (IP address etc…)



Answer



It's not as short as ipconfig, but you can use netsh to do this:



> netsh interface ip show addresses "Local Area Connection"

Configuration for interface "Local Area Connection"
DHCP enabled: Yes
IP Address: 10.34.46.91
Subnet Prefix: 10.34.46.0/24 (mask 255.255.255.0)
Default Gateway: 10.34.46.254
Gateway Metric: 0
Default Gateway: 10.10.124.14
Gateway Metric: 0
Default Gateway: 139.30.107.176
Gateway Metric: 0
InterfaceMetric: 4245

Replace "ip" in the command by "ipv6" to get IPv6 information.


Put it into a batch for less typing :-)


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...