Ticket #3618 (closed defect: worksforme)

Opened 9 years ago

Last modified 9 years ago

Interface on second guest don't work after reboot

Reported by: mocas Owned by:
Priority: major Component: network/hostif
Version: VirtualBox 2.1.4 Keywords:
Cc: Guest type: Linux
Host type: Linux


Host: Centos 5; Guest: Fedora10

After start second guest, the first is all ok but on second the interface only work after remove the module and load it again. For example with Am79C973:

#rmmod pcnet32 #modprobe pcnet32 #ifconfig eth1 netmask


Change History

comment:1 Changed 9 years ago by mocas


I don't know why but it configure the interface to eth1 instead eth0. I rename and modify the network-script to eth1 and it works on second guest.

Sorry and thanks.

comment:2 Changed 9 years ago by frank

  • Status changed from new to closed
  • Resolution set to worksforme

The reason for configuring the interface to eth1 instead to eth0 is that the udev daemon of the guest remembered an older MAC address. If you clone a VM image, change the UUID and create a new VM with the cloned image attached, the virtual MAC address will change with the result that the guest will assign a new network interface to that MAC address. You can patch the appropriate udev rule to prevent that.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use