After Hours

TR Community tip: View your IP address information

In this quick tip by TR member Jacky Howe, you'll learn two different ways to quickly obtain your IP address information.
This tip was provided by Jacky Howe.

There are different ways in Windows to quickly retrieve your IP address. I've provided two methods below.

ipconfig

  1. Select Start | Run
  2. Type cmd in the Run dialogue box, and press Enter
  3. Type ipconfig /all at the command prompt

This will open a command window with your IP address information. One advantage is that you can send the information to a text file by typing ipconfig /all> c:\ip.txt

View status

  1. Select Start | Control Panel
  2. Open Network Connections, and double-click the icon for your network (If the network appears in the system tray, you can just double-click that icon)
  3. Click the Support tab
  4. Select the Details button

This will open a Network Connection Details window with your IP address information.

Send in your own TR Community tip that we can feature in the TR Out Loud blog to trol@techrepublic.com.

About

Sonja Thompson has worked for TechRepublic since October of 1999. She is currently a Senior Editor and the host of the Smartphones and Tablets blogs.

28 comments
jdclyde
jdclyde

now that you have the address of your PC, the Gateway, and the DNS servers, you will often need to know your WAN address. http://www.ipchicken.com will give your real world IP address.

The 'G-Man.'
The 'G-Man.'

1.......(moving glass) 9.......(moving glass) 5.......(moving glass) ..........................Oh, a Dot (moving glass) 2.......(moving glass) spirit is getting weak, are you still there...? ..............(moving glass)..... 4.......... and so on.

biffer711
biffer711

If you're going to go around correcting the spelling in other people's posts, you had better be pretty sure of your own.

The Scummy One
The Scummy One

Create a batch file ipconfig /all > ip.txt call ip.txt del ip.txt

Neon Samurai
Neon Samurai

For those that remember the winipcfg utility, there is a winNTipcfg version you can add on to your system.

ericswain
ericswain

That's Windows 95,NT4.0, and 98 language... wipe a tear I didnt think anyone remembered the older DOS ip config commands.

Neon Samurai
Neon Samurai

I should have clarified further. "winipcfg.exe" was included with NT 4 and the win95/win98 lines. "wntipcfg.exe" is a version someone has created to work with NT4+ and winXP. Same look and feel but supports the newer OS. I'd provide a link but I only have the .exe on my flashdrive now.

Jellimonsta
Jellimonsta

I haven't used that command for at least 7 years. :0

boxfiddler
boxfiddler

Start\All Programs\Accessories\Command Prompt. Type ipconfig or ipconfig /all at the prompt to display IP information.

Sonja Thompson
Sonja Thompson

TR member Jacky Howe provided a couple different methods for quickly retrieving your IP address information. Do you know another method? If so, please share your expertise in the discussion thread. If you have another tip that you'd like to share with your IT peers, please send it via e-mail (trol at techrepublic dot com) so that we can feature it in an upcoming TR Community tip post.

Sonja Thompson
Sonja Thompson

I just received a tip from TR member kimsland, which will appear in next week's TR Community tip! I love it! Please send more tips to trol at techrepublic dot com.

Jacky Howe
Jacky Howe

as I don't always remember to send one in. ;)

jdclyde
jdclyde

also, if you use a >> instead of a > it will APPEND to the file instead of overwrite it. Note, post was started before you edited your post! :p

Wizard-09
Wizard-09

Could have something like this. for /f %%a in ('type "users.txt"') do ( for /f "delims=" %%m in ('psloggedon -l -x \\%%a ^| find "DOMAIN\"') do echo %%a %%m >> user.txt

Wizard-09
Wizard-09

All my users have static address, I have a DB with all the addresses and who owns the address so I'm good. Another way to find the IP on the network when users are suffering from the lack of brains is to asked them thier name. Do a PSlogged on, you will get the machine name then do a ping-a with the machine name saves me from asked them things that might fry a few brain cells lol. so cmd - psloggedon joe computer1 cmd - ping-a computer1 IP 192.156.1.14

Jellimonsta
Jellimonsta

If you are really brave, you can open Regedit and browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces and click each subfolder to see the IP Address information in each string value for the adapters. Otherwise, you could just download IPConfig Manager and see it with 1 click. ;) http://download.cnet.com/IPConfig-Manager/3000-2381_4-10658058.html

Jacky Howe
Jacky Howe

reg query hklm\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces /s> C:\int.txt call c:\int.txt del c:\int.txt

Editor's Picks