VMware

This Question is Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
3 Replies Last post: Oct 13, 2008 1:27 PM by efulton  

How to seperate two subnet in one configuration? posted: Oct 9, 2008 8:21 PM

Click to view randybird's profile Novice 17 posts since
Jun 24, 2008

I use Lab Manager 3.0.

I create a new configuration.

And in this configuration, I want to setup two subnet and seperate them with some methods (e.g. firewall or VLan).

But I don't know how to make them. Does anyone know about this ?

Thanks in advance.

Re: How to seperate two subnet in one configuration?

1. Oct 10, 2008 12:13 PM in response to: randybird
Click to view efulton's profile Hot Shot 123 posts since
May 17, 2007

The simplest way to do what I think you want involves virtual networks.

1) First, create two distinct virtual networks.

2) Then, create your configuration, attaching the systems as you want to either of the two virtual networks.

3) Also, importantly, have one extra machine in your configuration. Attach this machine to both networks. Configure this machine specially as a router and your firewall.

This configuration will now be a fully self-contained unit, the VM's in one network have to go through your firewall to get to the VM's in the other network.

4) For extra bonus effort, also connecting them to the outside world is moderately tricky--if you just use the virtual to physical connections, then you'll pretty effectively bypass your firewall, I would suggest yet a third network, also attached to the router/firewall. You would have to roll your own NAT solution in this case; the one built-into lab manager would connect the vms directly, which would defeat your firewall.

Or, depending on your focus, it could actually be even easier than that. If you only do step one and two, and then simply use the virtual to physical connector on both virtual networks at deploy time, you get effectively the same result, just using the layers of indirection, and the NATing and external IP addresses, that LM implements rather than your own. This would be significantly easier if you're just interested in having them segregated but the plumbing doesn't matter that much, use the above more complicated approach if they need to be isolated, or if the plumbing itself is the item of interest.

Click to view efulton's profile Hot Shot 123 posts since
May 17, 2007

ttylinux will work in theory, but I'll warn you now, it's designed to be the absolute minimum bundle it takes to make a functioning OS for testing and demonstration purposes (and also so that LM's own virtual routers have the most minimal footprint possible). You'll have to add a considerable amount to it to make it easy to work with, so it's almost easier to download a more complete linux distro, or I've seen some people use the windows routing if they're more familiar with that.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities