Ubuntu NIC mapping

When working with VMs and when playing with network cards, you end up with eth3 or something like that as the name for your only nic. The scripts then break and you need to change /etc/network/interface file to reflect the change.

There’s a way to fix that, though. NIC names – eth0 eth1 and so on – are mapped on ubuntu in the following file:

/etc/udev/rules.d/70-persistent-net.rules

Edit the file to change assignments.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *