{"id":38901,"date":"2021-10-06T12:30:00","date_gmt":"2021-10-06T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=38901"},"modified":"2022-10-03T08:25:43","modified_gmt":"2022-10-03T13:25:43","slug":"how-to-configure-static-ip-address-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/","title":{"rendered":"How to Configure Static IP Address on Ubuntu 20.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"742\" height=\"372\" class=\"wp-image-38953\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg\" alt=\"how to configure static ip address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg 742w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04-300x150.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04-150x75.jpg 150w\" sizes=\"(max-width: 742px) 100vw, 742px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>A static or fixed IP address is an IP address that does not change. Whether you reboot your device or home router, your device with a static IP address will get the same IP address. The opposite of a static IP address is the dynamic IP address. A device that does not have a static IP address will get a dynamic IP address assigned by the DHCP (Dynamic Host Configuration Protocol) server, and it may change from time to time.<\/p>\r\n\r\n\r\n\r\n<div class=\"wp-block-image\">\r\n<figure class=\"alignright size-large is-resized\"><img decoding=\"async\" class=\"wp-image-38955\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04-1024x1024.png?v=1632395884\" alt=\"configuring static ip address on ubuntu 20.04\" width=\"112\" height=\"112\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04-1024x1024.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04-300x300.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04-150x150.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04-768x768.png 768w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-static-ip-address-on-ubuntu-20.04.png 1200w\" sizes=\"(max-width: 112px) 100vw, 112px\" \/><\/figure>\r\n<\/div>\r\n\r\n\r\n\r\n<p>By default, a device connected to your home router whether it&#8217;s using cable or connected through WiFi will most likely get a dynamic IP address. And, if you use your <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\">managed Ubuntu VPS<\/a> also as an FTP server of web server you would want to configure a static IP address for it, so you can reach the server using the same IP address. In this tutorial, we will show you how to configure a static IP address on Ubuntu 20.04.<\/p>\r\n\r\n\r\n\r\n<p><!--more--><\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-configure-static-ip-address-on-ubuntu-server-20-04\">Configure Static IP Address on Ubuntu Server 20.04<\/h2>\r\n\r\n\r\n\r\n<p>In Ubuntu server 20.04, the network configuration is managed by a utility called NetPlan. NetPlan is a new network configuration tool introduced in Ubuntu 17.10 to manage network settings. And during the Ubuntu 20.04 server installation, cloud-init will configure a dynamic IP address for the network interface on the server if the DHCP server is available.<\/p>\r\n\r\n\r\n\r\n<p>First of all, we need to check what is the ethernet interface card that we want to configure the IP address for, we can run <code>ip a<\/code> or <code>ip link<\/code> command to see it. In this example, the interface that we are going to configure the static IP is &#8216;ens33&#8217;.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"941\" height=\"293\" class=\"wp-image-38956\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-set-up-static-ip-address-on-ubuntu-20.04.png\" alt=\"how to set up static ip address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-set-up-static-ip-address-on-ubuntu-20.04.png 941w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-set-up-static-ip-address-on-ubuntu-20.04-300x93.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-set-up-static-ip-address-on-ubuntu-20.04-150x47.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-set-up-static-ip-address-on-ubuntu-20.04-768x239.png 768w\" sizes=\"(max-width: 941px) 100vw, 941px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>To proceed with configuring a static IP address on Ubuntu server 20.04, we have to make sure that cloud-init does not manage the network interface. To do it, let&#8217;s open cloud-init file at \/etc\/cloud\/cloud.cfg.d\/subiquity-disable-cloudinit-networking.cfg and make sure that \u201cnetwork: {config: disabled}\u201d entry is there. If the entry is missing, we have to create it.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">master@ubuntu20:~$ sudo cat \/etc\/cloud\/cloud.cfg.d\/subiquity-disable-cloudinit-networking.cfg\r\nnetwork: {config: disabled}<\/pre>\r\n\r\n\r\n\r\n<p>Now, to configure a static IP address, we need to modify the YAML configuration file at \/etc\/netplan\/00-installer-config.yaml. Please note, when editing a YAML file, make sure you follow the YAML code indentation standards. The suggested syntax for YAML files is to use 2 spaces for indentation, do not use TABS. If the indentation and syntax are incorrect, the changes will not work.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"532\" height=\"127\" class=\"wp-image-38957\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configure-static-ip-address-on-ubuntu-20.04.png\" alt=\"configure static ip address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configure-static-ip-address-on-ubuntu-20.04.png 532w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configure-static-ip-address-on-ubuntu-20.04-300x72.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configure-static-ip-address-on-ubuntu-20.04-150x36.png 150w\" sizes=\"(max-width: 532px) 100vw, 532px\" \/><\/figure>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">$ sudo cat \/etc\/netplan\/00-installer-config.yaml<\/pre>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\"># This is the network config written by 'subiquity'\r\nnetwork:\r\n  ethernets:\r\n    ens33:\r\n      dhcp4: true\r\n  version: 2<\/pre>\r\n\r\n\r\n\r\n<p>As seen in the file, DHCP is available and the server is getting the IP address from the DHCP server. To change your server IP address, for example to 192.168.1.100, let&#8217;s back up the file \/etc\/netplan\/00-installer-config.yaml<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">$ sudo cp -a \/etc\/netplan\/00-installer-config.yaml{,.orig}<\/pre>\r\n\r\n\r\n\r\n<p>and open the file<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/netplan\/00-installer-config.yaml<\/pre>\r\n\r\n\r\n\r\n<p>to replace the content of \/etc\/netplan\/00-installer-config.yaml above with these lines.<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">network:\r\n  ethernets:\r\n    ens33:\r\n      addresses: [192.168.1.100\/24]\r\n      gateway4: 192.168.1.1\r\n      nameservers:\r\n        addresses: [192.168.1.1, 8.8.8.8]\r\n  version: 2<\/pre>\r\n\r\n\r\n\r\n<p>When editing the file, make sure the ethernet interface match with the one we see when invoking the<strong> &#8216;ip a&#8217;<\/strong> or <strong>&#8216;ip link&#8217;<\/strong> command.<\/p>\r\n\r\n\r\n\r\n<p>To check the new configuration file without applying the changes, we can run this command:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">$ sudo netplan try<\/pre>\r\n\r\n\r\n\r\n<p>If everything is okay, you will see a message as seen in the picture below. You can hit ENTER to accept the changes or leave it to revert the changes back to the previous configuration.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"709\" height=\"165\" class=\"wp-image-38958\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/set-up-and-configure-static-up-address-on-ubuntu-20.04.png\" alt=\"set up and configure static up address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/set-up-and-configure-static-up-address-on-ubuntu-20.04.png 709w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/set-up-and-configure-static-up-address-on-ubuntu-20.04-300x70.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/set-up-and-configure-static-up-address-on-ubuntu-20.04-150x35.png 150w\" sizes=\"(max-width: 709px) 100vw, 709px\" \/><\/figure>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\" id=\"h-configure-static-ip-address-on-ubuntu-desktop-20-04\">Configure Static IP Address on Ubuntu Desktop 20.04<\/h2>\r\n\r\n\r\n\r\n<p>Most modern home routers have configuration options to allow you to reserve an IP address for a specific device connected to the same network. With this option in your home router, your devices on the network will get static\/fixed IP addresses. This is the easiest and most recommended way to assign an IP address to your device, and this is called static DHCP or DHCP reservation.<\/p>\r\n\r\n\r\n\r\n<p>If you do not want to configure it on the router, you can do it on the device itself. At this moment, we will show you how to configure a static IP address on Ubuntu desktop 20.04. Let&#8217;s click on the network icon on the top right of your screen.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"342\" height=\"359\" class=\"wp-image-38959\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/ip-address-configuration-on-ubuntu-20.04.png\" alt=\"ip address configuration on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/ip-address-configuration-on-ubuntu-20.04.png 342w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/ip-address-configuration-on-ubuntu-20.04-286x300.png 286w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/ip-address-configuration-on-ubuntu-20.04-143x150.png 143w\" sizes=\"(max-width: 342px) 100vw, 342px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>Clicking the icon will bring you to the new window, as seen in the picture below<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"977\" height=\"422\" class=\"wp-image-38960\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-a-static-ip-address-on-ubuntu-20.04.png\" alt=\"configuring a static ip address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-a-static-ip-address-on-ubuntu-20.04.png 977w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-a-static-ip-address-on-ubuntu-20.04-300x130.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-a-static-ip-address-on-ubuntu-20.04-150x65.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/configuring-a-static-ip-address-on-ubuntu-20.04-768x332.png 768w\" sizes=\"(max-width: 977px) 100vw, 977px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>In this example, we will configure the static IP address for the wired connection. So, we need to click on the cog icon next to the on-off slider in the wired connection section. To configure your WiFi connection, then you need to click on the cog icon in the WiFi connection section.<\/p>\r\n\r\n\r\n\r\n<p>This will open a new window, click on the IPv4 as shown in the picture below<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"577\" height=\"474\" class=\"wp-image-38961\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-and-set-up-a-static-ip-address-on-ubuntu-20.04.png\" alt=\"how to configure and set up a static ip address on ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-and-set-up-a-static-ip-address-on-ubuntu-20.04.png 577w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-and-set-up-a-static-ip-address-on-ubuntu-20.04-300x246.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-and-set-up-a-static-ip-address-on-ubuntu-20.04-150x123.png 150w\" sizes=\"(max-width: 577px) 100vw, 577px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>In the next window, choose &#8220;Manual&#8221; in IPv4 Method and fill the following information in the forms<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-preformatted\">Address: 192.168.1.100<br \/>Netmask: 255.255.255.0<br \/>Gateway: 192.168.1.1<\/pre>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"582\" height=\"447\" class=\"wp-image-38962\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/setting-up-static-ip-address-on-an-ubuntu-20.04.png\" alt=\"setting up static ip address on an ubuntu 20.04\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/setting-up-static-ip-address-on-an-ubuntu-20.04.png 582w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/setting-up-static-ip-address-on-an-ubuntu-20.04-300x230.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/setting-up-static-ip-address-on-an-ubuntu-20.04-150x115.png 150w\" sizes=\"(max-width: 582px) 100vw, 582px\" \/><\/figure>\r\n\r\n\r\n\r\n<p>You can leave the DNS part blank if you want to set it to automatic or use <a href=\"https:\/\/www.rosehosting.com\/blog\/what-is-dns-and-how-does-it-work\/\">your own DNS<\/a> address, separate the IP addresses with commas, for example, <strong>1.1.1.1, 8.8.8.8<\/strong>, then click on the APPLY button above.<\/p>\r\n\r\n\r\n\r\n<p>Congratulations! you have successfully configured a static IP address on Ubuntu 20.04.<\/p>\r\n\r\n\r\n\r\n<p>Of course, you don\u2019t need to configure a static IP address on Ubuntu 20.04 yourself if you use one of our <strong><a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux VPS Hosting<\/a><\/strong> services and have additional IP addresses. In which case you can simply ask our expert Linux admins to configure and set this up for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\r\n\r\n\r\n\r\n<p>PS. If you liked this post on How To Configure a Static IP Address on Ubuntu 20.04, please share it with your friends on social networks, or simply leave a reply below. Thanks.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>A static or fixed IP address is an IP address that does not change. Whether you reboot your device or &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Configure Static IP Address on Ubuntu 20.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#more-38901\" aria-label=\"Read more about How to Configure Static IP Address on Ubuntu 20.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":38953,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1701,21,13,1698],"tags":[1948,1949,1839],"class_list":["post-38901","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-networking-and-domains","category-tips-and-tricks","category-tutorials","category-ubuntu","tag-how-to-configure","tag-static-ip","tag-ubuntu-20-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting\" \/>\n<meta property=\"og:description\" content=\"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-06T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-03T13:25:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg?v=1632395129\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting\" \/>\n<meta name=\"twitter:description\" content=\"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Configure Static IP Address on Ubuntu 20.04\",\"datePublished\":\"2021-10-06T17:30:00+00:00\",\"dateModified\":\"2022-10-03T13:25:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/\"},\"wordCount\":892,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg\",\"keywords\":[\"how to configure\",\"static IP\",\"Ubuntu 20.04\"],\"articleSection\":[\"Networking and Domains\",\"Tips and Tricks\",\"Tutorials\",\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/\",\"name\":\"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg\",\"datePublished\":\"2021-10-06T17:30:00+00:00\",\"dateModified\":\"2022-10-03T13:25:43+00:00\",\"description\":\"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to configure static ip address on ubuntu 20.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-20-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Configure Static IP Address on Ubuntu 20.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting","description":"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting","og_description":"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2021-10-06T17:30:00+00:00","article_modified_time":"2022-10-03T13:25:43+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg?v=1632395129","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_title":"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting","twitter_description":"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Configure Static IP Address on Ubuntu 20.04","datePublished":"2021-10-06T17:30:00+00:00","dateModified":"2022-10-03T13:25:43+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/"},"wordCount":892,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg","keywords":["how to configure","static IP","Ubuntu 20.04"],"articleSection":["Networking and Domains","Tips and Tricks","Tutorials","Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/","name":"How to Configure Static IP Address on Ubuntu 20.04 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg","datePublished":"2021-10-06T17:30:00+00:00","dateModified":"2022-10-03T13:25:43+00:00","description":"In this tutorial, you will learn how to configure static IP address on an Ubuntu 20.04, step by step and with ease.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2021\/09\/how-to-configure-static-ip-address-on-ubuntu-20.04.jpg","width":742,"height":372,"caption":"how to configure static ip address on ubuntu 20.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Configure Static IP Address on Ubuntu 20.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=38901"}],"version-history":[{"count":12,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38901\/revisions"}],"predecessor-version":[{"id":43232,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/38901\/revisions\/43232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/38953"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=38901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=38901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=38901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}