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?

3 Answers 3


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.

  • I like ipchicken.com because, of course, it has a chicken!
    – Jack
    Aug 7, 2013 at 16:41

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

% ip addr show


% ifconfig

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.

You must log in to answer this question.

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