Routing through different internal Networks?

This is for discussing general topics about how to use VirtualBox.
Post Reply
Albeck
Posts: 4
Joined: 1. Aug 2010, 14:50
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP,7,2003,2008R2| Linux Ubunut, OpenSuse, Astaro

Routing through different internal Networks?

Post by Albeck »

Hi,

does VBox support Routing in different intenal Networks?
For Example i Have a VM with Server 2003 Routing and Remote Access enabled with 2 NICs. 1. NIC has intenal Lan "x" to a client. 2. NIC is on internal Lan "y" also to a client. Both NICs have diferent subnetzs and the clients matching ip of the range from the NIC from the server.

So now, does VBox support this, that Client on "x" can share things with the Client on "y" through the RRAS on the Server an the two intenal Lans? It's not host only!

Thx in advice ;)
Albeck
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Routing through different internal Networks?

Post by vbox4me2 »

Nope, is not supported out of the box, you can however build a VM that routes between the 2.
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 through different internal Networks?

Post by BillG »

If you have RRAS configured as a LAN router, it should work exactly as it does on a physical machine and a physical LAN.

192.168.10.x dg 192.168.10.1
|
192.168.10.1 dg blank
RRAS
192.168.20.1 dg blank
|
192.168.20.x dg 192.168.20.1
Bill
Albeck
Posts: 4
Joined: 1. Aug 2010, 14:50
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP,7,2003,2008R2| Linux Ubunut, OpenSuse, Astaro

Re: Routing through different internal Networks?

Post by Albeck »

Nope, is not supported out of the box, you can however build a VM that routes between the 2.
The Router, in fact, is the 2003 Server with RRAS, as i said, but the two NICs from the Server have different internal LANs (not host only network!)
If you have RRAS configured as a LAN router, it should work exactly as it does on a physical machine and a physical LAN.
Will try that, need it for NAT testing, so I want to make sure, if it fails, that it is my failure and not a bug from VBox...
Thx
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Routing through different internal Networks?

Post by vbox4me2 »

If 1 VM has connection to both internal lans then add some routes for each section.
Post Reply