Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

3 Answers 3

up vote 1 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 ipchicken.com 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

-or-

% ifconfig
share|improve this answer

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

ifconfig

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.