Solved

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

Posted on 2014-03-26
2
543 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware lost connectivity to datastore 15 952
Server 2012 R2 Hyper 12 42
Unable to clone a Live VM in vCenter 6.x 9 42
Keeping 2  Windows 2012 R2 servers  in Sync 4 41
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

733 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