{"id":49551,"date":"2024-12-04T12:30:00","date_gmt":"2024-12-04T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=49551"},"modified":"2024-11-18T12:55:00","modified_gmt":"2024-11-18T18:55:00","slug":"how-to-configure-static-ip-address-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/","title":{"rendered":"How to Configure Static IP Address on Ubuntu 24.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\" alt=\"How to configure Static IP Address on Ubuntu 24.04\" class=\"wp-image-49574\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>A machine or other devices connected to your router usually have a dynamic IP address. The DHCP server will assign a dynamic IP address for your device connected to the network. That same device will likely get a different IP address when connected to the network later. To get a static IP address for your machine, we need to configure it. Netplan has been the default tool for configuring Linux networking on Ubuntu machines since 2016. It is a utility designed to make network configuration easier and more descriptive. This article will show you how to configure a static IP address on Ubuntu 24.04.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69f3ae8b7ae90\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69f3ae8b7ae90\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#Step1-Identify-Ethernet-Interfaces\" >Step1. Identify Ethernet Interfaces<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#Step-2-Edit-Netplan-Configuration-File\" >Step 2. Edit Netplan Configuration File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#Step-3-Apply-changes\" >Step 3. Apply changes<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#Youve-Learned-How-to-Configure-Static-IP-Address-on-Ubuntu-2404\" >You&#8217;ve Learned How to Configure Static IP Address on Ubuntu 24.04<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu 24.04 VPS<\/a> with at least 1GB of RAM<\/li>\n\n\n\n<li>SSH root access or a regular system user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command<br>$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<p>Without proper configuration, Netplan remains inactive. The most basic configuration example for enabling DHCP on workstations is as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">network:<br>version: 2<br>renderer: NetworkManager<\/pre>\n\n\n\n<p>This configuration allows Netplan to delegate control to NetworkManager, which will manage all devices according to its default settings. Once a carrier signal is detected, any Ethernet device will be activated with DHCP.<\/p>\n\n\n\n<p>When specific configurations for individual interfaces are provided, devices will not automatically activate using DHCP. Instead, each interface must be explicitly defined in a file in \/etc\/netplan\/, complete with its corresponding YAML settings for either the networkd or NetworkManager backend renderers.<\/p>\n\n\n\n<p>So, let&#8217;s complete these steps to configure a static IP address on Ubuntu using Netplan.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step1-Identify-Ethernet-Interfaces\"><\/span>Step1. Identify Ethernet Interfaces<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Run the following command to identify the ethernet interfaces we want to configure.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># ip link<\/pre>\n\n\n\n<p>We should see an output like the following, which lists all the available network interfaces: one is a loopback interface, and the others are ethernet interfaces.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000<br>link\/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>2: ens3: mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000<br>link\/ether 00:16:3e:a2:fd:a2 brd ff:ff:ff:ff:ff:ff<br>altname enp0s3<\/pre>\n\n\n\n<p>For example, we will use the ens3 interface. lo is a loopback interface and cannot be used for this purpose.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Edit-Netplan-Configuration-File\"><\/span>Step 2. Edit Netplan Configuration File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Installing Netplan will automatically create YAML files (.yaml) in \/etc\/netplan. Netplan configuration files are located in the \/etc\/netplan\/ directory. Within this directory, you may see files such as 01-netcfg.yaml, 50-cloud-init.yaml, or other similar names, contingent upon your specific configuration.<\/p>\n\n\n\n<p>If there is no YAML file in \/etc\/netplan on the system, run the following command to create it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># netplan generate<\/pre>\n\n\n\n<p>Now, to check the existing netplan configuration, we can execute this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># netplan get<\/pre>\n\n\n\n<p>The command will return an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">network:<br>  version: 2<br>  renderer: networkd<br>  ethernets:<br>    ens3:<br>      dhcp4: true<\/pre>\n\n\n\n<p>That is actually the content of \/etc\/netplan\/50-cloud-init.yaml<\/p>\n\n\n\n<p>We can edit the files available in \/etc\/netplan. Now, to configure a static IP address, we need to modify the YAML configuration file at \/etc\/netplan\/50-cloud-init.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. The changes will not be applied if the indentation and syntax are incorrect.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># nano \/etc\/netplan\/50-cloud-init.yaml<\/pre>\n\n\n\n<p>Under the ethernet section, add the following configuration line: Replace ens3 with the ethernet interface name that we want to update.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">network:<br>    ethernets:<br>        ens3:<br>            addresses:<br>            - 192.168.100.55\/24<br>            dhcp6: false<br>            routes:<br>            - to: default<br>              via: 192.168.100.1<br>            nameservers:<br>                addresses:<br>                - 192.168.100.1<br>                - 1.1.1.1<br>                search: []<br>            optional: true<br>    version: 2<\/pre>\n\n\n\n<p>Save and close the file. The information below shows you a detailed breakdown of the configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">network: This is main part of the configuration file<br>ethernets: This section specifies that the configuration is for Ethernet interfaces. It\u2019s the main key under which individual Ethernet interfaces are defined.<br>ens3: this is the ethernet address of your machine, you can check yours with the ip link command<br>addresses: Specify a static IP address range under addresses: You can also add one or more IPv4 or IPv6 IP addresses to assign to the network interface. We can also mention the IP range.<br>dhcp4: no and dhcp6: no, meaning DHCP is disabled<br>nameserver: Set the IP address of the DNS server.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Apply-changes\"><\/span>Step 3. Apply changes<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before applying the changes, we can run this command below for a dry run.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># netplan try<\/pre>\n\n\n\n<p>We can run the following command to apply the changes if no error is reported.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># netplan apply<\/pre>\n\n\n\n<p>Run the following command to verify the configuration. Replace ens3 with the ethernet interface that we want to modify.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># ip addr show dev ens3<\/pre>\n\n\n\n<p>Please note: Be careful when applying the changes you made. If you follow this article and apply it to your server, your server may lose its networking. So, make sure to follow the steps above with caution.<\/p>\n\n\n\n<p>If you want to configure your Ubuntu desktop to get a static IP address, follow our blog post at https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-20-04\/.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Youve-Learned-How-to-Configure-Static-IP-Address-on-Ubuntu-2404\"><\/span>You&#8217;ve Learned How to Configure Static IP Address on Ubuntu 24.04<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>That&#8217;s it. You have learned how to configure static IP addresses on Ubuntu 24.04.<\/p>\n\n\n\n<p>Of course, you don\u2019t have to learn how to configure a static IP address on Ubuntu 24.04 if you use one of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Ubuntu VPS Hosting<\/a> services. In that case, you can ask our expert Linux admins to do it for you. They are available 24\u00d77 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this post on how to configure static IP address on Ubuntu 24.04, please share it with your friends or leave a reply below. Thanks.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>A machine or other devices connected to your router usually have a dynamic IP address. The DHCP server will assign &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Configure Static IP Address on Ubuntu 24.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#more-49551\" aria-label=\"Read more about How to Configure Static IP Address on Ubuntu 24.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":49574,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1698],"tags":[1948,2093,2136],"class_list":["post-49551","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-configure","tag-static-ip-address","tag-ubuntu-24-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 24.04 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to configure a static IP address on Ubuntu 24.04 using our latest step-by-step guide, or ask our admins to configure it for you.\" \/>\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-24-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 24.04\" \/>\n<meta property=\"og:description\" content=\"How to Configure Static IP Address on Ubuntu 24.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-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=\"2024-12-04T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\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=\"5 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-24-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Configure Static IP Address on Ubuntu 24.04\",\"datePublished\":\"2024-12-04T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/\"},\"wordCount\":731,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\",\"keywords\":[\"how to configure\",\"static ip address\",\"Ubuntu 24.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/\",\"name\":\"How to Configure Static IP Address on Ubuntu 24.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-24-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\",\"datePublished\":\"2024-12-04T18:30:00+00:00\",\"description\":\"Learn how to configure a static IP address on Ubuntu 24.04 using our latest step-by-step guide, or ask our admins to configure it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to configure Static IP Address on Ubuntu 24.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-configure-static-ip-address-on-ubuntu-24-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 24.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 24.04 | RoseHosting","description":"Learn how to configure a static IP address on Ubuntu 24.04 using our latest step-by-step guide, or ask our admins to configure it for you.","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-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Configure Static IP Address on Ubuntu 24.04","og_description":"How to Configure Static IP Address on Ubuntu 24.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-12-04T18:30:00+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Configure Static IP Address on Ubuntu 24.04","datePublished":"2024-12-04T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/"},"wordCount":731,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp","keywords":["how to configure","static ip address","Ubuntu 24.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/","name":"How to Configure Static IP Address on Ubuntu 24.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-24-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp","datePublished":"2024-12-04T18:30:00+00:00","description":"Learn how to configure a static IP address on Ubuntu 24.04 using our latest step-by-step guide, or ask our admins to configure it for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-configure-static-ip-address-on-ubuntu-24-04.webp","width":1024,"height":576,"caption":"How to configure Static IP Address on Ubuntu 24.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-configure-static-ip-address-on-ubuntu-24-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 24.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\/49551","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=49551"}],"version-history":[{"count":6,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49551\/revisions"}],"predecessor-version":[{"id":49575,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49551\/revisions\/49575"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/49574"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=49551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=49551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=49551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}