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:
/etc/udev/rules.d/70-persistent-net.rules
and you’ll have eth0 and eth1 names back.
I know this is an old post, but I have an old VM that suddenly stopped working. Your trick not only got me back eth0 but got it to work properly. Thanks.
ReplyDelete