I have more than one adapter in my system and I want to know the IP of particular adapter. Is it possible through a command in Windows, in Linux it's easy? Or any other way?
Click the Run button in the Windows Start Menu. Type cmd in the Open prompt of the Run menu and click OK to launch a command prompt window. Type ipconfig /all at the command prompt to check the network card settings. The IP number and MAC address are listed by ipconfig under IP Address and Physical Address.
Click Start, click Run, type cmd, and then click OK. At the command prompt, type ipconfig, and then press ENTER. Note the following information: The IP address of the network adapter that you want to check.
To specify an adapter name, type the adapter name that appears when you use ipconfig without parameters. Configures the DHCP class ID for a specified adapter. To set the DHCP class ID for all adapters, use the asterisk (*) wildcard character in place of adapter.
The following will let you specify an adapter (something ipconfig doesn't appear to do):
netsh interface ip show config name="Local Area Connection"
You can add | findstr "IP Address"
to the end of that command to only show the IP address line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With