Find Local IP Address
Written by Josh Lyon   
Thursday, 04 October 2007 06:09

Here's a quick tip for those of you looking to find your LOCAL (as in within your network) IP address.  In Windows, you would simply issue the following command from the command prompt (Start > Run > "cmd")

ipconfig

Which would yield something similar to the following results.

U:\>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix  . : mshome.net
IP Address. . . . . . . . . . . . : 177.21.101.137
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 177.21.101.1

From a Linux shell, you would issue the following:

ifconfig

Which would yield something similar to the following results

eth0     Link encap:Ethernet  HWaddr 00:0F:EA:91:04:07
 inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
 inet6 addr: fe80::20f:eaff:fe91:407/64 Scope:
 UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 RX packets:31167 errors:0 dropped:0 overruns:0 frame:0
 TX packets:26404 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:1000
RX bytes:38338591 (36.5 MiB)  TX bytes:3538152 (3.3 MiB)
Interrupt:18 Base address:0xc000
lo        Link encap:Local Loopback
 inet addr:127.0.0.1  Mask:255.0.0.0
 inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:1994 errors:0 dropped:0 overruns:0 frame:0
TX packets:1994 errors:0 dropped:0 overruns:0 carrier:0
 collisions:0 txqueuelen:0			
RX bytes:188041 (183.6 KiB)  TX bytes:188041 (183.6 KiB)

Comments (35)

mr
0
hey mate i was wondering how do i find local ip addresses

matt
matt , April 24, 2008
Rachel
0
Hey! Excellent site!
Very good work webmaster!
Best regards! smilies/wink.gif
Rachel , May 26, 2008
local ip
0
Matt - I'm not sure exactly what you are looking for. Please post with some clarification so I might be able to help you.
Josh Lyon , June 29, 2008
how to find local attached devices
0
Hi,
I have a black box attached to my PC via LAN. I don't know it's address how can I see it's IP address?
Y3G , September 28, 2008
...
0
Excellent, Matt. For Vista users click Start, enter "cmd" click on cmd.exe then enter ipconfig.
Peter , March 05, 2009
...
0
hi,
i found a tool through that can get ip add
www.ip-details.com
jo , May 06, 2009
Dir of Sales
0
I have an encoder attached to my laptop vis ethernet. How can I find the IP address of that device? There is supposed to be a default IP address from the manufacturer, but I am not able to ping it. Any ideas?
Mark , May 20, 2009 | url
reply , Lowly rated comment [Show]
need help
0
when i type ipconfig it dosent show me the local ip's and all that it just says there is no command for that
nate , November 06, 2009
student
0
how do I know default gw ip address server without using the software in windows xp

thanks before
thedaqy , November 30, 2009
..
0
thanks a lot man you are the best. you saved me!!!smilies/grin.gifsmilies/grin.gifsmilies/grin.gifsmilies/grin.gif
georgio armani , January 03, 2010
...
0
i have ubuntu, but when i hit ifconfig in terminal, under the section "eth0" there is no inet addr... it just skips to UP BROADCAST RUNNING MULTICAST and so on. can someone help me please?
tina , January 08, 2010
help
0
my tried to open cmd and type net view and tracert (user) it gives my a a MSG that say unable to resolve target system name (user)and i cant get it to work if you can find another way to get my step moms ip so i can telnet to her computer so i can mess with here. lol please email me at: This e-mail address is being protected from spambots. You need JavaScript enabled to view it

thx.......
micnasty , January 22, 2010
...
0
Thank you very much!
Leo , March 09, 2010
IP
0
Thank U......
Latha , May 11, 2010 | url
hanx very mush dude!"
0
hanx very mush dude!"smilies/grin.gifsmilies/grin.gifsmilies/grin.gif
Omme , May 18, 2010
...
0
how do you find you local ip address ??
eric , June 13, 2010
To Y3G...
0
Your "Black box" it's a router. His IP adress it's called "Gateway" and his default Gateway is 192.168.1.1 smilies/grin.gif
JP , October 12, 2010 | url
...
0
i have been pleased after reading this blog the knowledge which has been provided via this blog is simply tremendous.
i really appreciate the blogger for doing this work.
cheap computers , February 08, 2011
Interesting
0
I had another method in mind along with using IP checking tools like IP Elk but this clearly is a new and improved idea for me. Will definitely take a deeper look at this so Bookmarked for now.

Thanks and Regards,
Dev
Dev , May 20, 2011
...
0
my cmd prompt doesnt show the default gateway..what should i do
aniruddh , May 20, 2011
...
0
Is it the same as IPv4 address?
Help Needed , November 27, 2011
Herp derp
0
Default gateway =/= IP

Netw0rking n00b
Anon , December 27, 2011
Great Blog
0
I want to develop students into creators of the technology they use, not merely users. Students with various programming backgrounds learned and applied computer science concepts to create video games and applications that address social causes
תיקון מחשבים , January 15, 2012 | url
Great One
0
One of the most crucial things to consider is the cost. Find out what a company charges for its services.
בעלי מקצוע , January 15, 2012 | url
http://www.hairrestorationsurg...treatment/
0
Thanks for letting us know such a simple way...
Hair loss treatment , January 18, 2012 | url
...
0
Thanks a lot i was searching it for a long time
http://goo.gl/VXQTE
0
great work buddy
טכנאי מקררים , January 25, 2012 | url
http://goo.gl/XD8zP
0
Are you good university student, but you don’t have passion of writing? No more writing stress! Find the academic papers writing firms, order course work writing and improve your reputation.
עיצוב גינות , January 30, 2012 | url
http://www.xn--5dbdccksa6af6gg.net/
0
When you have got no thoughts how to compose your courseworks, you can order course works.
הדברה , January 30, 2012 | url
http://www.pensamedia.com.tw/s...kings.html
0
I possibly could look at the information of this post as a possible content rich as well as terrific source of help and advice.
台灣SEO服務 , January 31, 2012 | url
http://goo.gl/jBTwG
0
We conceive the following internet site holds very fantastic pent content material content.
אופציות , February 01, 2012 | url
http://goo.gl/Mk9jl
0
I could really say that visiting this one of a kind site was very great cause it has a content that you rarely found to other site based on the articles that you have been posted.
форекс , February 01, 2012 | url
http://www.xn--fx-gh4am7z5bb4961jdgyc.com/
0
I will forward this article to him. Pretty sure he will have a delightful read. Thanks for posting! Reading this post reminds me of my recent employer!
fx 比較 , February 01, 2012 | url
...
0
I briefly described another way to find local ip by using route table. Details are available at http://ireasoning.com/articles...ddress.htm
Henry , February 04, 2012 | url

Write comment

smaller | bigger
security image
Write the displayed characters

busy