Finding Your IP Address

From Wikibooks, the open-content textbooks collection

Jump to: navigation, search

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

Contents

[edit] Finding Your Local IP Address (broadband) or Global IP Address (dialup)

[edit] 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

If you are on broadband, or use a network modem or your internet connection is not through your current PC, 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.

If you use dialup with a modem on your current computer, that will be your external IP.

[edit] 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

[edit] 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.


[edit] In The Browser Firefox

Simply download the extension "Live IP Address" to keep track of your current IP address. Useful if you are used to using automatic proxies.

[edit] In any Browser on any Operating System

Many websites can give you your IP address. These include, but are nowhere near limited to:

Personal tools