Solved

NAT or host-only with ESXi 5

Posted on 2013-05-18
5
2,459 Views
Last Modified: 2013-05-27
I want to setup an isolated test environment using NAT or host-only on ESXi 5. This test environment has 3 VM guests which connected to separate VSwitch, Static IP Configuration & hostname same as production servers (clone P2V). use of VSphere Client is slow and problem files transfer from production server to isolated VM guest. Is there a better way to do this?
0
Comment
Question by:ethanwong
5 Comments
 
LVL 15

Expert Comment

by:Skyler Kincaid
ID: 39178047
The best way to do this would be to get a laptop and setup a completely separate network just for testing.

Give it a subnet that is not the same as your production environment and plug your host and your laptop into the same switch. Change the IP on your laptop to be on the same subnet as your host and connect through VSphere.

If you put P2V of servers on the same subnet as the actual servers you are asking for all kinds of problems.
0
 

Author Comment

by:ethanwong
ID: 39178197
is better not to change IP, because of application customization, all its linked.
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 39178222
There is no Host only or NAT with ESXi.

You can define a vSwitch with no network interface uplinks to create a private or isolated switch.

You can transfer files to this environment using:-

1. floppy images
2. cdrom iso
3. USB device attached to VM

see my EE Article

HOW TO: Add and Connect a USB Device to a Virtual Machine, hosted on VMware vSphere Hypervisor ESX 4.1 ESXi 4.1, ESXi 5.0

This is how we use our isolated networks, and we use a Clone our our Environment to test patches in this way.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 250 total points
ID: 39179807
Concur with @hanccocka here - create a new vSwitch on your Host under Configuration tab > Networking. Create a new VM Network Port Group and assign your VMs this 'isolated' VM Network in the new vSwitch (rt-click on each VM > Edit Settings > Hardware tab > Ethernet Adapter, then in the drop-down on the right select your new VM Network). Suggestion: When creating your new, isolated VM Network...give it a custom name (as opposed to just VM Network) so you can differentiate it from your other Networks.

Now, again as mentioned above, when you create your new vSwitch, do NOT assign a vmnic (i.e. physical [Host] nic) to this vSwitch...in other words, no uplinks). That will keep this environment isolated as you want it. Also, keep in mind, you won't have internet connectivity from the VMs in your isolated environment.

Regards,
~coolsport00
0
 

Author Comment

by:ethanwong
ID: 39195968
Below link is regarding USB device passthrough requirements and limitations, as well as steps to add a USB controller and a USB device. I tried to hook up my USB device portable HDD (NTFS format), not appear in vSphere Client, until realize that only work for FAT32 and ext32 format.

http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=1022290
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question