VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Allgemeine Diskussionen über den Einsatz von VirtualBox.
Post Reply
Donkephant
Posts: 1
Joined: 20. Jan 2024, 19:51

VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by Donkephant »

Hallo Community,

ich konnte dieses Phänomen nicht in Google und nicht hier im Forum finden.
Ich betreibe auf einem Windows 11 Mini-PC über VirtualBox eine VM als HomeAssistant. Das ganze schleife ich über Netzwerkbrücke und LAN. Ich kann HA aufrufen und bedienen über Smartphone und Desktop-PC. Das ganze geht jedoch nur über WLAN. Verbinde ich mich mit dem Desktop-PC/Laptop etc. über LAN mit meinem Heimnetzwerk, dann kann ich normal surfen, nur auf HA kann ich nicht zugreifen. Da verbindet er einfach nicht. Wechsle ich das Netzwerk auf WLAN um, geht es auf einmal die Oberfläche von HA aufzurufen, obwohl die IP-Adresse/Link etc. ja nicht verändert wurde in dem Moment.
Ich kann über HA auch keine IP Kameras einrichten, finden etc. Vermutlich hängt das damit zusammen. Es kommt mir gerade so vor, dass alles was über LAN am Netzwerk hängt kategorisch ausgeschlossen wird, obwohl doch der Mini-PC selbst mit dem Heimnetzwerk am Router hängt :-D
Hat jemand von euch eine Vermutung? Vielleicht hängt es auch an der FritzBox? Übrigens lässt sich auch OpenMediaVault als NAS nur per WLAN im Heimnetz erreichen. Nicht per LAN, welches ebenfalls über den Router geschleift wird. :-/

Ich sehe HA in der Fritzbox. Ich komme über das normale WLAN drauf. Gast WLAN betreibe ich nicht.
Ich habe aber folgendes Phänomen entdeckt:
Ich steuere über LAN1 der Fritzbox einen Switch an. An diesem hängt auch der Mini-PC, sowie mein Desktop-PC und alle andere LAN Geräte/Dosen im Haus.
Nun habe ich herausgefunden, dass wenn ich mit LAN direkt auf die Fritzbox gehe z.B: LAN2 (ohne über den Switch), dann kann ich HA aufrufen. Ich weiß zwar nicht warum, aber vermutlich ist nicht VirtualBox das Problem, sondern irgendwie das Netzwerk?

Viele Grüße
Daniel
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by scottgus1 »

Please report IP addresses and "ping 8.8.8.8" seen inside the VM and on the host when on LAN and when on Wi-Fi.
Thiagoros
Posts: 2
Joined: 19. Jan 2024, 18:16

Re: VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by Thiagoros »

scottgus1 wrote: 21. Jan 2024, 00:52 Please report IP addresses and "ping 8.8.8.8" seen inside the VM and on the host when on LAN and when on Wi-Fi.
Why report?I don't understand .
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by scottgus1 »

Thiagoros wrote: 24. Jan 2024, 10:42 Why report?I don't understand .
The OP's network changes, and the VM stops having connection. So it's possible that differences in the network setups can cause this problem. Seeing the IP addresses may show what differences are happening.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by scottgus1 »

scottgus1 wrote: 21. Jan 2024, 00:52 Please report IP addresses and "ping 8.8.8.8" seen inside the VM and on the host when on LAN and when on Wi-Fi.
Please do the following twice, once when the VM is on LAN and once when the VM is on Wi-Fi:
  1. Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. Zip the VM's .vbox file (not the .vbox-prev file), and post the zip file, using the forum's Attachments tab. (Configure your host OS to show all extensions if the folder that opens does not show a .vbox file.)
     
  2. Start the VM from full normal shutdown, not save-state.
     
  3. In both host and VM OS's, run the correct command from the following in the Command Prompt or Terminal:

    Windows:
    ipconfig /all
    route print

    Linux:
    ifconfig or ip address
    route -n or ip route

    Mac OS:
    ifconfig
    netstat -rn

    Post the outputs, label which is which.
     
  4. In both host and VM OS's, ping 8.8.8.8. Post the outputs, label which is which.
     
  5. Shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

    Right-click the VM in the main Virtualbox window's VM list, choose Show in Explorer/Finder/File Manager. In the "Logs" subfolder, zip the VM's "vbox.log", and post the zip file, using the forum's Attachments tab. (Configure your host OS to show all extensions so you can find the "vbox.log", not "vbox.log.1", etc.)
Thiagoros
Posts: 2
Joined: 19. Jan 2024, 18:16

Re: VM lässt sich nur per WLAN erreichen, nicht per lokalem LAN?!

Post by Thiagoros »

scottgus1 wrote: 24. Jan 2024, 14:18
Thiagoros wrote: 24. Jan 2024, 10:42 Why report?I don't understand .
The OP's network changes, and the VM stops having connection. So it's possible that differences in the network setups can cause this problem. Seeing the IP addresses may show what differences are happening.
Oh Thank you
Analyzing the IP addresses can pinpoint the differences and facilitate troubleshooting to resolve the problem effectively.
Post Reply