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
Solved

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

Posted on 2014-03-26
2
540 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 119

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hit router interface limit 7 37
Remote access problem to camera controller 9 37
Confirming a network firewall is blocking connections to a port 7 45
Blacked by spamhaus? 26 69
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

809 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