RE: [gentoo-user] Question about 2006.0 and order of NIC detectio n

2006-04-20 Thread Sieb, Glenn E (Glenn)
Hi Jeremy,

 Sieb, Glenn E (Glenn) wrote:
  Is there a way I can change this so that eth0/1 are the on-board 
  ports? It will save me lots of headaches later. :)
 
 You are looking for udev. Udev will create names for devices 
 (USB drives, NICs, etc)
 
 http://www.gentoo.org/doc/en/udev-guide.xml
 http://www.reactivated.net/writing_udev_rules.html

Thanks for the links--I took a look through this stuff, and though it's (very) 
nifty, it isn't quite what I want.

This seems to only help if I have *one* machine that I want to rename my NICs 
on. 

I want my NICs to come up on *all* my servers:

Motherboard (tg3) NICs first: eth0  eth1
PCI (e1000) NICs second: eth2  eth3

I can do this if I write udev rules for every separate server, and then on 
every new server I build I have to go change the udev rules to match the MAC 
addresses for that box. Not quite what I had in mind for this. 

Maybe /etc/modules.autoload.d/kernel-2.6 is what I want? If I put tg3 in there, 
it then loads tg3 before e1000, thus giving the tg3 interfaces eth0  eth1. 

However, before I broadcast that change to all of my boxes, I want to be sure 
this isn't the wrong way of doing this.

Thanks in advance!
Best,
--Glenn

--
Glenn E. Sieb, MTS
Bell Laboratories
[EMAIL PROTECTED]
+1 732 949 5453 
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Question about 2006.0 and order of NIC detectio n

2006-04-10 Thread Sieb, Glenn E (Glenn)
Thanks, Jeremy, I'll take a look at that in the morning! :)

Best,
--Glenn

--
Glenn E. Sieb, MTS
[EMAIL PROTECTED]
+1 732 949 5453
 
-- 
gentoo-user@gentoo.org mailing list