{"id":107,"date":"2014-08-04T14:55:16","date_gmt":"2014-08-04T10:55:16","guid":{"rendered":"http:\/\/itblog.alifer.pro\/?p=107"},"modified":"2014-08-04T14:58:31","modified_gmt":"2014-08-04T10:58:31","slug":"bring-up-interface-in-debianubuntu-without-an-ip","status":"publish","type":"post","link":"https:\/\/it-notes.alifer.su\/?p=107","title":{"rendered":"Bring Up Interface in Debian\/Ubuntu Without an IP"},"content":{"rendered":"<p>Again, this is one of those simple configs once you\u2019ve seen it, but it is a bear to track down and find this info. Basically what I want to do here is tell the OS to bring up the interface regardless of it not having an IP assigned to it. Typically linux systems only bring up their interfaces if they have addresses configured for them. Bringing up an address free interface can be handy for network sniffing, virtualization projects, and various bridging configs.<\/p>\n<p>Here\u2019s what you need to place in \/etc\/network\/interfaces for the interface you need to bring up (X = your interface number):<\/p>\n<p><code>auto ethX<\/code><br \/>\n<code>iface ethX inet manual<\/code><br \/>\n<code>up ifconfig ethX up<\/code><\/p>\n<p>(<a href=\"http:\/\/lastoctet.com\/2009\/04\/12\/bring-up-interface-in-debian-ubuntu-with\/\" title=\"http:\/\/lastoctet.com\/2009\/04\/12\/bring-up-interface-in-debian-ubuntu-with\/\" target=\"_blank\">http:\/\/lastoctet.com\/2009\/04\/12\/bring-up-interface-in-debian-ubuntu-with\/<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Again, this is one of those simple configs once you\u2019ve seen it, but it is a bear to track down and find this info. Basically what I want to do here is tell the OS to bring up the interface regardless of it not having an IP assigned to it. Typically linux systems only bring<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-107","post","type-post","status-publish","format-standard","hentry","category-nix"],"_links":{"self":[{"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/posts\/107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=107"}],"version-history":[{"count":4,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions"}],"predecessor-version":[{"id":111,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=\/wp\/v2\/posts\/107\/revisions\/111"}],"wp:attachment":[{"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it-notes.alifer.su\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}