{"id":3492,"date":"2024-05-30T10:00:36","date_gmt":"2024-05-30T10:00:36","guid":{"rendered":"https:\/\/draculaservers.com\/tutorials\/?p=3492"},"modified":"2024-08-04T23:43:36","modified_gmt":"2024-08-04T23:43:36","slug":"set-a-static-ip-on-ubuntu","status":"publish","type":"post","link":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/","title":{"rendered":"How to Set a Static IP on Ubuntu"},"content":{"rendered":"<div class=\"cl-preview-section\">\n<p id=\"how-to-set-a-static-ip-on-ubuntu\"><span style=\"font-size: 16px;\">Assigning a static IP address to your Ubuntu machine ensures a consistent and reliable network connection, eliminating issues caused by changing IP addresses. This guide will walk you through setting a static IP on Ubuntu using both command-line interface (CLI) and graphical user interface (GUI) methods, providing detailed steps and explanations.<\/span><\/p>\n\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"understanding-static-ip-addresses\">Understanding Static IP Addresses<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>An IP address is a unique string of numbers separated by periods, serving as a digital label for devices on a network. It enables data transmission between devices, with routers using these addresses to direct traffic accurately.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"dhcp-vs.-static-ip\"><span id=\"dhcp-vs-static-ip\">DHCP vs. Static IP<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Dynamic Host Configuration Protocol (DHCP)<\/strong>: Automatically assigns IP addresses to devices on a network. This can lead to changing IP addresses, especially after reboots or lease expiration, causing potential connectivity issues.<\/li>\n<li><strong>Static IP<\/strong>: Permanently assigns a specific IP address to a device, ensuring consistency and eliminating the issues associated with DHCP.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"why-set-a-static-ip\">Why Set a Static IP?<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Setting a static IP address is beneficial for:<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ul>\n<li><strong>Consistent Network Access<\/strong>: Ensures devices like servers, printers, and other critical machines maintain the same IP address, preventing disconnections.<\/li>\n<li><strong>Simplified Troubleshooting<\/strong>: Makes it easier to diagnose and resolve network issues.<\/li>\n<li><strong>Enhanced Security<\/strong>: Prevents unauthorized IP address changes that could disrupt network security settings.<\/li>\n<\/ul>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"methods-to-set-a-static-ip-on-ubuntu\">Methods to Set a Static IP on Ubuntu<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"method-1-configuring-the-static-ip-using-cli\">Method 1: Configuring the Static IP Using CLI<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-1-identify-network-interface\">Step 1: Identify Network Interface<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Open Terminal<\/strong>: Press\u00a0<code>Ctrl + Alt + T<\/code>\u00a0to open the terminal.<\/li>\n<li><strong>List Network Interfaces<\/strong>: Use the\u00a0<code>ip<\/code>\u00a0command to list available network interfaces.\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">ip <span class=\"token function\">link<\/span>\r\n<\/code><\/pre>\n<p>Look for your network interface name, such as\u00a0<code>enp0s3<\/code>.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-2-create-netplan-configuration-file\">Step 2: Create Netplan Configuration File<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Netplan is Ubuntu\u2019s network management tool, using YAML files to configure network settings.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Open Configuration File<\/strong>: Use a text editor to open or create the Netplan configuration file.\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> <span class=\"token function\">nano<\/span> \/etc\/netplan\/01-netcfg.yaml\r\n<\/code><\/pre>\n<\/li>\n<li><strong>Edit Configuration File<\/strong>: Add or modify the file with your network interface details.\n<pre class=\" language-yaml\"><code class=\"prism  language-yaml\"><span class=\"token key atrule\">network<\/span><span class=\"token punctuation\">:<\/span>\r\n  <span class=\"token key atrule\">version<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token number\">2<\/span>\r\n  <span class=\"token key atrule\">ethernets<\/span><span class=\"token punctuation\">:<\/span>\r\n    <span class=\"token key atrule\">enp0s3<\/span><span class=\"token punctuation\">:<\/span>\r\n      <span class=\"token key atrule\">dhcp4<\/span><span class=\"token punctuation\">:<\/span> no\r\n      <span class=\"token key atrule\">addresses<\/span><span class=\"token punctuation\">:<\/span>\r\n        <span class=\"token punctuation\">-<\/span> 192.168.1.100\/24\r\n      <span class=\"token key atrule\">gateway4<\/span><span class=\"token punctuation\">:<\/span> 192.168.1.1\r\n      <span class=\"token key atrule\">nameservers<\/span><span class=\"token punctuation\">:<\/span>\r\n        <span class=\"token key atrule\">addresses<\/span><span class=\"token punctuation\">:<\/span>\r\n          <span class=\"token punctuation\">-<\/span> 8.8.8.8\r\n          <span class=\"token punctuation\">-<\/span> 8.8.4.4\r\n<\/code><\/pre>\n<p>Replace\u00a0<code>enp0s3<\/code>\u00a0with your interface name and adjust the IP address, gateway, and nameservers accordingly.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-3-apply-configuration\">Step 3: Apply Configuration<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Save and Exit<\/strong>: Press\u00a0<code>Ctrl + X<\/code>,\u00a0<code>Y<\/code>, and\u00a0<code>Enter<\/code>\u00a0to save and exit Nano.<\/li>\n<li><strong>Apply Changes<\/strong>: Use Netplan to apply the new configuration.\n<pre class=\" language-bash\"><code class=\"prism  language-bash\"><span class=\"token function\">sudo<\/span> netplan apply\r\n<\/code><\/pre>\n<\/li>\n<li><strong>Verify Configuration<\/strong>: Check if the IP address has been set correctly.\n<pre class=\" language-bash\"><code class=\"prism  language-bash\">ip a\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<div class=\"cl-preview-section\">\n<h3 id=\"affordable-vps-hosting-with-dracula-servers\"><span style=\"color: #ff2600;\">Affordable VPS Hosting With Dracula Servers<\/span><\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Looking for reliable and budget-friendly Virtual Private Server (VPS) hosting? Look no further than\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers<\/a>. Dracula Servers offers a range of VPS hosting plans tailored to meet diverse needs. With competitive pricing, robust performance, and a user-friendly interface, it\u2019s an excellent choice for individuals and businesses alike.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Explore the\u00a0<a href=\"https:\/\/draculaservers.com\/\">Dracula Servers website<\/a> to discover hosting solutions that align with your requirements and take your online presence to new heights with their affordable and efficient VPS hosting services.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<p><a href=\"https:\/\/draculaservers.com\/\"><strong>Visit Dracula Servers<\/strong><\/a>\u00a0and experience reliable VPS hosting without breaking the bank.<\/p>\n<\/div>\n<h3 id=\"method-2-setting-a-static-ip-using-gui\">Method 2: Setting a Static IP Using GUI<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-1-open-network-settings\">Step 1: Open Network Settings<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Access Network Settings<\/strong>: Click on the network icon in the top-right corner of the screen, then select\u00a0<code>Settings<\/code>.<\/li>\n<li><strong>Open Wired Settings<\/strong>: In the network settings window, click on the gear icon next to the wired connection.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-2-configure-static-ip\">Step 2: Configure Static IP<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Switch to IPv4 Settings<\/strong>: Navigate to the\u00a0<code>IPv4<\/code>\u00a0tab.<\/li>\n<li><strong>Select Manual Configuration<\/strong>: Change the method from\u00a0<code>Automatic (DHCP)<\/code>\u00a0to\u00a0<code>Manual<\/code>.<\/li>\n<li><strong>Enter IP Details<\/strong>: Fill in the IP address, netmask, gateway, and DNS servers.\n<p>Example:<\/p>\n<ul>\n<li>Address:\u00a0<code>192.168.1.100<\/code><\/li>\n<li>Netmask:\u00a0<code>255.255.255.0<\/code><\/li>\n<li>Gateway:\u00a0<code>192.168.1.1<\/code><\/li>\n<li>DNS:\u00a0<code>8.8.8.8, 8.8.4.4<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>Save and Apply<\/strong>: Click\u00a0<code>Apply<\/code>\u00a0to save the changes.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h4 id=\"step-3-verify-configuration\">Step 3: Verify Configuration<\/h4>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Restart Network<\/strong>: Toggle the network connection off and on to apply changes.<\/li>\n<li><strong>Check IP Address<\/strong>: Verify the new static IP address by checking the connection details or using the\u00a0<code>ip a<\/code>\u00a0command in the terminal.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"additional-tips-for-network-configuration\">Additional Tips for Network Configuration<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"using-static-ip-for-wi-fi-connections\">Using Static IP for Wi-Fi Connections<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Setting a static IP for Wi-Fi connections follows a similar process. Access the Wi-Fi settings and adjust the IPv4 configuration to\u00a0<code>Manual<\/code>, then enter the desired IP details.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"troubleshooting-common-issues\">Troubleshooting Common Issues<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<ol>\n<li><strong>Incorrect Configuration<\/strong>: Double-check the YAML syntax and IP details.<\/li>\n<li><strong>Network Conflicts<\/strong>: Ensure no other device on the network uses the same IP address.<\/li>\n<li><strong>Firewall Settings<\/strong>: Adjust firewall settings if network connectivity issues persist.<\/li>\n<\/ol>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"using-networkmanager-for-advanced-configurations\">Using NetworkManager for Advanced Configurations<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>NetworkManager provides advanced network configuration options through both CLI (<code>nmcli<\/code>) and GUI (<code>nmtui<\/code>). These tools offer flexibility for managing complex network setups.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"frequently-asked-questions-faq\">Frequently Asked Questions (FAQ)<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"why-should-i-set-a-static-ip-address\">Why Should I Set a Static IP Address?<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Setting a static IP address ensures consistent network access, simplifies troubleshooting, and enhances security by preventing unauthorized changes.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"how-do-i-revert-to-dhcp\">How Do I Revert to DHCP?<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>To revert to DHCP, edit the Netplan configuration file and set\u00a0<code>dhcp4: yes<\/code>\u00a0for the desired interface, then apply the changes with\u00a0<code>sudo netplan apply<\/code>.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h3 id=\"can-i-set-a-static-ip-for-multiple-interfaces\">Can I Set a Static IP for Multiple Interfaces?<\/h3>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Yes, you can configure static IP addresses for multiple interfaces by defining each interface separately in the Netplan configuration file.<\/p>\n<\/div>\n<div class=\"cl-preview-section\">\n<h2 id=\"conclusion\">Conclusion<\/h2>\n<\/div>\n<div class=\"cl-preview-section\">\n<p>Setting a static IP address on Ubuntu provides stability and consistency for network connections. Whether you prefer using the CLI or GUI, this guide offers comprehensive steps to help you configure your Ubuntu system effectively. By following these methods, you can ensure your network settings remain unchanged, providing a reliable connection for your devices.<\/p>\n<p>Check out More Linux Tutorials <a href=\"https:\/\/draculaservers.com\/tutorials\/\" target=\"_blank\" rel=\"noopener\">Here!<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Assigning a static IP address to your Ubuntu machine ensures a consistent and reliable network connection, eliminating issues caused by changing IP addresses. This guide will walk you through setting a static IP on Ubuntu using both command-line interface (CLI) and graphical user interface (GUI) methods, providing detailed steps and explanations. Understanding Static IP Addresses [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":3493,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[615,616,614],"class_list":["post-3492","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-set-ip-address-on-ubuntu","tag-set-static-ip-address","tag-setting-a-static-ip-address-on-ubuntu"],"blocksy_meta":[],"featured_image_urls_v2":{"full":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png",1280,720,false],"thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-150x150.png",150,150,true],"medium":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-300x169.png",300,169,true],"medium_large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-768x432.png",768,432,true],"large":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-1024x576.png",1024,576,true],"1536x1536":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png",1280,720,false],"2048x2048":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png",1280,720,false],"pk-small":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-80x80.png",80,80,true],"pk-thumbnail":["https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50-300x225.png",300,225,true]},"post_excerpt_stackable_v2":"<p>Assigning a static IP address to your Ubuntu machine ensures a consistent and reliable network connection, eliminating issues caused by changing IP addresses. This guide will walk you through setting a static IP on Ubuntu using both command-line interface (CLI) and graphical user interface (GUI) methods, providing detailed steps and explanations. Understanding Static IP Addresses An IP address is a unique string of numbers separated by periods, serving as a digital label for devices on a network. It enables data transmission between devices, with routers using these addresses to direct traffic accurately. DHCP vs. Static IP Dynamic Host Configuration Protocol&hellip;<\/p>\n","category_list_v2":"<a href=\"https:\/\/draculaservers.com\/tutorials\/category\/ubuntu\/\" rel=\"category tag\">Ubuntu<\/a>","author_info_v2":{"name":"Abdul Mannan","url":"https:\/\/draculaservers.com\/tutorials\/author\/abdul-mannan-tbgmail-com\/"},"comments_num_v2":"0 comments","yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set a Static IP on Ubuntu - Dracula Servers Tutorials<\/title>\n<meta name=\"description\" content=\"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set a Static IP on Ubuntu - Dracula Servers Tutorials\" \/>\n<meta property=\"og:description\" content=\"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Dracula Servers Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-30T10:00:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-04T23:43:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Abdul Mannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Abdul Mannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/\"},\"author\":{\"name\":\"Abdul Mannan\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\"},\"headline\":\"How to Set a Static IP on Ubuntu\",\"datePublished\":\"2024-05-30T10:00:36+00:00\",\"dateModified\":\"2024-08-04T23:43:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/\"},\"wordCount\":829,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-50.png\",\"keywords\":[\"How to set IP address on Ubuntu\",\"Set static IP address\",\"Setting a Static IP address on UBuntu\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/\",\"name\":\"How to Set a Static IP on Ubuntu - Dracula Servers Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-50.png\",\"datePublished\":\"2024-05-30T10:00:36+00:00\",\"dateModified\":\"2024-08-04T23:43:36+00:00\",\"description\":\"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#primaryimage\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-50.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/Dracula-Servers-Thumbnail-50.png\",\"width\":1280,\"height\":720,\"caption\":\"How to Set a Static IP on Ubuntu\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/set-a-static-ip-on-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set a Static IP on Ubuntu\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#website\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"name\":\"Dracula Servers Tutorials\",\"description\":\"Dedicated Servers\",\"publisher\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#organization\",\"name\":\"Dracula Servers\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"contentUrl\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/wp-content\\\/uploads\\\/2016\\\/06\\\/dracula_full_logo_smaller.png\",\"width\":1625,\"height\":200,\"caption\":\"Dracula Servers\"},\"image\":{\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/draculaservers.com\\\/tutorials\\\/#\\\/schema\\\/person\\\/ac89d0281f4fb596bfaa0bc1e746c8a6\",\"name\":\"Abdul Mannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g\",\"caption\":\"Abdul Mannan\"},\"description\":\"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set a Static IP on Ubuntu - Dracula Servers Tutorials","description":"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.","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:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to Set a Static IP on Ubuntu - Dracula Servers Tutorials","og_description":"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.","og_url":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/","og_site_name":"Dracula Servers Tutorials","article_published_time":"2024-05-30T10:00:36+00:00","article_modified_time":"2024-08-04T23:43:36+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png","type":"image\/png"}],"author":"Abdul Mannan","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Abdul Mannan","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#article","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/"},"author":{"name":"Abdul Mannan","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6"},"headline":"How to Set a Static IP on Ubuntu","datePublished":"2024-05-30T10:00:36+00:00","dateModified":"2024-08-04T23:43:36+00:00","mainEntityOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/"},"wordCount":829,"commentCount":0,"publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png","keywords":["How to set IP address on Ubuntu","Set static IP address","Setting a Static IP address on UBuntu"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/","url":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/","name":"How to Set a Static IP on Ubuntu - Dracula Servers Tutorials","isPartOf":{"@id":"https:\/\/draculaservers.com\/tutorials\/#website"},"primaryImageOfPage":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#primaryimage"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#primaryimage"},"thumbnailUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png","datePublished":"2024-05-30T10:00:36+00:00","dateModified":"2024-08-04T23:43:36+00:00","description":"You can easily set a Static IP Address using the cli commands or the GUI options available in the Ubuntu System.","breadcrumb":{"@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#primaryimage","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2024\/08\/Dracula-Servers-Thumbnail-50.png","width":1280,"height":720,"caption":"How to Set a Static IP on Ubuntu"},{"@type":"BreadcrumbList","@id":"https:\/\/draculaservers.com\/tutorials\/set-a-static-ip-on-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/draculaservers.com\/tutorials\/"},{"@type":"ListItem","position":2,"name":"How to Set a Static IP on Ubuntu"}]},{"@type":"WebSite","@id":"https:\/\/draculaservers.com\/tutorials\/#website","url":"https:\/\/draculaservers.com\/tutorials\/","name":"Dracula Servers Tutorials","description":"Dedicated Servers","publisher":{"@id":"https:\/\/draculaservers.com\/tutorials\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/draculaservers.com\/tutorials\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/draculaservers.com\/tutorials\/#organization","name":"Dracula Servers","url":"https:\/\/draculaservers.com\/tutorials\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/","url":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","contentUrl":"https:\/\/draculaservers.com\/tutorials\/wp-content\/uploads\/2016\/06\/dracula_full_logo_smaller.png","width":1625,"height":200,"caption":"Dracula Servers"},"image":{"@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/draculaservers.com\/tutorials\/#\/schema\/person\/ac89d0281f4fb596bfaa0bc1e746c8a6","name":"Abdul Mannan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2809442d44177cab4f90e1d9b3295560462063881ca1374b6d597d8f0b48fc21?s=96&d=mm&r=g","caption":"Abdul Mannan"},"description":"An individual trying to decipher the enigmas of technology by the sheer driving force of curiosity. Interested in learning new skills and being better at those skills than the lot."}]}},"_links":{"self":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/comments?post=3492"}],"version-history":[{"count":1,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3492\/revisions"}],"predecessor-version":[{"id":3494,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/posts\/3492\/revisions\/3494"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media\/3493"}],"wp:attachment":[{"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/media?parent=3492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/categories?post=3492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/draculaservers.com\/tutorials\/wp-json\/wp\/v2\/tags?post=3492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}