Routing between networks

Discussions related to using VirtualBox on Windows hosts.
Post Reply
marius_1956
Posts: 63
Joined: 4. Jun 2008, 14:10
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Windows Server

Routing between networks

Post by marius_1956 »

I use Virtualbox on a Windows 10 host.
I need to create 2 different networks (a bridged network and an internal network), to assign different IP addresses and to let VMs on each netwotk communicate to each other.
Is there any routing function in Virtualbox?
As an alternate solution, what routing VM as light and as simple to manage as possible can I implement to connect both networks?
Is there a pre-confngured VM I can download or a manual to set up my light routing VM?
Regards
marius
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Routing between networks

Post by scottgus1 »

BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Routing between networks

Post by BillG »

There is no built-in routing in VirtualBox, just as there is no built-in routing in a PC. It is all done by routing software running under the installed OS in both cases. Routers do not care whether you networks are physical or virtual, or whether the devices are PCs, vms, streaming devices or refrigerators. All they care about is a device's IP config.

I have been emulating physical networking schemes on vms for more years than I care to remember and have never found a case where an all-virtual or mixed network behaved differently to an all-physical setup. Internal and bridged networks work just like physical ones as far as routing is concerned.
Bill
Post Reply