Linux guest is not accessible after MAC change of guest

Discussions about using Linux guests in VirtualBox.
Post Reply
Mazhar
Posts: 1
Joined: 16. Dec 2015, 13:57

Linux guest is not accessible after MAC change of guest

Post by Mazhar »

Hi,

I am using VirtualBox V5.0.4. I have install Ubuntu 14.04 as a guest machine, my host machine is also Ubuntu 14.04.
I was able to access guest machine fine, but after I change MAC address of eth0 of guest machine I am not able to access guest machine.

Can anyone help me here??

Regards,
Mazhar Rana
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Linux guest is not accessible after MAC change of guest

Post by loukingjr »

Change it back to what it was. The old MAC address may be in the .vbox-prev file in the VM folder.

If not, re-registering the guest might work. Remove it from the VirtualBox Manager but "Keep All Files", then re-add the VM.

Just a bit of advice: Don't change something without knowing the consequences or at least having a backup.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Linux guest is not accessible after MAC change of guest

Post by Perryg »

Or you can do this, edit the guests /etc/udev/rules.d/70-persistent-net.rules or you can delete the rules and Linux will configure it on the next boot
loukingjr
Volunteer
Posts: 8851
Joined: 30. Apr 2009, 09:45
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: just about all that run

Re: Linux guest is not accessible after MAC change of guest

Post by loukingjr »

I thought there must be a way to modify the guest. I just had no clue what it was. :lol:

Morning Perry. :D
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
Post Reply