Create multiple LAN segments between virtual machines

Discussions related to using VirtualBox on Windows hosts.
Post Reply
zerassar
Posts: 2
Joined: 5. May 2009, 23:13
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP Pro SP2

Create multiple LAN segments between virtual machines

Post by zerassar »

Hey guys

I have been playing around with virtualisation as a part of my Networking Certificate.

What i am trying to achieve is to create 3 XP machines running Pro SP2 to help me test VPN software.
Though to do that i imagine they need to somehow be put onto seperate logical LAN's? So that they cannot see each other normally.

I also need to maintain internet connectivity for authentication reasons.

the three machines Ip are currently 10.0.1.1, 10.0.2.1, 10.0.3.1 and the gateway+DNS is set to the router which is 10.0.0.138.
I try to fiddle with the subnet mask of 255.255.255.0 through to 255.0.0.0 but the whole time the three machines could still communicate with each other with a ssimple ping.

The software im wanting to use is Hamachi which as far as i know needs to connect to a login server, hence why i need the net.

Is what i am thinking about possible?
My VBOX version is 2.2.0 and i am using Bridged network on all 3.

Thanks Heaps in advance
vbox4me2
Volunteer
Posts: 5218
Joined: 21. Nov 2008, 20:27
Location: Rotterdam
Contact:

Re: Create multiple LAN segments between virtual machines

Post by vbox4me2 »

zerassar wrote:the three machines Ip are currently 10.0.1.1, 10.0.2.1, 10.0.3.1 and the gateway+DNS is set to the router which is 10.0.0.138.
I try to fiddle with the subnet mask of 255.255.255.0 through to 255.0.0.0 but the whole time the three machines could still communicate with each other with a ssimple ping.
Thats the purpose of a router, to route.
zerassar
Posts: 2
Joined: 5. May 2009, 23:13
Primary OS: MS Windows Vista
VBox Version: OSE other
Guest OSses: XP Pro SP2

Re: Create multiple LAN segments between virtual machines

Post by zerassar »

I am not a moron i do know that.

A constructive reply would have been preferable.

But i would like each client to be invisible to the others. Some kind of router programming i imagine would be involved?

I have been reading up on VLAN's but would not know if that is possible with Virtual machines.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Create multiple LAN segments between virtual machines

Post by Perryg »

Yes it is possible. The only thing that I can see that you need to do is get your routing statements right and use VLAN. After you get this working the rest will work as well including the software that you are wanting to use.
Post Reply