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

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

On Thu, 08 Apr 2004, W. Borgert wrote:
> Is there a way to force the system to use a specific interface card
> for eth0?  Something in /etc/modules or /etc/network/interfaces?

You can use nameif(8) to change the names of the interfaces and cause
an interface with a specific mac address to be associated with a
specific eth0 or eth1.

You'll have to call nameif before ifupdown gets called though, so add
it to /etc/init.d/networking (or some other script that gets called
before networking.)[1]

Don Armstrong

1: /etc/init.d/networking should probably call nameif -s if
/etc/mactab exists by default.
America was far better suited to be the World's Movie Star. The
world's tequila-addled pro-league bowler. The world's acerbic bi-polar
stand-up comedian. Anything but a somber and tedious nation of
socially responsible centurions.

-- Bruce Sterling, _Distraction_ p122


Reply to: