Linux clients and Internal Networks

Discussions about using Linux guests in VirtualBox.

Linux clients and Internal Networks

Postby marius_1956 » 22. Jun 2022, 18:04

I apologize for the very basic question.
In my Virtualbox hosted by a Windows 10 box I have an "Internal Network" with a VM based on OpenWrt acting as a gateway and a Windows Server 2019 VM acting as a Domain Controller and DHCP server.
If I install Windows guest VMs in the Internal Network they get an IPv4 address and the default gateway from the DHCP server and navigate with no problem.
If I try to install a Linux box (either Lubuntu and Fedora) in the same "Internal Network" the guest OS does not get any IPv4 address and cannot navigate.
I attempted to assign a manual IP address with no success.
Is ther any specific setting I must apply to the VMs o to the guest OS?
If I connect the same VMs to the NAT they get an IPv4 address from my home router and they navigate withaout any problem...
How can I solve this issue?
Regards
marius_1956
 
Posts: 52
Joined: 4. Jun 2008, 14:10
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Server

Re: Linux clients and Internal Networks

Postby scottgus1 » 22. Jun 2022, 19:05

Please see Virtualbox Networks: In Pictures: Internal Network

There are no special settings that I know of which would prevent a Linux VM from connecting to a Windows domain controller while allowing Windows VMs to connect. I lean towards something in the Linux OS that needs to be told that the network has a (Windows) domain controller on it and act accordingly. What that something is, we'll need for a Linux guru to weigh in on.

FWIW, the Pictures tutorial also has a "Sandbox" section, which covers making a Windows DC on an Internal network, with Windows clients (I didn't try Linux clients, though.)
scottgus1
Site Moderator
 
Posts: 16120
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Linux clients and Internal Networks

Postby marius_1956 » 22. Jun 2022, 19:10

Many thanks for the answer.
I hope that some Linux guru will help...
Regards
marius_1956
 
Posts: 52
Joined: 4. Jun 2008, 14:10
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Server

Re: Linux clients and Internal Networks

Postby fth0 » 22. Jun 2022, 23:59

Please start the Linux VM, run ip a and ip r in a terminal, shut down the VM from within the Linux guest OS, and provide the (zipped) VBox.log file from this VM run.
fth0
Volunteer
 
Posts: 3667
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...

Re: Linux clients and Internal Networks

Postby marius_1956 » 26. Jun 2022, 16:21

To make things simpler I created a new VM "Lubuntu_199" to install Lubuntu.
The VM is confngured to connect to a local network "Lab001".
On the same local network there are an OpenWrt router and a Windows Server 2019 server acting as DC and DHCP server.
I connected my Lubuntu VM to the Lubuntu .iso file and started it.
If I connect the same VM to the NAT network it gets an IP address from my home DHCP server.
After starting my new Lubuntu VM I get a message saying that the network connection is disconnected.
I include the log file, after removing personal information.
Regards
Attachments
VBox.zip
(30.32 KiB) Downloaded 2 times
marius_1956
 
Posts: 52
Joined: 4. Jun 2008, 14:10
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Server

Re: Linux clients and Internal Networks

Postby fth0 » 26. Jun 2022, 19:51

The VBox.log file doesn't indicate any configuration problem to me. The Linux guest has sent 81 frames and received 0. I'd suggest to use the aforementioned ip commands on the Linux guest and Wireshark traces on all nodes to analyze what really happens.
fth0
Volunteer
 
Posts: 3667
Joined: 14. Feb 2019, 03:06
Location: Germany
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 13 guests