3 virtual machines on win7 host advanced networking

Discussions related to using VirtualBox on Windows hosts.
Post Reply
georgeberz
Posts: 6
Joined: 29. Nov 2012, 20:49

3 virtual machines on win7 host advanced networking

Post by georgeberz »

2 virtual machines on win7 host advanced networking

Host is a win7 dual core with 8 gigs ram with windows7 home premium

I've set up 2 virtualbox clients with win7 professional and they are working

I need to have the 2 virtualbox cleints running

I have 3 dsl lines connected to 3 routers 2 have the dhcp turned off the dhcp connection I want for the desktop host

the other routers I want to be able to use static ip addresses to connect to the virtualbox clients

ie host ip is
192.168.0.2 with a gateway of 192.168.0.1

the virtualbox clients I want to config to

192.168.1.2 to gateway 192.168.1.1 subnet 255.255.255.0
192.168.2.2 to gateway 192.168.2.1 subnet 255.255.255.0

So each has their own DSLl line and outside IP address

Here is a screen shot of the client current configuration, also they both are identical to this same mac address and ip etc... what is the best way to configure this so I can do what I want? How do I change the IP's etc to make it do what I need it to do...?

Thank you
Attachments
Win7 [Running] - Oracle VM VirtualBox_2012-12-01_10-52-12.jpg
Win7 [Running] - Oracle VM VirtualBox_2012-12-01_10-52-12.jpg (39.69 KiB) Viewed 898 times
georgeberz
Posts: 6
Joined: 29. Nov 2012, 20:49

Re: 3 virtual machines on win7 host advanced networking

Post by georgeberz »

Clarification?
I guess what Im looking for is a way to config all the virtualboxes as totally independant except that I want them to use the existing network port in the laptop as a hub to be able to get out to the individual routers and dsl lines.
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: 3 virtual machines on win7 host advanced networking

Post by BillG »

You can't really have the vms on separate networks if they are all connecting through the same NIC in the host. You can have the vm and the host use the same NIC, but only if they are in the same network/subnet. Or you can dedicate a NIC to just the host or to just the vms.

You would need to have three NICs in the host and dedicate one to the host and one to each of the vms. You control what system can use what NIC through the network settings in the host OS.
Bill
georgeberz
Posts: 6
Joined: 29. Nov 2012, 20:49

Re: 3 virtual machines on win7 host advanced networking

Post by georgeberz »

The solution I just made is...

3 DSL lines w/3 routers

Router1 192.168.1.1
Router2 192.168.1.2
Router3 192.168.1.3

Host computer set to 192.168.1.11 subnet 255.255.255.0 gateway 192.168.1.1

virtualbox clients
Set network to bridge mode
ipv4 on network sharing page in client
user2 192.168.1.12 subnet 255.255.255.0 gateway 192.168.1.2 and manually config DNS servers 68.94.156.1
user3 192.168.1.13 subnet 255.255.255.0 gateway 192.168.1.3 and manually config DNS servers 68.94.156.1

This is keeping networks separate enough for now, thank you

Im trying to build back up my old high speed MASSIVE DSL netowrk I had 2 racks of these as in the picture for 48 dsl lines to one computer :) Im getting the hang of this virtualization thing :)

George
Attachments
DSC00088.JPG
DSC00088.JPG (83.86 KiB) Viewed 884 times
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: 3 virtual machines on win7 host advanced networking

Post by BillG »

Right. Once you realise that virtual networks work just like physical ones, it all gets easier!
Bill
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: 3 virtual machines on win7 host advanced networking

Post by noteirak »

oh lord @ the picture
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply