Malcolm J Harwood on 1 Jun 2005 16:33:26 -0000


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

Re: [PLUG] binding eth0 to a specific NIC


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.

___________________________________________________________________________
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