{"id":1179,"date":"2014-03-11T09:36:42","date_gmt":"2014-03-11T14:36:42","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=1179"},"modified":"2014-03-11T09:36:42","modified_gmt":"2014-03-11T14:36:42","slug":"linux-ethernet-fun","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2014\/03\/linux-ethernet-fun\/","title":{"rendered":"Linux Ethernet Fun"},"content":{"rendered":"<p>So we moved a RHEL6.x server from one colocation to another.  Unfortunately since RHEL 6, Redhat decided to include network manager by default.  This makes for some fun times when trying to manually change IP information.<\/p>\n<p>Another unfortunate was that the uninstaller of the system failed to document where each ethernet cable was connected.  We needed 2x LAN LACP, 1x backup, 1x IPMI.  The IPMI was easy, but this server had 4 onboard gig ports and 2 pcie riser gig ports to contend with.  And both sets were BCM drivers &#8211; Broadcom.<\/p>\n<p>Network manager was less than helpful in telling me which ports to plug into.  NM was showing eth4 (configured), eth5, eth6, eth7 (configured), eth8, eth9.  WTF.<\/p>\n<p>I needed to find out which ethernet devices were active now that I plugged them in.<\/p>\n<p><code>ip link show<\/code><br \/>\nShowed me all of the interfaces, physical addresses, and if it was up or down (connect)<\/p>\n<p>From there I learned that eth9 was now LAN and eth7 was backup &#8211; so I could edit the network files to change those.<\/p>\n<p>NM, however, had different plans.  Since the eth4 was still configured with the old IP range, routing wasn&#8217;t happy when I tried to access said range over the MPLS.<br \/>\n<code>ifdown eth4<\/code><\/p>\n<blockquote><p>Error: Device &#8216;eth4&#8217; (\/org\/freedesktop\/NetworkManager\/Devices\/4) disconnecting failed: This device is not active.<\/p><\/blockquote>\n<p>F YOU!<\/p>\n<p><code>ip link set dev eth4 down<\/code><br \/>\nor<br \/>\n<code>ifconfig eth4 down<\/code><br \/>\nWorked much better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So we moved a RHEL6.x server from one colocation to another. Unfortunately since RHEL 6, Redhat decided to include network manager by default. This makes for some fun times when trying to manually change IP information. Another unfortunate was that the uninstaller of the system failed to document where each ethernet cable was connected. We &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2014\/03\/linux-ethernet-fun\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Linux Ethernet Fun<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1179","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=1179"}],"version-history":[{"count":1,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1179\/revisions"}],"predecessor-version":[{"id":1180,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/1179\/revisions\/1180"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=1179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=1179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=1179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}