Proper way for changing MAC address in a linux VM?
- by HappyDeveloper
I tried to change the MAC address in a ubuntu VM (virtualbox), but after that it threw lots of errors during boot, and then I had no internet connection.
Then I saw that the interface was renamed to eth1, so I edited /etc/network/interfaces to change eth0 to eth1, rebooted (didn't know how to restart the network), and boot was now faster and internet worked fine.
But now after every time I log in, I get 1 or 2 error messages that say nothing, they only ask me if I want to report them.
So I was wondering, is there was a proper way to change MAC address, to avoid these issues?