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

Re: Problem: 2.6.x and network (e1000 Intel 82546EB)



Quoting Bernd Eckenfels <lists@lina.inka.de>:
> On Thu, Apr 08, 2004 at 05:08:23PM +0200, W. Borgert wrote:
> > Question: Is there a way to force the system to use a specific
> > interface card for eth0?  Something in /etc/modules or
> > /etc/network/interfaces?
> 
> yes you can use nameif from net-tools, but it does not yet provide a ready
> startup script. It can rename the interfaces based on their mac address.
> Normally you rename them to something more verbose than etxX like "lan0" or
> "dmz0" or something like that.

Thanks a lot, I will try that.  It would be cool to have the 'nameif'
functionality integrated into ifup and /etc/network/interfaces.
Maybe something like:

nameif <class> <hwaddress, depending on class> <name>

E.g.

nameif ether 00:11:22:33:44:55 dmz0

I don't know, how this would behave if one changes the hwaddress in a
later section :-)

Cheers, WB



Reply to: