VirtualBox

16 年 前 建立

16 年 前 結束

#3618 closed defect (worksforme)

Interface on second guest don't work after reboot

回報者: mocas 負責人:
元件: network/hostif 版本: VirtualBox 2.1.4
關鍵字: 副本:
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 10.53.1.72 netmask 255.255.255.0

Thanks

更動歷史 (2)

comment:1 16 年 前mocas 編輯

ups,

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 16 年 前Frank Mehnert 編輯

狀態: newclosed
處理結果: 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.

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette