{"id":2180,"date":"2020-11-29T14:05:25","date_gmt":"2020-11-29T14:05:25","guid":{"rendered":"https:\/\/linuxways.net\/?p=2180"},"modified":"2020-12-07T11:29:49","modified_gmt":"2020-12-07T11:29:49","slug":"how-to-find-your-ip-address-in-ubuntu-20-04-lts","status":"publish","type":"post","link":"https:\/\/linuxways.net\/de\/ubuntu\/how-to-find-your-ip-address-in-ubuntu-20-04-lts\/","title":{"rendered":"How to Find Your IP address in Ubuntu 20.04 LTS"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>An IP address is a 32-bit identifier given to any computer system when it joins a private or public network (Internet). Private IP address is in the form of 10.x.x.x, 192.168.x.x , or 172.16.x.x. It is assigned statically by a system administrator or through a <a href=\"https:\/\/linuxways.net\/de\/ubuntu\/how-to-configure-dhcp-in-linux\/\">DHCP server<\/a>. In this article, I will discuss how to find the private IP address of your Ubuntu 20.04 LTS system using both GUI and command line.<\/p>\n<p>Let&#8217;s move ahead without wasting any further time.<\/p>\n<h2>Finding Private IP in Ubuntu 20.04<\/h2>\n<h3>Method 1: Using the Graphical User Interface (GUI)<\/h3>\n<p>Go to \u201cApplications\u201d and search for a network. Click on the network If you are connected through ethernet or click on Wi-Fi if you are using a Wi-Fi connection.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2181\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-696.png\" alt=\"how to find your ip address\" width=\"1081\" height=\"474\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-696.png 1081w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-696-300x132.png 300w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-696-1024x449.png 1024w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-696-768x337.png 768w\" sizes=\"auto, (max-width: 1081px) 100vw, 1081px\" \/><\/p>\n<p>Go to your connection and click on the gear icon to go to your connection information.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2182\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-697.png\" alt=\"how to find your ip address\" width=\"710\" height=\"391\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-697.png 710w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-697-300x165.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/p>\n<p>You will see the private IPV4 and IPv6 address listed here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2183\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-698.png\" alt=\"how to find your ip address\" width=\"577\" height=\"549\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-698.png 577w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-698-300x285.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/p>\n<h3>Method 2: Using ifconfig command<\/h3>\n<p>Open the terminal by pressing Ctrl+Alt+T and install net-tools using the following command.<\/p>\n<pre>sudo apt install net-tools<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2184\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-699.png\" alt=\"how to find your ip address\" width=\"736\" height=\"246\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-699.png 736w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-699-300x100.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/p>\n<p>When you are done with the net-tools installation, type the following command and it will show you the IP address against your interface.<\/p>\n<pre>ifconfig<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2185\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-700.png\" alt=\"how to find your ip address\" width=\"738\" height=\"513\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-700.png 738w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-700-300x209.png 300w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/p>\n<p>You can also execute the following command to get the same result.<\/p>\n<pre>\/sbin\/ifconfig<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"469\" class=\"wp-image-2186\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-701.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-701.png 730w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-701-300x193.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/p>\n<h3>Method 3: Using ip command<\/h3>\n<p>Open the terminal by pressing Ctrl+Alt+T and enter one of the following commands.<\/p>\n<pre>ip addr show<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"414\" class=\"wp-image-2187\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-702.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-702.png 734w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-702-300x169.png 300w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<pre>ip a<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"399\" class=\"wp-image-2188\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-703.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-703.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-703-300x162.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<pre>ip address<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"737\" height=\"421\" class=\"wp-image-2189\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-704.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-704.png 737w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-704-300x171.png 300w\" sizes=\"auto, (max-width: 737px) 100vw, 737px\" \/><\/p>\n<h3>Method 4: Using hostname command<\/h3>\n<p>Open the terminal by pressing Ctrl+Alt+T and enter the following hostname command.<\/p>\n<pre>hostname -I<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"738\" height=\"142\" class=\"wp-image-2190\" src=\"http:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-705.png\" srcset=\"https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-705.png 738w, https:\/\/linuxways.net\/wp-content\/uploads\/2020\/11\/word-image-705-300x58.png 300w\" sizes=\"auto, (max-width: 738px) 100vw, 738px\" \/><\/p>\n<h2>Conclusion:<\/h2>\n<p>In this article, you have learned how to check your private IP address in Ubuntu 20.04 LTS system. In some other post, we will show you the methods of checking public IP address assigned to your Ubuntu 20.04 LTS system. Please feel free to comment below if you have any questions or suggestions and we will get back to you.<\/p>\n<p><a href=\"https:\/\/linuxways.net\/de\/ubuntu\/how-to-find-your-public-ip-address-in-ubuntu-20-04-lts\/\">Click here if you would like to find your public IP address in Ubuntu 20.04 LTS.<\/a><\/p>\n\n\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction An IP address is a 32-bit identifier given to any computer system when it joins a private or public network (Internet). Private IP address is in the&hellip;<\/p>","protected":false},"author":7,"featured_media":2207,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[88],"class_list":["post-2180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-private-ip-address"],"_links":{"self":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/comments?post=2180"}],"version-history":[{"count":0,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/posts\/2180\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media\/2207"}],"wp:attachment":[{"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/media?parent=2180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/categories?post=2180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxways.net\/de\/wp-json\/wp\/v2\/tags?post=2180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}