Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] How to force which device is eth0?


<quote who="Simon Wong">

> Occasionally, I come across a situation where the network device I am
> using gets changed after a new kernel is installed eg from eth0 to eth2.
> This is on a machine with 3 NICs.
> 
> I thought I found the right setting for /etc/network/interfaces using
> "hwaddress ether XX:XX...", however, that doesn't seem to be working on my
> Dapper machine.
> 
> Can anyone offer any advice on how to force which hardware is eth0?

Check out /etc/iftab (and the iftab man page).

- Jeff

-- 
linux.conf.au 2007: Sydney, Australia           http://lca2007.linux.org.au/
 
     "I have a burning curiosity about everything, everything-- except
               country and western, of course." - David Bowie