- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Re-ordering Network Cards...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 02:36 AM
тАО05-01-2007 02:36 AM
Re-ordering Network Cards...
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.
Can anyone tell me how I can change the order of them? They are all NetXtreme II cards using the bnx2 driver.
Thanks - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 02:45 AM
тАО05-01-2007 02:45 AM
Re: Re-ordering Network Cards...
http://www.debianhelp.co.uk/udev.htm
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:
http://www.redhat.com/magazine/002dec04/features/udev/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 03:58 AM
тАО05-01-2007 03:58 AM
Re: Re-ordering Network Cards...
/etc/sysconfig/network-scripts/ifcfg-eth0:
DEVICE=eth0
BOOTPROTO=static
HWADDR=ZZ:YY:XX:WW:VV:UU
IPADDR=aaa.bbb.ccc.ddd
IPV6ADDR=
IPV6PREFIX=
NETMASK=255.255.255.0
ONBOOT=yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2007 04:52 AM
тАО05-01-2007 04:52 AM
Re: Re-ordering Network Cards...
This is difficult and can even make your system unstable..
Based on other issues posted you have better things to do with your time.
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.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2007 03:01 AM
тАО05-02-2007 03:01 AM
Re: Re-ordering Network Cards...
Changing the ifcfg-eth* scripts doesn't work, this will just end up spoofing the MAC addresses and will probably end up quite messy.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2007 04:54 AM
тАО05-02-2007 04:54 AM
Re: Re-ordering Network Cards...
I totally disagree. Please note the difference between these parameters:
HWADDR=
MACADDR=
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2007 08:12 PM
тАО05-02-2007 08:12 PM
Re: Re-ordering Network Cards...
1: lo:
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: dev18319:
link/ether 00:19:bb:d2:33:64 brd ff:ff:ff:ff:ff:ff
3: dev32316:
link/ether 00:19:bb:d2:33:66 brd ff:ff:ff:ff:ff:ff
4: eth2:
link/ether 00:1a:4b:4f:ad:4c brd ff:ff:ff:ff:ff:ff
5: eth3:
link/ether 00:1a:4b:4f:ad:4e brd ff:ff:ff:ff:ff:ff
6: eth0:
link/ether 00:18:fe:76:64:50 brd ff:ff:ff:ff:ff:ff
inet 164.39.8.144/24 brd 164.39.8.255 scope global eth0
inet6 fe80::218:feff:fe76:6450/64 scope link
valid_lft forever preferred_lft forever
7: eth1:
link/ether 00:18:fe:76:64:52 brd ff:ff:ff:ff:ff:ff
inet 10.210.254.120/24 brd 10.210.254.255 scope global eth1
inet6 fe80::218:feff:fe76:6452/64 scope link
valid_lft forever preferred_lft forever
8: sit0:
link/sit 0.0.0.0 brd 0.0.0.0
I want to actually change the order in which RedHat detects the NICs rather so it ends up like:
0: lo:
1: eth0:
2: eth1:
...and so on.
Regards - Lee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2007 09:05 PM
тАО05-02-2007 09:05 PM
Re: Re-ordering Network Cards...
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.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-02-2007 09:11 PM
тАО05-02-2007 09:11 PM
Re: Re-ordering Network Cards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2007 04:44 AM
тАО05-03-2007 04:44 AM