About Me

Josh Lyon

Name: Joshua Lyon
Birthday: August 8, 1985
Location: Grapevine, TX
E-mail: josh@boshdirect.com

Home View Blog Technology Find Local IP Address
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 (4)add comment

matt said:

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

matt
 
April 24, 2008
Votes: +0

Rachel said:

0
Rachel
Hey! Excellent site!
Very good work webmaster!
Best regards! smilies/wink.gif
 
May 26, 2008
Votes: +0

Josh Lyon said:

0
local ip
Matt - I'm not sure exactly what you are looking for. Please post with some clarification so I might be able to help you.
 
June 29, 2008
Votes: +0

Y3G said:

0
how to find local attached devices
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?
 
September 28, 2008
Votes: +0

Write comment

busy