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

Re: Dual NIC - device assign problem



Le 28.01.2005 19:08:44, Alex Perry a écrit :
Jörg Ebeling wrote:
I've a Tyan S4882 with a Broadcom Dual NIC controller on Board.

The NIC module "tg3" loads so far but assigns the ethernet devices (eth0/eth1) randomly to the NICs.
[...]
Any help/suggestions ?

If it really does it randomly, you could simply repeatedly start and stop the driver until it gets them the right way around. On average, it'll take you only two attempts (the worst case is pretty bad 8-)

There is a way to assign a name to the MAC.
Use the nameif command in your /etc/network/interfaces as follow:

As an example, I've an interface I've given the name "lan" and it is associated to the "00:00:B4:BB:46:E9" MAC address

iface lan inet static
   pre-up nameif lan 00:00:B4:BB:46:E9
   address 192.168.0.253
   netmask 255.255.255.0

then "ifconfig lan <what_you_want> works

nameif is part of the package net-tools

Regards

Jean-Luc

Attachment: pgp3lfBrPr4jb.pgp
Description: PGP signature


Reply to: