VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Jun 23, 2009 1:33 PM by cregan89  

How to Deploy to a virtual network connected to a physical network posted: Mar 23, 2009 9:01 AM

Click to view AHutton's profile Enthusiast 57 posts since
Dec 4, 2008
I working with a configuration that is set up as virtual network for its network. I want to be able to deploy it while connecting it to a physicla network, and allowing in/out trafffic. Can someone enlighten me?
Click to view jbruelasdgo's profile Master 953 posts since
Dec 22, 2004

you can publish your virtual network to the physical network, by using either a "virtual" router or a "virtual" firewall (with Linux, FreeBSD, NetBSD or NetBSD)

it does not matter if your VMware product is ESX, Workstation, Server, etc

regards

Jose

Click to view cmacmillan's profile Enthusiast 52 posts since
Nov 3, 2004

Your virtual machine's vSwitch (and subsequent port group) must be connected to a physical NIC in an ESX/ESXi environment. The virtual network (in a GSX/VMware Server environment) attached to your virtual machine's virtual NIC must likewise be associated with a physical NIC and/or VLAN.

From that point on, you'll need compatible network protocols and gateways configured on the virtual machine(s) to interconnect with the physical network - perhaps a physical (or virtual) firewall would allow NAT to substitute in place of changing your virtual network settings...

--Collin C. MacMillan
SOLORI - Solution Oriented, LLC

Click to view cregan89's profile Novice 12 posts since
Jun 3, 2009

I am actually looking to do this as well. From the web interface, I click on "Connect Virtual Networks to Physical Networks" and then click on "Connectivity - Allow In and Out".

ConfigurationDeploy does not have any options to do this. I am pretty sure it can be done through ConfigurationDeployEx through the "BridgeNetworkOptions" class but I haven't been able to get it to work. Does anybody have any sample code using the ConfigurationDeployEx method? Any sample code at all would be a huge help.

Developer Social Media

Communities