Tom Diehl on 2 Jun 2005 03:32:10 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Re: binding eth0 to a specific NIC


On Wed, 1 Jun 2005, Malcolm J Harwood wrote:

> On Wednesday 01 June 2005 12:07 pm, sean finney wrote:
> 
> > *however*, when installing RHAS 4, the order is totally flip-flopped
> > and now the broadcoms show up as eth2/eth3.  so my question is:
> > is there anyway from the kernel boot cmdline to specify the
> > preferred order for scanning these devices?
> 
> 
> Not on the kernel commandline as far as I know, but I had the same problem.
> 
> If they use different drivers, you can use modules.conf:
> 
> alias eth0 driver1
> alias eth1 driver2
> etc.
> 
> If they aren't, you can specific which MAC address to bind an interface to in 
> your /etc/sysconfig/network-scripts/ifcfg-ethX files using 
> "HWADDR=xx:xx:xx:xx:xx".
> 
> At least that works on my Mandrake boxes, I'm not sure how distribution 
> specific it might be.

I can confirm that the above will work on el4 also.

Regards,

Tom Diehl		tdiehl@rogueind.com		Spamtrap address mtd123@rogueind.com
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug