After putting new ethernet cards my ubuntu renamed eth0 to eth2 and eth1 to eth3. I wanted to have my old names back.
in dmesg there was:
eth0 –> renamed to eth2.
All you have to do is delete all old entries in:
and you’ll have eth0 and eth1 names back.