Select Page

What is the IP address of my PC?

What is the IP address of my PC?

My first technical post in this blog. Actually I have posted this already in my very old blog created few years back in blogspot. No one visiting that blog. Including me ? So, reposting that again.

You know what is your PC’s IP address? Don’t know? :( No probs.. this post will help you. :)  You may have different OS in your PC. You can get the steps for all the OS below.


In versions of Windows from Windows 2000 and later, run the Windows Command Prompt. You can open Command Prompt as follows.

Start >> All Programs >> Accessories

In the command prompt, type ‘ipconfig‘  and you’ll get something similar to this:

Windows IP Configuration

Ethernet adapter Local Area Connection 2:

Connection-specific DNS Suffix . :

IP Address. . . . . . . . . . . . :
Subnet Mask . . . . . . . . . . . :
Default Gateway . . . . . . . . . :

(In Windows 98 and 95, you can Start->Run a program called “winipcfg” and get roughly the same information without using a command prompt.)


Open terminal. You can open terminal as follows.

Applications >> Accessories >> Terminal

Execute the command ‘ifconfig‘ (ipconfig in Windows). You will get something similar to this:

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:b9:05:91:c8
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::219:b9ff:fe05:91c8/64 Scope:Link
          RX packets:1169781 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1459936 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:560307361 (560.3 MB)  TX bytes:1599606612 (1.5 GB)

The IP address is ‘’ near to ‘inet addr’. Since I’m behind a router, this is not the IP address that will actually be used when I access the internet.


Open terminal. You can open terminal as follows.

Applications >> Utilities >> Terminal.

Execute the command ‘ifconfig‘. You will get an output with a line similar to this:

inet netmask 0xff000000

You can find the IP address near to ‘inet’. You will also get IPV6 address, Broad cast address, Gateway address etc., as like in Linux.


About The Author

It's me, Nivas Baskaran , a product of the 90's living in Bangalore. This is my personal blog and I'm here to post some cool stuffs. I love spending time with my Friends. Jovial in nature. I love Tea/Coffees. Ping me to know more about me :P

Leave a reply

Your email address will not be published. Required fields are marked *

Subscribe for Updates

Like Us on Facebook