VirtualBox

15 年 前 建立

10 年 前 結束

#7505 closed defect (obsolete)

ifdown eth1 required before reboot or shutdown or else subsequent boot hangs at eth1 configuration

回報者: Gilbert Standen 負責人:
元件: network 版本: VirtualBox 3.2.8
關鍵字: 副本:
Guest type: Linux Host type: Linux

描述 (由 Frank Mehnert 作最後更新)

VirtualBox version 3.2.8 r64453 running on Ubuntu 9.10 32-bit host, problem occurs when running a CentOS 4.1 (Final) virtual guest.

If you run only one virtual network adapter, specifically a NAT'd adapter, dhcp, startup is fine. But if you try to add a second adapter, specifically, a Host-Only adapater, dhcp (or static), boot will usually hang when the OS tries to configure eth1 (the Host-Only adapter).

I found that the only workaround was to remember to do an "ifdown eth1" (the host-only adapter) before each reboot or shutdown of the CentOS vm. If you do a manual"ifdown eth1" then the reboot is consistently successful, and both eth0 (NAT) and eth1 (Host-Only) are successfully configured at boot and bootup is successful every time (I have tested over 10x boots so far completely successful as long as "ifdown eth1" is executed before shutdown). Thanks

更動歷史 (2)

comment:1 14 年 前Aleksey Ilyushin 編輯

It looks like the guest OS tries to obtain IP address for eth1 via DHCP. It should still come up when timeout in dhcp client expires. You can configure internal DHCP server for the host-only adapter in File->Preferences->Network. Select the interface and click the 'edit' (screwdriver) button, then select 'DHCP Server' tab.

comment:2 10 年 前Frank Mehnert 編輯

描述: 修改 (差異)
狀態: newclosed
處理結果: obsolete
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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