Win10 and Win11 at the same time

Discussions about using Windows guests in VirtualBox.
Post Reply
hjele
Posts: 3
Joined: 22. Jun 2022, 11:49

Win10 and Win11 at the same time

Post by hjele »

Since a couple of weeks I can't run an instance of Win10 and Win11 at the same time. The second instance is not routed to the internet, when running them in bridged mode. I do not have this problems with my Linux System within the same virtualbox. Greetings -- Harald I can't attach the two log files from each instance after shutting them down. They are two big. Even when just starting and stopping the windows :-(
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Win10 and Win11 at the same time

Post by mpack »

Was the Win11 created from a clone of the Win10 VM? In any case make sure they have different MAC addresses and host names, otherwise they cannot both be on the same network at the same time.
hjele
Posts: 3
Joined: 22. Jun 2022, 11:49

Re: Win10 and Win11 at the same time

Post by hjele »

Thx for your reply
Was the Win11 created from a clone of the Win10 VM?
--> The Win11 instance is a very fresh one. Done from the MS Installation Files for Win11.

In any case make sure they have different MAC addresses and host names, otherwise they cannot both be on the same network at the same time.
--> This is clear. Of course, they are different.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Win10 and Win11 at the same time

Post by scottgus1 »

hjele wrote:I can't attach the two log files from each instance after shutting them down. They are two big.
Zipped logs almost always fit. :wink: :lol:

Let's get some data:

On the host OS, run one of these:
for Windows, open a Command Prompt and run ipconfig /all.
for Mac/Linux, open a Terminal and run ifconfig or ip address.
Post the command output.

For each VM do these:
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. Copy the VM's .vbox file (not the .vbox-prev file)to the desktop (Configure your host OS to show all extensions if the folder that opens does not show a .vbox file). Zip all the .vbox files and post the zip file, using the forum's Upload Attachment tab.

Start each VM by itself with no other VMs running. Inside the VM, run ipconfig /all. Post the command output.

Shut down the VM from within the VM's OS. Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
hjele
Posts: 3
Joined: 22. Jun 2022, 11:49

Re: Win10 and Win11 at the same time

Post by hjele »

On the host OS, run one of these:
for Windows, open a Command Prompt and run ipconfig /all.
for Mac/Linux, open a Terminal and run ifconfig or ip address.
Post the command output.
--> eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 143.205.70.64 netmask 255.255.255.0 broadcast 143.205.70.255
inet6 fe80::91e6:d638:699b:5d50 prefixlen 64 scopeid 0x20<link>
ether 6c:4b:90:e1:8b:f1 txqueuelen 1000 (Ethernet)
RX packets 1115964 bytes 1097201247 (1.0 GB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 495982 bytes 75390113 (75.3 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17 memory 0xb1300000-b1320000

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Lokale Schleife)
RX packets 12073 bytes 1140699 (1.1 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12073 bytes 1140699 (1.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

For each VM do these:
Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. Copy the VM's .vbox file (not the .vbox-prev file)to the desktop (Configure your host OS to show all extensions if the folder that opens does not show a .vbox file). Zip all the .vbox files and post the zip file, using the forum's Upload Attachment tab.
--> done

Start each VM by itself with no other VMs running. Inside the VM, run ipconfig /all. Post the command output.
--> Win10
Windows-IP-Konfiguration

Hostname . . . . . . . . . . . . : vm28-ub
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Hybrid
IP-Routing aktiviert . . . . . . : Nein
WINS-Proxy aktiviert . . . . . . : Nein
DNS-Suffixsuchliste . . . . . . . : ub.aau.at

Ethernet-Adapter Ethernet 2:

Verbindungsspezifisches DNS-Suffix: ub.aau.at
Beschreibung. . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter #2
Physische Adresse . . . . . . . . : 08-00-27-98-55-AF
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::e140:4e05:151c:fb82%6(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 143.205.70.226(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Mittwoch, 22. Juni 2022 14:41:21
Lease läuft ab. . . . . . . . . . : Donnerstag, 23. Juni 2022 00:41:25
Standardgateway . . . . . . . . . : 143.205.70.1
DHCP-Server . . . . . . . . . . . : 143.205.64.31
DHCPv6-IAID . . . . . . . . . . . : 252182567
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-1E-E6-E7-4F-08-00-27-98-55-AF
DNS-Server . . . . . . . . . . . : 143.205.64.51
143.205.64.52
Primärer WINS-Server. . . . . . . : 143.205.64.49
NetBIOS über TCP/IP . . . . . . . : Aktiviert

--> Win11
Windows-IP-Konfiguration

Hostname . . . . . . . . . . . . : vm31-ub
Primäres DNS-Suffix . . . . . . . :
Knotentyp . . . . . . . . . . . . : Hybrid
IP-Routing aktiviert . . . . . . : Nein
WINS-Proxy aktiviert . . . . . . : Nein
DNS-Suffixsuchliste . . . . . . . : ub.aau.at

Ethernet-Adapter Ethernet:

Verbindungsspezifisches DNS-Suffix: ub.aau.at
Beschreibung. . . . . . . . . . . : Intel(R) PRO/1000 MT Desktop Adapter
Physische Adresse . . . . . . . . : 08-00-27-9D-58-76
DHCP aktiviert. . . . . . . . . . : Ja
Autokonfiguration aktiviert . . . : Ja
Verbindungslokale IPv6-Adresse . : fe80::318e:ecbb:df86:65b8%14(Bevorzugt)
IPv4-Adresse . . . . . . . . . . : 143.205.70.158(Bevorzugt)
Subnetzmaske . . . . . . . . . . : 255.255.255.0
Lease erhalten. . . . . . . . . . : Mittwoch, 22. Juni 2022 14:43:48
Lease läuft ab. . . . . . . . . . : Donnerstag, 23. Juni 2022 00:43:51
Standardgateway . . . . . . . . . : 143.205.70.1
DHCP-Server . . . . . . . . . . . : 143.205.64.31
DHCPv6-IAID . . . . . . . . . . . : 101187623
DHCPv6-Client-DUID. . . . . . . . : 00-01-00-01-29-B8-FC-3F-08-00-27-9D-58-76
DNS-Server . . . . . . . . . . . : 143.205.64.51
143.205.64.52
Primärer WINS-Server. . . . . . . : 143.205.64.49
NetBIOS über TCP/IP . . . . . . . : Aktiviert

Shut down the VM from within the VM's OS. Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.
--> done
Attachments
win10_and_11_log.zip
(72.86 KiB) Downloaded 7 times
win10.zip
The .vbox file
(2.61 KiB) Downloaded 6 times
Win11.zip
The .vbox file
(2.08 KiB) Downloaded 5 times
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Win10 and Win11 at the same time

Post by BillG »

Everything looks fine. I have no idea why this would happen. If it was a VirtualBox problem, it would happen at a lower level. In your case, the vms can access the local network and get their network config from the DHCP server. This indicates that the VirtualBox bridge software is working as expected.

If you run either vm by itself, does it work OK? What I want to know is whether the problem is with a particular vm, or whether the problem only arises when you have both vms running.

Some corporate and academic networks have checks to limit unknown devices, but these also usually operate at a lower level, as VirtualBox does. I am not aware of any that would allow a device to obtain its config from DHCP but then block some or all of the traffic to or from it.
Bill
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Win10 and Win11 at the same time

Post by fth0 »

I also didn't see anything wrong in the information provided so far. The Klagenfurt university seems to have a segmented network, with the DHCP and DNS servers in a different subnet, so the DHCP relay(s) may play a role. I'd suggest to reproduce the problem using the following strategy:

In both VM configurations, disconnect the virtual network cables. Start a Wireshark trace on eno1 on your host. Start the first VM, start a Wireshark trace in the guest and connect the virtual network cable (using the VM window's network status icon or menu). Then do the same with the second VM. Try reproducing the problem using ping 8.8.8.8 (without DNS) and ping http://www.google.at (with DNS). If you provide the Wireshark traces, I can help analyzing them.
Post Reply