|
From: Frank W. <Fra...@ct...> - 2006-06-22 12:26:11
|
On Wednesday 21 June 2006 21:55, Serge Leschinsky wrote: > Frank, > > Tuesday, June 20, 2006, 11:57:41 PM, you wrote: > > is there a way to bind a particular nic to a particular interface in DL, > > i.e. a way to map that says eth0 has MAC address xxxx etc? > > Yes. > > Program name is "nameif" > Thanks Serge this could be what I have been looking for, but it is not easy to use in DL (at least not with an /etc/mactab file): nameif needs to be run when the nic modules are loaded, but the interfaces are still down... if I insert a call to nameif in the /etc/init.d/network script after the modprobe, the name of the device being configured changes in the middle of the script. In order to use this, I'd have to introduce a new param into the nic-config file (eg HWADDR) and then make a single 'command-line' call to nameif after the module has been loaded. Thanks, Frank |