Find Local IP Address

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)

Posted

in

by

Comments

23 responses to “Find Local IP Address”

  1. matt Avatar
    matt

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

    matt

  2. Rachel Avatar
    Rachel

    Hey! Excellent site!
    Very good work webmaster!
    Best regards! 😉

  3. Josh Lyon Avatar
    Josh Lyon

    Matt – I’m not sure exactly what you are looking for. Please post with some clarification so I might be able to help you.

  4. Y3G Avatar
    Y3G

    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?

  5. Peter Avatar
    Peter

    Excellent, Matt. For Vista users click Start, enter “cmd” click on cmd.exe then enter ipconfig.

  6. jo Avatar
    jo

    hi,
    i found a tool through that can get ip add
    http://www.ip-details.com

  7. Mark Avatar

    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?

  8. constantinum Avatar
    constantinum

    hi, i had a virus which did not allow me to access my command prompt, so i tried this site which directly gave away the ip address [url]http://www.ip-details.com/[/url]

  9. nate Avatar
    nate

    when i type ipconfig it dosent show me the local ip’s and all that it just says there is no command for that

  10. thedaqy Avatar
    thedaqy

    how do I know default gw ip address server without using the software in windows xp

    thanks before

  11. georgio armani Avatar
    georgio armani

    thanks a lot man you are the best. you saved me!!!;-);-);-);-)

  12. tina Avatar
    tina

    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?

  13. micnasty Avatar
    micnasty

    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:[email protected]

    thx…….

  14. Leo Avatar
    Leo

    Thank you very much!

  15. Latha Avatar

    Thank U……

  16. Omme Avatar
    Omme

    hanx very mush dude!”;-);-);-)

  17. eric Avatar
    eric

    how do you find you local ip address ??

  18. JP Avatar

    Your “Black box” it’s a router. His IP adress it’s called “Gateway” and his default Gateway is 192.168.1.1 😉

  19. cheap computers Avatar
    cheap computers

    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.

  20. Dev Avatar
    Dev

    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

  21. aniruddh Avatar
    aniruddh

    my cmd prompt doesnt show the default gateway..what should i do

  22. Help Needed Avatar
    Help Needed

    Is it the same as IPv4 address?

  23. Anon Avatar
    Anon

    Default gateway =/= IP

    Netw0rking n00b

Leave a Reply

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