How to find IP Address - Step by Step Instructions for Windows and Linux

IP address

 Your IP address identifies your computer on your network or to the internet. IP (internet protocol) addresses can be setup manually but more often than not they are setup automatically through the Internet Service Provider.

Your computers IP address will usually be setup by your DHCP server (inside router usually ) which will assign an appropriate IP address to computer.

Network  & Public Address

There are two types of IP's most commonly seen and these are network and public network ip addresses. The first is the network address usually in the format 192.168.0.1 , this kind of IP address is a network address which is used to communicate between networked devices, other pc's , routers or mobile devices. Your network IP address is not visible by the outside world (internet) .

Your public IP address will be assigned by your Internet Service Provider and you have no control over it and it will usually be static meaning it will always be the same a permanent internet address. Some ISP's offer dynamic IP addresses meaning every time you connect you get a choice of which IP to use or in the old days with Dial-UP your Public IP would always change when you disconnect and reconnect.

Finding your IP Address on Windows

The easiest way to find your IP address on your Windows System is through the command line interface or command prompt.

To enter the command prompt simply

- Click the START bar

- Click RUN

-Type cmd and press ENTER ( This will open up the command line interface ,cmd for short)

- Now use the following command to find your IP Address

ipconfig     - shows basic IP and network settings

ipconfig / all - shows all network settings include gateway , mac address, will also show ip addresses for different network interface cards.

in this image we see a the gateway as 192.168.0.1 as the routers ip address, a typical network configuration
in this image we see a the gateway as 192.168.0.1 as the routers ip address, a typical network configuration

Windows IP Address ( Graphical Method )

IF you have any trouble with the command line interface approach you can also view your IP Address through the Windows GUI.

- Open your My Network Places Folder

 - Click View Network Connections, on left hand panel usually

-  Find your local area connection you wish to check the ip of

- Double click your Network Connection , and click the support TAB to see the currently used network configuration.

Manually Changing IP Address ( due to IP clashes or problems )

To change your IP address manually simply find your local area connection you wish to alter and Right click it and select Properties.

- Scroll down until your find Internet Protocol (TCP/IP), then click Properties

Here you can edit your network settings

Find your Public IP Address

The simplest way to find your public IP address is to visit any website that will display your public IP on the site for example

http://www.whatsmyip.org/

http://www.whatismyip.com/ 

This public IP address will be needed when communicating publicly , for example playing an old online game that requires you know the server's IP address. Remember to keep your computer secure when letting people access your public IP address. If you have trouble with these sorts of applications, check your firewall and blocked ports.

!!Remember you may need Root / Admin privileges to check your ip address!!
!!Remember you may need Root / Admin privileges to check your ip address!!

Find IP Address on Linux

Finding your IP address on linux is very similar to windows but the commands may differ slightly. First thing you do is to open up your Terminal or Command Line Interface Window.

The most commonly used commands to find network settings are

ifconfig

show ip address

winipconfig

show ip int

ipconfig

if you know the interface you wish to check , you can also specify it afterwards , for example ifconfig eth0, if you have trouble running ifconfig in fedora try running it from /sbin/

ifconfig will also work on MAC operating systems, through the terminal. If you have not setup your terminal follow these steps.

- At the desktop , Click Go and then Applications

- On applications menu, click the Utilities to setup the commands on the Utility Menu

- Under the utilities folder, check terminal option

- Now use the ifconfig command once in terminal

If you have any questions, let me know I will try to help

More by this Author


Comments 19 comments

Lgali profile image

Lgali 7 years ago

very useful hub good info


captainsml profile image

captainsml 7 years ago

Great info on IP addresses. Another simple way to determine any computer's IP address is to go to the site IPChicken.com


farhan 7 years ago

its a good info ......but i wanna know something more........how can i trace the public ip address of my friend when im connected to his pc through yahoo messenger??...........................plzzz help me


expectus profile image

expectus 7 years ago from Land Downunder Author

thanks farhan, regarding tracing his public IP you could try using the windows command line command tracert , just type tracert and his ip address and it will trace all the connections between him and you.

tracert "IP address"


gerly 7 years ago

very usefull nice....


Msb2656 7 years ago

I had a virus and had to wipe out (clear) the whole hard drive, now I can't get internet and I think it's because I don't have a IP address. Ow do I get a IP put back on the computer to get internet?


expectus profile image

expectus 7 years ago from Land Downunder Author

well usually your dhcp server will assign you an appropriate ip address. for some reason you may not be assigned an ip or have an ip clash.

type ipconfig into your command line and see if there is an address on your ethernet card

if not you can go into your network connections , click properties, go into TCP/IP settings and manually give yourself an ip address.


Mudamat Khan Fatih 6 years ago

Good information from all of ou,

But what is that way to traace some1 who is in Asia (China)and you are in eroup ( Germany)


expectus profile image

expectus 6 years ago from Land Downunder Author

you can try tracert and then the ip to find there service provider and from there there location will be easier to determine


cross 6 years ago

how can trace the ip address when i talk to my yahoo.messenger?


expectus profile image

expectus 6 years ago from Land Downunder Author

you can find out what port your running yahoo messenger by looking it up using "netstat" in cmd, will show you the ip address used for yahoo messenger, is that what you mean?


pisethz profile image

pisethz 6 years ago

Reading your article and follow your instruction i can solve it now. thks


skyheat 6 years ago

I have tried to trace the IP of my friends in MSN but I can't do it ,I'm using netstat but nothing happen and also how can I get the IP address of someone who send e-mail,I mean,by hotmail not by any messenger?


expectus profile image

expectus 6 years ago from Land Downunder Author

skyheat - you wont be able to find there IP address from hotmail the only way would be to go file, properties then details to see the ip but it will probably give you something to do with there ISP provider and you can't do it through a webmail ,unless you can setup hotmail on outlook express or some similar program but maybe from there you can break it down and get closer, some websites help you track location's by typing in ip addresses too


nicomp profile image

nicomp 6 years ago from Ohio, USA

"just type tracert and his ip address and it will trace all the connections between him and you."

It won't trace all of the connections, just some of them.


Ravi kumar 6 years ago

Your instruction is very helpful. thanks


serif profile image

serif 4 years ago from india

Hai Damiimad , you can easily trace any ip address with Geo location details from ip look up sites. You can get free ip search service at http://www.ip-details.com/ip-search/ . Here you get ip address details,country,Latitude, Longitude results...


obeone 3 years ago

Is it possible to find the IP Address of someone using Ip address changer program.


MartinTheGreat 3 years ago

There's a nice page for it

http://mylocation.org

Works well in mobile devices too.

    Sign in or sign up and post using a HubPages Network account.

    0 of 8192 characters used
    Post Comment

    No HTML is allowed in comments, but URLs will be hyperlinked. Comments are not for promoting your articles or other sites.


    Click to Rate This Article
    working