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

Re: swapping interfaces



Michael Robokoff wrote:
I have a machine with 2 ethernet interfaces installed. The systems installed
with the Gigabit interface as eth0 and 100MB interface as eth1.
Can someone tell me how to change this so the 100MB interface is
eth0 and the gigabit interface is eth1?

1) Compile those two drivers as modules (if necessary)
2) Create a file called /etc/modutils/nic (2.4 kernel) or /etc/modprobe.d/nic (2.6 kernel) and put these lines in it:

alias eth0 <Gb nic driver>
alias eth1 <100Mb nic driver>

3) As root, run update-modules
4) Reboot
5) Enjoy!



Reply to: