For When You Can't Have The Real Thing
[ start | index | login ]
start > VMware > ESXi > 6.0 > vCLI > Identify a VM by IP address

Identify a VM by IP address

Created by dave. Last edited by dave, 6 years and 133 days ago. Viewed 1,600 times. #1
[edit] [rdf]
labels
attachments
(2017-11-07)

Problem

I have an IP address which apparently belongs to a VM in my cluster, how do I figure out which VM owns this IP address?

Solution

PowerCLI:

> Connect-VIServer myserver
> get-vm | where-object -filterscript { $_.guest.nics.ipaddress -contains "172.17.16.10" }
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt