new1234.jpg

Archive

Posts Tagged ‘MAC’

VMware: Easy menu to find VM network adapter by MAC address

November 1st, 2011 6 comments

Last week I need to locate some traffic from physical switches to my virtual environment.. I need to find out which MAC address belong to which virtual machine (+ adapter).. time to script this include menu

#====================================================================#
#   SCRIPT:        Find_VM_by_MAC_address_menu.ps1                   #
#   FUNCTION:      Find VM (+ adapter) by MAC address with easy menu #
#   OWNER:         Sander Daems                                      #
#   CREATED:       11/01/2011                                        #
#   MODIFIED:      11/01/2011                                        #
#   VERSION:       v.1.0                                             #
#====================================================================#
#   CHANGELOG:                                                       #
#                                                                    #
#    v.1.0                                                           #
#	 - Created script;                                               #
#                                                                    #
#====================================================================#
#   HOST - CUSTOM DEFINITIONS                                        #
#====================================================================#
Write-Host "Let's find that damn address" -foregroundcolor green
#====================================================================#
$cluster = read-host "Select Cluster name"
$macaddress = read-host "Select MAC Address to find"
#====================================================================#
#   Script                                                           #
#====================================================================#
Get-Cluster $cluster | Get-VM | Get-NetworkAdapter | Where-Object {$_.MacAddress -eq "$macaddress"} | Format-List -Property *
#====================================================================#

image

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

VMware: The MAC Address entered is not in the valid range

May 31st, 2011 3 comments

After configuring a manual MAC address on a MAC based license server I received a error message:

The MAC Address entered is not in the valid range. Valid values are between 00:50:56:00:00:00 and 00:50:56:3F:FF:FF:FF

Error message:

image

 

Solution:

Without additional setting in the .VMX config file you won’t be able to assign a static MAC address in the range your require. To disable mac address checking before boot add the following line in the .VMX file.

ethernetX.checkMACAddress = “false”

 

image

 

Re-upload the .VMX config to the datastore and add the virtual machine to the inventory:

image

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , , , ,

VMware: Change MAC address in .VMX with “Virtual Mac Tool”

September 8th, 2010 2 comments

After installing a new VMXNET3 network card my HP MAC based license server didn’t function anymore. To change the MAC address in the VMX file I used a very nice tool, called: Virtual MAC Tool created by Richard Garsthagen.

How to:

– Turn off your VM;
– Open Virtual MAC Tool;
– Connect your ESX host or VC;

image

– Select the VM and vNIC/Network you want to change the MAC address

image

Read more…

sanderdaems

Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me:
TwitterLinkedIn

Categories: VMware Tags: , ,