Binding Network Devices
From Amahi Wiki
You can manually force the assignment from a network card to what device comes up as (eth0, eth1 ...), you can manually edit this file:
/etc/udev/rules.d/70-persistent-net.rules
This maps MAC address to device name. Example:
bash code |
---|
{{{1}}}
|
This file maps the card with MAC 00:1d:60:b5:43:66 to eth0 and the card with 5c:d9:98:af:21:43 to eth1.
If you want to reverse the assignements, switch eth0 and eth1 at the end of the lines.
Please exercise care. Improperly modifying this file may render your system without network or even not boot properly.