<?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: Re-ordering Network Cards... in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991789#M28165</link>
    <description>Scratch that. It doesn't parse correctly with KERNEL==.</description>
    <pubDate>Fri, 04 May 2007 09:54:06 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2007-05-04T09:54:06Z</dc:date>
    <item>
      <title>Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991776#M28152</link>
      <description>Hi, I have a DL585 G2 with 6 NICs (two onboard and 2 x dual port cards). After the server has booted into RHEL-AS-4-U4 the order of the cards is incorrect.&lt;BR /&gt;&lt;BR /&gt;The two onboard should be eth0 and eth1 with the PCI cards being eth2, 3, 4 and 5. At the moment however, it seems that the two onboard ones are eth4 and 5.&lt;BR /&gt;&lt;BR /&gt;Can anyone tell me how I can change the order of them? They are all NetXtreme II cards using the bnx2 driver.&lt;BR /&gt;&lt;BR /&gt;Thanks - Lee</description>
      <pubDate>Tue, 01 May 2007 09:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991776#M28152</guid>
      <dc:creator>Lee Harris_5</dc:creator>
      <dc:date>2007-05-01T09:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991777#M28153</link>
      <description>Here is a link for modifying udev:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.debianhelp.co.uk/udev.htm" target="_blank"&gt;http://www.debianhelp.co.uk/udev.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It should apply to red hat also. Follow the notes up to the point "Updating network configuration", then reboot. If you have time you should look into udev. Here is another good link to learn a little more about it:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.redhat.com/magazine/002dec04/features/udev/" target="_blank"&gt;http://www.redhat.com/magazine/002dec04/features/udev/&lt;/A&gt;</description>
      <pubDate>Tue, 01 May 2007 09:45:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991777#M28153</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-05-01T09:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991778#M28154</link>
      <description>You could set HWADDR in /etc/sysconfig/network-scripts/ifcfg-ethX, for example:&lt;BR /&gt;&lt;BR /&gt;/etc/sysconfig/network-scripts/ifcfg-eth0:&lt;BR /&gt;DEVICE=eth0&lt;BR /&gt;BOOTPROTO=static&lt;BR /&gt;HWADDR=ZZ:YY:XX:WW:VV:UU&lt;BR /&gt;IPADDR=aaa.bbb.ccc.ddd&lt;BR /&gt;IPV6ADDR=&lt;BR /&gt;IPV6PREFIX=&lt;BR /&gt;NETMASK=255.255.255.0&lt;BR /&gt;ONBOOT=yes</description>
      <pubDate>Tue, 01 May 2007 10:58:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991778#M28154</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-01T10:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991779#M28155</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This is difficult and can even make your system unstable..&lt;BR /&gt;&lt;BR /&gt;Based on other issues posted you have better things to do with your time.&lt;BR /&gt;&lt;BR /&gt;I even once went to the trouble of deactivating the NIC cards in the bios on a HP server and then installing the OS but they were still detected and eth numbers reserved.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 01 May 2007 11:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991779#M28155</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-05-01T11:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991780#M28156</link>
      <description>Thank you so far for the replies. Court's links were helpful, but despite following the instructions, it didn't actually seem to make any difference.&lt;BR /&gt;&lt;BR /&gt;Changing the ifcfg-eth* scripts doesn't work, this will just end up spoofing the MAC addresses and will probably end up quite messy.&lt;BR /&gt;&lt;BR /&gt;Although this doesn't make any difference to the functionality of the server it is annoying. It would be nice to be able to tell how Linux maps physical hardware to devices. I need to try and keep the network card layout and settings to the same standard as the other machines. Unfortunately the other machines are predominantly DL585 G1's which don't seem to have a problem.</description>
      <pubDate>Wed, 02 May 2007 10:01:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991780#M28156</guid>
      <dc:creator>Lee Harris_5</dc:creator>
      <dc:date>2007-05-02T10:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991781#M28157</link>
      <description>&amp;gt;&amp;gt;&amp;gt; this will just end up spoofing the MAC addresses and will probably end up quite messy.&lt;BR /&gt;&lt;BR /&gt;I totally disagree. Please note the difference between these parameters:&lt;BR /&gt;&lt;BR /&gt;HWADDR=&lt;MAC-ADDRESS&gt;, where &lt;MAC-ADDRESS&gt; is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is useful for machines with multiple NICs to ensure that the interfaces are assigned the correct device names regardless of the configured load order for each NIC's module. This directive should not be used in conjunction with MACADDR.&lt;BR /&gt;&lt;BR /&gt;MACADDR=&lt;MAC-ADDRESS&gt;, where &lt;MAC-ADDRESS&gt; is the hardware address of the Ethernet device in the form AA:BB:CC:DD:EE:FF. This directive is used to assign a MAC address to an interface, overriding the one assigned to the physical NIC. This directive should not be used in  conjunction with HWADDR.&lt;/MAC-ADDRESS&gt;&lt;/MAC-ADDRESS&gt;&lt;/MAC-ADDRESS&gt;&lt;/MAC-ADDRESS&gt;</description>
      <pubDate>Wed, 02 May 2007 11:54:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991781#M28157</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-05-02T11:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991782#M28158</link>
      <description>Ivan, sorry I misread your original reply. However, I have changed the device settings as you suggested, and this has sort of made a difference, but not quite what I am after. What should be eth4 and eth5 now have been renamed dev#####....see below output from command "ip a s"&lt;BR /&gt;&lt;BR /&gt;1: lo: &lt;LOOPBACK&gt; mtu 16436 qdisc noqueue&lt;BR /&gt;    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00&lt;BR /&gt;    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo&lt;BR /&gt;    inet6 ::1/128 scope host&lt;BR /&gt;       valid_lft forever preferred_lft forever&lt;BR /&gt;2: dev18319: &lt;BROADCAST&gt; mtu 1500 qdisc noop qlen 1000&lt;BR /&gt;    link/ether 00:19:bb:d2:33:64 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;3: dev32316: &lt;BROADCAST&gt; mtu 1500 qdisc noop qlen 1000&lt;BR /&gt;    link/ether 00:19:bb:d2:33:66 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;4: eth2: &lt;BROADCAST&gt; mtu 1500 qdisc noop qlen 1000&lt;BR /&gt;    link/ether 00:1a:4b:4f:ad:4c brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;5: eth3: &lt;BROADCAST&gt; mtu 1500 qdisc noop qlen 1000&lt;BR /&gt;    link/ether 00:1a:4b:4f:ad:4e brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;6: eth0: &lt;BROADCAST&gt; mtu 1500 qdisc pfifo_fast qlen 1000&lt;BR /&gt;    link/ether 00:18:fe:76:64:50 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;    inet 164.39.8.144/24 brd 164.39.8.255 scope global eth0&lt;BR /&gt;    inet6 fe80::218:feff:fe76:6450/64 scope link&lt;BR /&gt;       valid_lft forever preferred_lft forever&lt;BR /&gt;7: eth1: &lt;BROADCAST&gt; mtu 1500 qdisc pfifo_fast qlen 1000&lt;BR /&gt;    link/ether 00:18:fe:76:64:52 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;    inet 10.210.254.120/24 brd 10.210.254.255 scope global eth1&lt;BR /&gt;    inet6 fe80::218:feff:fe76:6452/64 scope link&lt;BR /&gt;       valid_lft forever preferred_lft forever&lt;BR /&gt;8: sit0: &lt;NOARP&gt; mtu 1480 qdisc noop&lt;BR /&gt;    link/sit 0.0.0.0 brd 0.0.0.0&lt;BR /&gt;&lt;BR /&gt;I want to actually change the order in which RedHat detects the NICs rather so it ends up like:&lt;BR /&gt;&lt;BR /&gt;0: lo:&lt;BR /&gt;1: eth0:&lt;BR /&gt;2: eth1:&lt;BR /&gt;&lt;BR /&gt;...and so on.&lt;BR /&gt;&lt;BR /&gt;Regards - Lee&lt;/NOARP&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/BROADCAST&gt;&lt;/LOOPBACK&gt;</description>
      <pubDate>Thu, 03 May 2007 03:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991782#M28158</guid>
      <dc:creator>Lee Harris_5</dc:creator>
      <dc:date>2007-05-03T03:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991783#M28159</link>
      <description>If you make the old eth4 become the new eth0, you should also use HWADDR to explicitly specify what the new name of the old eth0 should be.&lt;BR /&gt;&lt;BR /&gt;If you don't do that, you get generic place-holder names just like you experienced. The placeholders are automatically generated so that they are guaranteed not to overlap.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Thu, 03 May 2007 04:05:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991783#M28159</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-05-03T04:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991784#M28160</link>
      <description>check the following link:&lt;BR /&gt;&lt;A href="http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames" target="_blank"&gt;http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 03 May 2007 04:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991784#M28160</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-03T04:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991785#M28161</link>
      <description>Just curious. What did you put in the udev rules file?</description>
      <pubDate>Thu, 03 May 2007 11:44:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991785#M28161</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-05-03T11:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991786#M28162</link>
      <description>This was what I had in the udev rules in the file /etc/udev/rules.d/10-netinterfaces.rules...&lt;BR /&gt;&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:18:fe:76:64:50",NAME="eth0"&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:18:fe:76:64:52",NAME="eth1"&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:19:bb:d2:33:64",NAME="eth2"&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:19:bb:d2:33:66",NAME="eth3"&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:1a:4b:4f:ad:4c",NAME="eth4"&lt;BR /&gt;KERNEL="eth*",SYSFS{address}=="00:1a:4b:4f:ad:4e",NAME="eth5"</description>
      <pubDate>Fri, 04 May 2007 02:18:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991786#M28162</guid>
      <dc:creator>Lee Harris_5</dc:creator>
      <dc:date>2007-05-04T02:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991787#M28163</link>
      <description>try this instead:&lt;BR /&gt;&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:18:fe:76:64:50",NAME="eth0"&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:18:fe:76:64:52",NAME="eth1"&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:19:bb:d2:33:64",NAME="eth2"&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:19:bb:d2:33:66",NAME="eth3"&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:1a:4b:4f:ad:4c",NAME="eth4"&lt;BR /&gt;KERNEL=="eth*",SYSFS{address}=="00:1a:4b:4f:ad:4e",NAME="eth5"</description>
      <pubDate>Fri, 04 May 2007 09:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991787#M28163</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-05-04T09:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991788#M28164</link>
      <description>Hmm, I already tried it like that too, but it just skipped the rules when I ran a udevtest.</description>
      <pubDate>Fri, 04 May 2007 09:48:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991788#M28164</guid>
      <dc:creator>Lee Harris_5</dc:creator>
      <dc:date>2007-05-04T09:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991789#M28165</link>
      <description>Scratch that. It doesn't parse correctly with KERNEL==.</description>
      <pubDate>Fri, 04 May 2007 09:54:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991789#M28165</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-05-04T09:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Re-ordering Network Cards...</title>
      <link>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991790#M28166</link>
      <description>Seems to be a rhel thing. I have been researching this out of interest and saw one ibm page that said that using udev for naming network interfaces is not supported in rhel4. I also saw a dell whitepapaer which stated to use the HWADDR parameter in the ifcfg-&lt;NET_INTERFACE&gt; files. Looks as if that may be your only option. Anyway, I thought you might find this interesting reading:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf" target="_blank"&gt;http://linux.dell.com/files/whitepapers/nic-enum-whitepaper-v3.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I was pretty sure udev would work. I used it when I turned an old laptop into a digital picture frame. I setup udev to run a script that copied pictures from my usb pen drive to a directory and restart qiv. Anyway, sorry it didn't work.&lt;/NET_INTERFACE&gt;</description>
      <pubDate>Fri, 04 May 2007 10:35:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/re-ordering-network-cards/m-p/3991790#M28166</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2007-05-04T10:35:59Z</dc:date>
    </item>
  </channel>
</rss>

