<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Naming convention for eth# interfaces in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/naming-convention-for-eth-interfaces/m-p/4769186#M44002</link>
    <description>Adjust the HWADDR=&lt;INTERFACE-MAC-ADDRESS&gt; lines in each /etc/sysconfig/network-interfaces/ifcfg-eth* file to the way you want the NICs to be.&lt;BR /&gt;&lt;BR /&gt;If you want the NIC with MAC address 11:22:33:44:55:66 to be eth0, then /etc/sysconfig/network-interfaces/ifcfg-eth0 should have this line:&lt;BR /&gt;&lt;BR /&gt;HWADDR=11:22:33:44:55:66&lt;BR /&gt;&lt;BR /&gt;If you need to replace the eth0 NIC, the new NIC will have a different MAC address than the old one. So edit the /etc/sysconfig/network-interfaces/ifcfg-eth0 to match the new situation, and the physical NIC -&amp;gt; eth# name will stay the same: if some hardware change would make it different, the OS will automatically re-arrange the cards to make them stay the way you want them.&lt;BR /&gt;&lt;BR /&gt;If you want to completely disable the re-arrangement system and let the NIC names be assigned in the hardware detection order, then just remove the HWADDR= lines from all ifcfg-eth* files.&lt;BR /&gt;&lt;BR /&gt;NOTE: the HWADDR= line will control the re-arrangement of eth# names; MACADDR= line would be used to assign custom MAC addresses to NICs. Don't confuse the two, and don't use them both on the same NIC.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/INTERFACE-MAC-ADDRESS&gt;</description>
    <pubDate>Wed, 23 Mar 2011 14:47:31 GMT</pubDate>
    <dc:creator>Matti_Kurkela</dc:creator>
    <dc:date>2011-03-23T14:47:31Z</dc:date>
    <item>
      <title>Naming convention for eth# interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/naming-convention-for-eth-interfaces/m-p/4769185#M44001</link>
      <description>Is there a way to stop the eth# getting re-arranged in RHEL upon reboot and replacing. Any workwounds?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Brian</description>
      <pubDate>Wed, 23 Mar 2011 13:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/naming-convention-for-eth-interfaces/m-p/4769185#M44001</guid>
      <dc:creator>brian_31</dc:creator>
      <dc:date>2011-03-23T13:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: Naming convention for eth# interfaces</title>
      <link>https://community.hpe.com/t5/operating-system-linux/naming-convention-for-eth-interfaces/m-p/4769186#M44002</link>
      <description>Adjust the HWADDR=&lt;INTERFACE-MAC-ADDRESS&gt; lines in each /etc/sysconfig/network-interfaces/ifcfg-eth* file to the way you want the NICs to be.&lt;BR /&gt;&lt;BR /&gt;If you want the NIC with MAC address 11:22:33:44:55:66 to be eth0, then /etc/sysconfig/network-interfaces/ifcfg-eth0 should have this line:&lt;BR /&gt;&lt;BR /&gt;HWADDR=11:22:33:44:55:66&lt;BR /&gt;&lt;BR /&gt;If you need to replace the eth0 NIC, the new NIC will have a different MAC address than the old one. So edit the /etc/sysconfig/network-interfaces/ifcfg-eth0 to match the new situation, and the physical NIC -&amp;gt; eth# name will stay the same: if some hardware change would make it different, the OS will automatically re-arrange the cards to make them stay the way you want them.&lt;BR /&gt;&lt;BR /&gt;If you want to completely disable the re-arrangement system and let the NIC names be assigned in the hardware detection order, then just remove the HWADDR= lines from all ifcfg-eth* files.&lt;BR /&gt;&lt;BR /&gt;NOTE: the HWADDR= line will control the re-arrangement of eth# names; MACADDR= line would be used to assign custom MAC addresses to NICs. Don't confuse the two, and don't use them both on the same NIC.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/INTERFACE-MAC-ADDRESS&gt;</description>
      <pubDate>Wed, 23 Mar 2011 14:47:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/naming-convention-for-eth-interfaces/m-p/4769186#M44002</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-03-23T14:47:31Z</dc:date>
    </item>
  </channel>
</rss>

