Find Your Internal IP in Ubuntu

Revision as of 04:20, 8 January 2016 by Kipkis (Kipkis | contribs) (importing article from wikihow)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you are on a computer running Ubuntu Linux OS and want to find out the IP of that computer, here's how...

Steps

  1. From the command line, at the prompt, type the following command 'ifconfig'.
  2. This will list each network device on that computer.
  3. If the computer is connected to the network with a wire, the port you are interested in will be listed as "eth"[followed by something]. If you are connected by wifi, it will be listed differently.
  4. The 'lo' is the 'localhost' and should always be 127.0.0.1.
  5. Find the computer's IP address by looking for a line similar to this: inet addr:192.168.1.13
  6. An IP address starting with 192.168.1. is an internal network. If the first two sets of 3 numbers for your IP address are not 192.168, then you are more than likely looking at the actual IP address assigned to that computer by an 'internet' dns server.

Video

Tips

  • To open a terminal window, right-click on the desktop and select 'terminal', otherwise, you can get to it by clicking on the 'menu', followed by 'accessories' and lastly 'terminal'. Alternatively, you can press "Ctrl+T".
  • To exit the terminal, type 'exit' at the prompt.

Related Articles