Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My ISP provides dynamic IP whenever I am connecting to the network. How can I find my current IP address of my Ubuntu 12.04 Desktop system?

share|improve this question
up vote 2 down vote accepted

Your ISP will issue you an external dynamic IP for your router. This isn't the IP your desktop is using, it'll get that from the router via DHCP unless you've manually configured static, which I don't think you will have. You can run IFConfig from the console and it should list all available interfaces and IP addresses attached to those interfaces. The name of the interface will differ depending if you are on a wired or wireless connection, but is most likely labeled 'eth0'

If you want to find your external IP, Google 'Whats my IP' and Google will tell you.

share|improve this answer
I like because, of course, it has a chicken! – Jack Aug 7 '13 at 16:41

You can use one of the following commands to find your ip address in Ubuntu.

% ip addr show


% ifconfig
share|improve this answer

If you want your local (dynamic) IP given by ISP use the command


'Whats my IP' will give your ISP's public/external IP address.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .