Du hast da eine wichtige Zeile geflissentlich unterschlagen
Bridged Network unter Virtualbox an eth0 funktioniert nur, wenn ich ein Kabel an eth0 habe.
Re: Bridged Network unter Virtualbox an eth0 funktioniert nur, wenn ich ein Kabel an eth0 habe.
Re: Bridged Network unter Virtualbox an eth0 funktioniert nur, wenn ich ein Kabel an eth0 habe.
Ist das Interface ohne Kabel "down"? Wie ist die Ausgabe ohne Kabel:weedy hat geschrieben:17.01.2020 16:32:02Genau so ist das. Nur, dass es eben nicht funktioniert, wenn an eth0 kein Kabel mit mindestens einem Switch dranhängt.
Code: Alles auswählen
ip a
Re: Bridged Network unter Virtualbox an eth0 funktioniert nur, wenn ich ein Kabel an eth0 habe.
Sehr wahrscheinlich, aber ich wollte es noch ein wenig spannend machen.TomL hat geschrieben:17.01.2020 16:53:29Ist das Interface ohne Kabel "down"? Wie ist die Ausgabe ohne Kabel:
Vermutlich steht in der interfaces
Code: Alles auswählen
allow-hotplug eth0
Re: Bridged Network unter Virtualbox an eth0 funktioniert nur, wenn ich ein Kabel an eth0 habe.
Ist es nicht logisch, wenn der Host sein Kabel vermisst, das er das dann auch an den Guest mitteilt (via vboxdrv.sh o-Ä.) ????Bridged networking. This is for more advanced networking needs, such as network simulations and running servers in a guest. When enabled, Oracle VM VirtualBox connects to one of your installed network cards and exchanges network packets directly, circumventing your host operating system's network stack.
Code: Alles auswählen
vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2020-01-17 07:28:08 CET; 11h ago
Process: 1153 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=0/SUCCESS)
Nachzulesen:6.7. Host-Only Networking
Host-only networking can be thought of as a hybrid between the bridged and internal networking modes. As with bridged networking, the virtual machines can talk to each other and the host as if they were connected through a physical Ethernet switch. As with internal networking, a physical networking interface need not be present, and the virtual machines cannot talk to the world outside the host since they are not connected to a physical networking interface.
When host-only networking is used, Oracle VM VirtualBox creates a new software interface on the host which then appears next to your existing network interfaces. In other words, whereas with bridged networking an existing physical interface is used to attach virtual machines to, with host-only networking a new loopback interface is created on the host. And whereas with internal networking, the traffic between the virtual machines cannot be seen, the traffic on the loopback interface on the host can be intercepted.
https://www.virtualbox.org/manual/ch06. ... k_internal