VirtualBox

2 年 前 建立

2 年 前 更新

#21447 new defect

VirtualBox 7.x + | DNS / Name resolution problem

回報者: carcap 負責人:
元件: network/NAT 版本: VirtualBox-7.0.6
關鍵字: DNS, NAT, Name resolution 副本:
Guest type: Linux Host type: Windows

描述

When trying to install a VM with Linux as guest OS under VirtualBox 7.x, the installation fails at the name resolution of the online repo. This was tested with Debian and Arch Linux. The installation gives an error at the moment when the name resolution to the repo is needed. To exclude an error in the images, Debian was installed from a full image, for this no online repo is necessary during the installation. In the freshly started OS, however, the error of the non-existent name resolution occurs again, SSH via port forwarding does not work either. A ping to "google.de" is unsuccessful. A ping to "8.8.8.8", is successful. During the installation all default values of the installer were taken over.

When performing the same installations on VirtualBox 6.1.42, this error does not occur and the name resolution works, likewise SSH works without problems.

Host: Windows 10 Pro 22H2

Guest: Debian Stable Bullseye 11.6.0 (Kernel 5.10) Arch Linux Rolling (Kernel 6.1)

附加檔案 (6)

resolve_error-7_0_6.jpg (50.9 KB ) - 2 年 前, 由 carcap 新增
install_error-7_0_6.jpg (77.7 KB ) - 2 年 前, 由 carcap 新增
resolv_conf_6_1_42.jpg (79.6 KB ) - 2 年 前, 由 carcap 新增
resolv_conf_7_0_6.jpg (41.4 KB ) - 2 年 前, 由 carcap 新增
VBox_6_1_42.log (105.5 KB ) - 2 年 前, 由 carcap 新增
VBox_7_0_6.log (246.2 KB ) - 2 年 前, 由 carcap 新增

下載所有附檔: .zip

更動歷史 (11)

2 年 前carcap 編輯

2 年 前carcap 編輯

2 年 前carcap 編輯

附檔: 新增 resolv_conf_6_1_42.jpg

2 年 前carcap 編輯

附檔: 新增 resolv_conf_7_0_6.jpg

2 年 前carcap 編輯

附檔: 新增 VBox_6_1_42.log

2 年 前carcap 編輯

附檔: 新增 VBox_7_0_6.log

comment:1 2 年 前fth0 編輯

In the VM's configuration, you've chosen the PCnet-FAST III (Am79C973) virtual network adapter. You could try if using the Intel PRO/1000 MT Desktop (82540EM) virtual network adapter makes a difference.

comment:2 2 年 前carcap 編輯

This is at most a workaround, but not a final solution. The FastEthernet-NIC from AMD is in the list, so it should work in the new VB version. It is also in VB 6.1.42. I use this NIC to limit the machines to 100 Mbit/s without making complex settings on the OS. So it is a quite reasonable scenario to use this NIC.

comment:3 2 年 前fth0 編輯

Above all, this is a test if the issue somehow depends on the virtual networking hardware.

I use this NIC to limit the machines to 100 Mbit/s

How are you doing this? I'm asking because in my company setup with 850 Mbit/s, with the virtual Intel NIC I get > 350 MBit/s, and with the virtual PCnet NIC I get > 250 Mbit/s. And AFAIK, VirtualBox does not limit the bandwidth downstream at all.

comment:4 2 年 前carcap 編輯

The "AMD PCNet FAST III (Am79C973)" is physically a FastEthernet-NIC (max. 100Mbit/s) https://www.amd.com/system/files/TechDocs/21510.pdf and as such it is emulated, this NIC is set on my machines and I have exactly max. 100Mbit/s (12,5MB/s) on every machine with this NIC. The hardware in the backend can't be the reason, because machines with the emulated Intel-1000-NIC get higher speeds (up to 1Gbit/s).

comment:5 2 年 前fth0 編輯

VirtualBox also cannot be the reason IMO.

Perhaps your guest OS thinks to know that the NIC is limited to 100 Mbit/s and limits the traffic itself. I'm using Kali Linux (Debian) without any special configuration, BTW.

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

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