How do I find my IP address in Ubuntu

An IP address is one-of-a-kind or a unique numerical identifier such as 192.168.3.124 for a device on the internet or a local network. IP stands for “Internet Protocol,” a collection of rules and serves two main purposes: network or host interface identification or location address. The IP address can be both private or public. A public IP address can be directly accessible over the internet and is usually associated with the gateway to your local network or the router. Your device has a private IP address concealed when connecting to the internet using the router’s public IP address. We will discuss approaches to check your private and public IP address both by GUI and CLI. Before going on to the implementation part, let’s look at some details of types of IP addresses. Let’s begin!

Private IP address

Your private IP address is used to assign computers to your private area without allowing them to be exposed to the internet directly. For example, you may wish to utilize private IP addresses to address every computer inside your home if you have several devices. In this case, the public IP address is provided for your router, and each device connected to your router receives a private IP address via the DHCP protocol from your router.

Public IP address

A public IP address is an Internet-accessible IP address, i.e., directly accessible over the internet and assigned to the network router connected to the ISP. The public IP address is the internationally unique IP address issued to a LAN. Your router now receives the requests and responses and forwards them to you using your private IP address. Google search makes it easy to find your public IP address.

GUI vs. CLI

GUI is a graphical user interface that any user may use as visual advice is provided.

CLI is a command-line interface that uses a terminal to connect to the server and perform UNIX operations.

For example, you could use Windows Explorer and go to some directory (the GUI). Or, you can start a CMD and use the cd command to interact with the OS using CLI.

Find Private IP address via GUI in Ubuntu OS:

For the Ubuntu desktop, one can check the wireless, private IP address using the below steps:

  • Open Settings and navigate to Wi-Fi in the left menu.
  • Click on the settings icon after the connected wifi network.
  • The new tab shows the details, including your IP address, including IPv4 and IPv6 addresses.

Find Private IP Address via CLI in Ubuntu OS

Run the following command to get a private IP address. For private IP addresses, there will be wlan0, wlan1, or wlan2 sections where private IP address details are mentioned.

ifconfig

You can install this command using net-tools which can be installed by:

sudo apt install net-tools

The private IP address is also found using the following command from the terminal:

ip address

Find Public IP address

Write the below command to get your public IP address:

curl http://ipinfo.io/ip

Another alternative to look for your public IP address is to search it on Google engine. Since anyone can view the public IP address, it is openly available on Google search.

Conclusion

In this article, we saw several techniques to find our IP address (both private and public) in Ubuntu OS. One needs to know IP addresses for various activities such as clustering, debugging networks, pinging to a host, connecting servers, etc. IP addresses are unique addresses for each device in the network. You will always need IP addresses whenever you encounter a task related to exchanging data between multiple devices. Besides, in the IP address instances of our web applications, you will need to determine the running instances to respond to the requests made between server and client. All these examples determine the essence of IP addresses in the networking world.

