Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to quickly test multiple port groups on a new ESXi 5.0 host

Posted on 2014-03-26
2
Medium Priority
?
557 Views
Last Modified: 2014-04-06
Hey folks,

I just added a new host running ESXi 5 update 1 to a new cluster. This particular cluster isn't using distributed switches and it contains a bunch of VM Network port groups. In the past I had to create a test VM and manually test network communication, then manually change the network on the vmmic and test again by going into the VM network settings, changing IP information, and run some tests.

My question is this - Is there a tool that exist that makes this process less painful? It can be GUI or script.

Thanks.

KJ
0
Comment
Question by:kj_syence
2 Comments
 
LVL 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 1500 total points
ID: 39956686
There is not really a tool, but you could write a script using PowerCLI, that changes the Virtual Machine Portgroup the VM is connected to, and then use ping...

$OldNet = "VM Network1"
$NewNet = "VM Network1"

Open in new window


Get-VM |Get-NetworkAdapter |Where {$_.NetworkName -eq $OldNet } |Set-NetworkAdapter -NetworkName $NewNet -Confirm:$false

Open in new window

0

Featured Post

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

886 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