How to bind a ethX network logical device to a specific network card adapter

Bill Nottingham notting at redhat.com
Mon Jul 24 16:51:58 UTC 2006


Dario Lesca (d.lesca at solinos.it) said: 
> Hi, On my up-to-date FC5 I have 3 network card:
> 
> > 01:01.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
> > 01:02.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
> > 01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
> > 
> How to bind the eth0 logical device to 01:0b.0 physical device ? 
> 
> into /dev/modprobe.conf file I have this line:
> 
> > alias eth0 r8169
> > alias eth1 natsemi
> > alias eth2 natsemi
> > 
> 
> but this is not sufficient, when I reboot the machine,
> some time the eth0 is bind to natsemi device and I must
> change the network cable from Realtek to first NatSemi card

Add the appropriate HWADDRs to the ifcfg-files.

Bill




More information about the fedora-devel-list mailing list