N5ken's technical blog

Just another WordPress.com site

Isolate your test environment in VM Desktop from the intranet of your company

Due to the increasing number of hosts and devises we are using now in our company, so it’s more easier to cause IP conflict than ever, to avoid affecting the test result, it’s better to separate our network from intranet.

Summary:
It’s a huge benefit for using the virtual network, on the one hand, it saving the precious IP address, on the other hand, the virtual network is more stable for the intranet, so this makes our test result more reliable! Especially in HA, federation, test automation and so on.

In the following tutorial, we will take a look at how to manage our NAT network:

1. After we finish installing the VM Workstation, we should see two more virtual network interface cards in “Network and Sharing Center”

2. The network structure:

3. So firstly, change the network connection setting of our virtual machine:

4. Secondly, restart network interface card or run “ipconfig /renew” to connect to VMnet08 (here is need to confirm that we get a C class IP address, e.g. 192.168.x.x)

5. Lastly, for testing the connectivity, we can ping each other by the host name, and our machine will send ping packages to the network 10.30.x.x and 192.168.x.x.

6. we need to be sure we are pinging the machine in VMnet 08.

7. If you are unable to connect to the internet, please check the gateway of your VM machine, it should be 192.168.133.2 normally.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: