{"id":10607,"date":"2023-06-10T16:59:00","date_gmt":"2023-06-10T11:29:00","guid":{"rendered":"https:\/\/www.skynats.com\/?p=10607"},"modified":"2025-10-28T10:51:05","modified_gmt":"2025-10-28T05:21:05","slug":"how-to-add-additional-ip-in-ubuntu","status":"publish","type":"post","link":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/","title":{"rendered":"How to add additional IP in Ubuntu 22.04"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-normal-font-size\" id=\"h-to-add-an-additional-ip-address-in-ubuntu-22-04-you-can-follow-these-steps\">To add an additional IP address in Ubuntu 22.04, you can follow these steps:<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open a terminal on your <a href=\"https:\/\/ubuntu.com\/\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-secondary-color\">Ubuntu<\/mark><\/a> system. You can do this by pressing Ctrl+Alt+T.<\/li>\n<\/ol>\n\n\n\n<p>2. Identify the network interface to which you want to add the additional IP address. You can use the ifconfig command to list all network interfaces:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ifconfig<\/code><\/pre>\n\n\n\n<p>3. Look for the network interface name, such as eth0 or ens33.<\/p>\n\n\n\n<p>Edit the network interface configuration file. Assuming you want to add the additional IP address to the eth0 interface, you can use the following command to open the file in a text editor (replace eth0 with your interface name if necessary):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo nano \/etc\/netplan\/01-netcfg.yaml<\/code><\/pre>\n\n\n\n<p>4. In the configuration file, locate the network interface you identified in Step 2. It will look something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>network:\n\n&nbsp;&nbsp;version: 2\n\n&nbsp;&nbsp;renderer: networkd\n\n&nbsp;&nbsp;ethernets:\n\n&nbsp;&nbsp;&nbsp;&nbsp;eth0:\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dhcp4: true<\/code><\/pre>\n\n\n\n<p>5. To add an additional IP address, add a new section under the interface definition. It should look similar to the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>network:\n\n&nbsp;&nbsp;version: 2\n\n&nbsp;&nbsp;renderer: networkd\n\n&nbsp;&nbsp;ethernets:\n\n&nbsp;&nbsp;&nbsp;&nbsp;eth0:\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dhcp4: true\n\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addresses: &#91;192.168.1.10\/24, 10.0.0.10\/24]<\/code><\/pre>\n\n\n\n<p>In the addresses line, you can add one or more IP addresses separated by commas. Make sure to specify the correct subnet mask (e.g., \/24 for a typical subnet).<\/p>\n\n\n\n<p>6. Save the changes and exit the text editor. In nano, you can press Ctrl+O to save and Ctrl+X to exit.<\/p>\n\n\n\n<p>7. Apply the new network configuration using the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo netplan apply<\/code><\/pre>\n\n\n\n<p>This command will apply the changes and activate the additional IP address on the network interface<\/p>\n\n\n\n<p>8. Verify that the additional IP address is added by running the ifconfig command again:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ifconfig<\/code><\/pre>\n\n\n\n<p>You should see the new IP address listed under the network interface. Need help on additional IP in Ubuntu 22.04 ? Contact us.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-small-font-size\" id=\"h-conclusion\"><strong>Conclusion<\/strong><\/h3>\n\n\n\n<p>If you\u2019re facing challenges while configuring Additional IP in Ubuntu 22.04, our team is here to help. At Skynats, we provide expert <a href=\"https:\/\/www.skynats.com\/linux-server-management\/\">Linux Server Management Services<\/a> to handle complex configurations and ensure smooth server performance. Whether it\u2019s a one-time setup or quick troubleshooting, our <a href=\"https:\/\/www.skynats.com\/hourly-server-support-services\/\">Hourly Server Support<\/a> team can assist you instantly. Contact us today to get professional support tailored to your server needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To add an additional IP address in Ubuntu 22.04, you can follow these steps: 2. Identify the network interface to which you want to add the additional IP address. You can use the ifconfig command to list all network interfaces: 3. Look for the network interface name, such as eth0 or ens33. Edit the network [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,208,328,239],"tags":[25,193,72,22,236],"class_list":["post-10607","post","type-post","status-publish","format-standard","hentry","category-blog","category-centos-7","category-debian","category-linux","tag-cloud-management","tag-plesk-server-management","tag-server-management","tag-server-support","tag-ubuntu"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to add additional IP in Ubuntu 22.04<\/title>\n<meta name=\"description\" content=\"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network&#039;s flexibility and management.\" \/>\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.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add additional IP in Ubuntu 22.04\" \/>\n<meta property=\"og:description\" content=\"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network&#039;s flexibility and management.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/\" \/>\n<meta property=\"og:site_name\" content=\"Server Management Services | Cloud Management | Skynats\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/skynats\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-10T11:29:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-28T05:21:05+00:00\" \/>\n<meta name=\"author\" content=\"Sourav AJ\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:site\" content=\"@skynatstech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sourav AJ\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/\"},\"author\":{\"name\":\"Sourav AJ\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/255d12fc66a62db365022ecbb5846276\"},\"headline\":\"How to add additional IP in Ubuntu 22.04\",\"datePublished\":\"2023-06-10T11:29:00+00:00\",\"dateModified\":\"2025-10-28T05:21:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/\"},\"wordCount\":329,\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"keywords\":[\"cloud management\",\"Plesk server management\",\"server management\",\"server support\",\"Ubuntu\"],\"articleSection\":[\"Blog\",\"CentOs 7\",\"Debian\",\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/\",\"name\":\"How to add additional IP in Ubuntu 22.04\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\"},\"datePublished\":\"2023-06-10T11:29:00+00:00\",\"dateModified\":\"2025-10-28T05:21:05+00:00\",\"description\":\"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network's flexibility and management.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/how-to-add-additional-ip-in-ubuntu\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to add additional IP in Ubuntu 22.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"name\":\"Server Management Services | Cloud Management | Skynats\",\"description\":\"Server Management and Cloud Management\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#organization\",\"name\":\"Skynats Technologies\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"contentUrl\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/08\\\/Sknats-Logo-New-whole.png\",\"width\":989,\"height\":367,\"caption\":\"Skynats Technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/skynats\",\"https:\\\/\\\/x.com\\\/skynatstech\",\"https:\\\/\\\/www.instagram.com\\\/skynatstech\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/skynats-technologies\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCvTAjrFJ4_E2MJKwlDHomlg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.skynats.com\\\/blog\\\/#\\\/schema\\\/person\\\/255d12fc66a62db365022ecbb5846276\",\"name\":\"Sourav AJ\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g\",\"caption\":\"Sourav AJ\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to add additional IP in Ubuntu 22.04","description":"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network's flexibility and management.","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.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/","og_locale":"en_US","og_type":"article","og_title":"How to add additional IP in Ubuntu 22.04","og_description":"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network's flexibility and management.","og_url":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/","og_site_name":"Server Management Services | Cloud Management | Skynats","article_publisher":"https:\/\/www.facebook.com\/skynats","article_published_time":"2023-06-10T11:29:00+00:00","article_modified_time":"2025-10-28T05:21:05+00:00","author":"Sourav AJ","twitter_card":"summary_large_image","twitter_creator":"@skynatstech","twitter_site":"@skynatstech","twitter_misc":{"Written by":"Sourav AJ","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/#article","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/"},"author":{"name":"Sourav AJ","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/255d12fc66a62db365022ecbb5846276"},"headline":"How to add additional IP in Ubuntu 22.04","datePublished":"2023-06-10T11:29:00+00:00","dateModified":"2025-10-28T05:21:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/"},"wordCount":329,"publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"keywords":["cloud management","Plesk server management","server management","server support","Ubuntu"],"articleSection":["Blog","CentOs 7","Debian","Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/","url":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/","name":"How to add additional IP in Ubuntu 22.04","isPartOf":{"@id":"https:\/\/www.skynats.com\/blog\/#website"},"datePublished":"2023-06-10T11:29:00+00:00","dateModified":"2025-10-28T05:21:05+00:00","description":"Learn how to configure an additional IP in Ubuntu 22.04 with simple steps to enhance your network's flexibility and management.","breadcrumb":{"@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.skynats.com\/blog\/how-to-add-additional-ip-in-ubuntu\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.skynats.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to add additional IP in Ubuntu 22.04"}]},{"@type":"WebSite","@id":"https:\/\/www.skynats.com\/blog\/#website","url":"https:\/\/www.skynats.com\/blog\/","name":"Server Management Services | Cloud Management | Skynats","description":"Server Management and Cloud Management","publisher":{"@id":"https:\/\/www.skynats.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.skynats.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.skynats.com\/blog\/#organization","name":"Skynats Technologies","url":"https:\/\/www.skynats.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","contentUrl":"https:\/\/www.skynats.com\/blog\/wp-content\/uploads\/2021\/08\/Sknats-Logo-New-whole.png","width":989,"height":367,"caption":"Skynats Technologies"},"image":{"@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/skynats","https:\/\/x.com\/skynatstech","https:\/\/www.instagram.com\/skynatstech\/","https:\/\/www.linkedin.com\/company\/skynats-technologies","https:\/\/www.youtube.com\/channel\/UCvTAjrFJ4_E2MJKwlDHomlg"]},{"@type":"Person","@id":"https:\/\/www.skynats.com\/blog\/#\/schema\/person\/255d12fc66a62db365022ecbb5846276","name":"Sourav AJ","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4a121e24658559577bd8d7ee7d696b05d5908df88dd32a6dfac5311f6fe26b86?s=96&d=mm&r=g","caption":"Sourav AJ"}}]}},"_links":{"self":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10607","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/comments?post=10607"}],"version-history":[{"count":2,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10607\/revisions"}],"predecessor-version":[{"id":16370,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/posts\/10607\/revisions\/16370"}],"wp:attachment":[{"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/media?parent=10607"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/categories?post=10607"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.skynats.com\/blog\/wp-json\/wp\/v2\/tags?post=10607"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}