{"id":943,"date":"2020-03-08T01:11:37","date_gmt":"2020-03-08T06:11:37","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=943"},"modified":"2020-03-08T01:12:17","modified_gmt":"2020-03-08T06:12:17","slug":"ubuntu-server-missing-network-interface","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2020\/03\/08\/ubuntu-server-missing-network-interface\/","title":{"rendered":"Ubuntu Server Missing Network Interface"},"content":{"rendered":"\n<p>I had an opportunity recently to install Ubuntu Server on a very old server, a Dell R710 that had 4 native network interfaces and 4 add-on network interfaces, resulting in a total of 8 network interfaces.<\/p>\n\n\n\n<p>During the installation process, the installer did recognize all the physical network interfaces on the machine but because it did not successfully acquire DHCP addresses, I was forced to install Ubuntu without networking.<\/p>\n\n\n\n<p>After the installation, only the loop back (<code>lo<\/code>) interface existed and all the other physical interfaces were missing. I had to use the <code>netplan<\/code> command to create the interfaces. This <a rel=\"noreferrer noopener\" aria-label=\"article (opens in a new tab)\" href=\"https:\/\/askubuntu.com\/questions\/1138489\/ubuntu-server-19-04-not-installing-ethernet-firmware-on-dell-poweredge-r610\" target=\"_blank\">article<\/a> was of tremendous help. I pretty well just followed its instructions.<\/p>\n\n\n\n<p>I first created the <code>99-disable-network-config.cfg<\/code> file with the contents as instructed by the article. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo su -\n\necho \"network: {config: disabled}\"  >>  \/etc\/cloud\/cloud.cfg.d\/99-disable-network-config.cfg<\/code><\/pre>\n\n\n\n<p>Followed by editing the 50-cloud-init.yaml file with the following contents:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/netplan\/50-cloud-init.yaml<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code># This file is generated from information provided by\n# the datasource. Changes to it will not persist across an instance.\n# To disable cloud-init's network configuration capabilities, write a file\n# \/etc\/cloud\/cloud.cfg.d\/99-disable-network-config.cfg with the following:\n# network: {config: disabled}\nnetwork:\n  version: 2\n  renderer: networkd\n  ethernets:\n    eno1:\n      dhcp4: true<\/code><\/pre>\n\n\n\n<p>Once netplan is configured, I then executed the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>netplan generate\nnetplan apply<\/code><\/pre>\n\n\n\n<p>Once I <strong><em>rebooted<\/em><\/strong> the computer, the <code>eno1<\/code> network interface now exists with a provisioned IP from my local DHCP server.<\/p>\n\n\n\n<p>Much of the content in this blog is a verbatim reference from the article but I provided here so that it is more easily searched by me if I ever needed it in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an opportunity recently to install Ubuntu Server on a very old server, a Dell R710 that had 4 native network interfaces and 4 add-on network interfaces, resulting in a total of 8 network interfaces. During the installation process, the installer did recognize all the physical network interfaces on the machine but because it &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2020\/03\/08\/ubuntu-server-missing-network-interface\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ubuntu Server Missing Network Interface&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[111],"tags":[],"class_list":["post-943","post","type-post","status-publish","format-standard","hentry","category-tech"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-fd","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=943"}],"version-history":[{"count":3,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/943\/revisions"}],"predecessor-version":[{"id":946,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/943\/revisions\/946"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}