53 thoughts on “How do I find my IP address in Ubuntu”

  1. Hello there! I could have sworn I’ve visited this site before but after going through some of the articles I realized it’s
    new to me. Anyhow, I’m certainly delighted I stumbled upon it and I’ll
    be book-marking it and checking back regularly!

  2. An outstanding share! I’ve just forwarded this onto a coworker who was
    doing a little homework on this. And he actually bought me breakfast due to the fact that I discovered it for him…
    lol. So allow me to reword this…. Thanks for the meal!!
    But yeah, thanks for spending the time to discuss this subject
    here on your blog.

    Here is my homepage; Infinuity CBD

  3. Great post. I used to be checking constantly this weblog and I’m impressed!

    Very useful information specifically the final part 🙂 I maintain such info much.
    I used to be looking for this certain info for a very long time.
    Thanks and best of luck.

    Feel free to surf to my web-site – Viking XL Keto Review
    (Shellie)

  4. Link exchange is nothing else except it is only
    placing the other person’s blog link on your page at appropriate place and other person will also do similar
    in support of you.

  5. I would like to thank you for the efforts you have put in writing this web
    site. I’m hoping the same high-grade web site post from you in the upcoming also.
    In fact your creative writing abilities has encouraged me to get my own blog now.
    Actually the blogging is spreading its wings rapidly. Your
    write up is a good example of it.

    My web page – Infinuity CBD Gummies

  6. Wonderful beat ! I wish to apprentice whilst you amend your web site, how can i subscribe for a blog site? The account helped me a appropriate deal. I have been a little bit familiar of this your broadcast provided vivid transparent concept

  7. hey there and thank you for your information – I’ve definitely picked up something new from right here.

    I did however expertise a few technical points using this
    site, as I experienced to reload the web site lots of times
    previous to I could get it to load correctly. I had been wondering if
    your hosting is OK? Not that I’m complaining, but sluggish loading
    instances times will very frequently affect your placement in google and could damage your high quality score if advertising and marketing with Adwords.

    Well I’m adding this RSS to my e-mail and could look out for
    much more of your respective interesting content. Make sure you update this again very soon..

    Stop by my web-site :: Renew Brite Review

  8. I believe that is one of the so much significant info for me.
    And i’m glad reading your article. However wanna observation on some basic issues, The web site style is great, the articles
    is really nice : D. Just right activity, cheers

    My web page: Insights CBD

  9. I believe that is among the most vital info for me.
    And i’m satisfied reading your article. However should statement on few basic issues, The
    web site taste is ideal, the articles is in reality nice
    : D. Excellent process, cheers

  10. I have Ƅeen surfing on-line greater than three hours today,
    yet I by no means found any interesting arricⅼe
    like yours. It’s lovel worth sսfficient for me. In my view, if
    all site owneds and bloggers made xcellent content aas
    youu did, the net might be a lot more helpfuⅼ than ever
    befoгe.

  11. Having read this I believed it was very enlightening.
    I appreciate you taking the time and effort to put this short article together.
    I once again find myself spending a lot of time both reading
    and posting comments. But so what, it was still worth it!

  12. Just desire to say your article is as astonishing.
    The clarity on your put up is simply cool and
    i can suppose you are a professional on this subject.

    Fine together with your permission let me to seize your feed to
    stay updated with drawing close post. Thank you one million and please continue the gratifying work.

  13. Sweet blog! I found it while searching on Yahoo
    News. Do you have any suggestions on how to get listed in Yahoo
    News? I’ve been trying for a while but I never seem to
    get there! Many thanks

  14. I’ve been exploring for a little for any high-quality articles or
    weblog posts in this sort of space . Exploring in Yahoo I
    ultimately stumbled upon this site. Reading this info So i’m happy to express that I have a very good
    uncanny feeling I found out just what I needed. I such a
    lot definitely will make certain to don?t overlook this site and give it a look regularly.

    My site; Bioneo Farms Pure CBD

  15. hi!,I like your writing so much! percentage we keep up a correspondence more
    about your article on AOL? I need an expert on this space to solve my problem.

    May be that is you! Taking a look forward to peer you.

  16. Hi! I know this is kinda off topic but I was wondering which blog platform are you using for this website?
    I’m getting tired of WordPress because I’ve had
    issues with hackers and I’m looking at alternatives for another platform.
    I would be great if you could point me in the direction of a good platform.

    my web page – Extreme Muscle XXL Review

  17. I like the helpful info you supply to your articles.
    I’ll bookmark your weblog and check again right here frequently.

    I am moderately certain I’ll learn many new stuff proper here!

    Best of luck for the following!

  18. Thank you for your website post. Jones and I happen to
    be saving for our new guide on this matter and your
    article has made us to save our money. Your thinking really answered all our problems.
    In fact, more than what we had thought of ahead of the time we came upon your amazing blog.
    I actually no longer nurture doubts and also a troubled mind because you have
    totally attended to each of our needs above.
    Thanks

    Review my website … Eagle Hemp CBD Gummies Cost [vip5.moisait2021.ru]

  19. It is perfect time to make some plans for the future
    and it is time to be happy. I have read this
    post and if I could I want to suggest you few interesting things or suggestions.
    Maybe you could write next articles referring to this article.

    I wish to read even more things about it!

    Look into my web site: True Burn Keto Review

  20. I think this is one of the such a lot vital information for me.
    And i’m happy reading your article. However should
    observation on few general things, The site taste is great, the articles is truly excellent : D.
    Good process, cheers

    Feel free to surf to my blog post Keto Secret Keto

  21. I do not know if it’s just me or if everyone else encountering
    problems with your blog. It appears as though some of the written text
    on your content are running off the screen. Can someone else please provide
    feedback and let me know if this is happening to them as well?
    This might be a problem with my internet browser because
    I’ve had this happen before. Appreciate it

Leave a Comment

Your email address will not be published. Required fields are marked *