Jump to content

Archive:Finding Your IP Address: Difference between revisions

From IdeaWazaWiki
wikademia>Beljay
wikademia>Nick Manley
Seperated global and local IP and added Linux instructions. Also made a minor edit so that it would work in Windows 98 as well as a few minor formatting changes
Line 1: Line 1:
''Note: This documentation assumes you already know what an IP address is, see [[Wikipedia:Ip address]] for more information on IP addresses.''<br>
''Note: This documentation assumes you already know what an IP address is, see [[Wikipedia:Ip address]] for more information on IP addresses.''<br>


== Finding your IP Address in Windows 98 and above ==
== Finding Your Local IP Address ==
=== Using ipconfig ===
=== Windows 98 And Above ===
<br>
# Go to Start
# Go to Start
# Click on Run
# Click on Run
# Type cmd and hit enter
# Type cmd and hit enter (use ''command'' in Win98)
# Type ipconfig and hit enter
# Type ipconfig and hit enter
<br>
It will say something like
It will say something like
<pre>
Windows IP Configuration
Ethernet adapter Local Area Connection Network Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.102 <-your IP address
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1    <-your system Gateway
</pre>
But, that IP is a local ip. Meaning, that is the IP my router gave me, not the IP the world sees. This means that the address is only specific to me in my local network.


  Windows IP Configuration<br>
=== Linux ===
Ethernet adapter Local Area Connection Network Connection:<br><br>
 
Connection-specific DNS Suffix . :<br>
# Open a Terminal/Console
IP Address. . . . . . . . . . . . : '''192.168.0.102''' <-your IP address<br>
# Type ''ifconfig''
  Subnet Mask . . . . . . . . . . . : 255.255.255.0<br>
# Look at ''inet addr: xx.xx.xx.xx'' where the xx is your IP
  Default Gateway . . . . . . . . . : 192.168.0.1<br>    <-your system Gteway >
 
<br><br>
<pre>
But, that IP is a local ip. Meaning, that is the IP my router gave me, not the IP the world sees. This means that the address is only specific to me in my local network.  You may wish to use another method to find your global ip address.  A popular website used to do so is [http://www.whatismyip.com WhatIsMyIP].
[root@wikibooks]# ifconfig
eth0      Link encap:Ethernet HWaddr 00:80:C8:F8:4A:51
          inet addr:192.168.99.35  Bcast:192.168.99.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
          RX packets:190312 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:30701229 (29.2 Mb)  TX bytes:7878951 (7.5 Mb)
          Interrupt:9 Base address:0x5000
</pre>
 
== Finding Your Global IP Address ==
 
To find your global IP which is what the outside world sees, you may use a website such as [http://www.whatismyip.com WhatIsMyIP] or [http://www.ipchicken.com IP Chicken].


[[Category:Computing]]
[[Category:Computing]]

Revision as of 02:38, 21 October 2006

Note: This documentation assumes you already know what an IP address is, see Wikipedia:Ip address for more information on IP addresses.

Finding Your Local IP Address

Windows 98 And Above

  1. Go to Start
  2. Click on Run
  3. Type cmd and hit enter (use command in Win98)
  4. Type ipconfig and hit enter

It will say something like

 Windows IP Configuration
 Ethernet adapter Local Area Connection Network Connection:
 Connection-specific DNS Suffix . :
 IP Address. . . . . . . . . . . . : 192.168.0.102 <-your IP address
 Subnet Mask . . . . . . . . . . . : 255.255.255.0
 Default Gateway . . . . . . . . . : 192.168.0.1     <-your system Gateway

But, that IP is a local ip. Meaning, that is the IP my router gave me, not the IP the world sees. This means that the address is only specific to me in my local network.

Linux

  1. Open a Terminal/Console
  2. Type ifconfig
  3. Look at inet addr: xx.xx.xx.xx where the xx is your IP
[root@wikibooks]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:80:C8:F8:4A:51
          inet addr:192.168.99.35  Bcast:192.168.99.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:190312 errors:0 dropped:0 overruns:0 frame:0
          TX packets:86955 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:30701229 (29.2 Mb)  TX bytes:7878951 (7.5 Mb)
          Interrupt:9 Base address:0x5000

Finding Your Global IP Address

To find your global IP which is what the outside world sees, you may use a website such as WhatIsMyIP or IP Chicken.