Last active
February 9, 2024 10:42
-
-
Save githubfoam/332a11a0372092fc753187e5856ba00a to your computer and use it in GitHub Desktop.
VMWare Workstation Cheat Sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------------------------- | |
#compare mac address in the network adapter settings to the one in the output of command ip addr | |
Open a terminal on your Ubuntu 20.04 virtual machine. | |
Run the ip addr command to display information about the network interfaces. | |
ip addr | |
Virtual Machine Settings - Hardware - Network Adapter - Advanced - MAC Address | |
---------------------------------------------------------------------------------------------------- | |
The global LAN Segment configuration is stored in the preferences.ini file | |
PS C:\> Get-Content "$env:APPDATA\VMware\preferences.ini" | |
LAN Segment contains two properties: a name and universally unique identifier (UUID). | |
PS C:\> Select-String -SimpleMatch 'link001' -Context 0,1 -Path "$env:APPDATA\VMware\preferences.ini" | |
> AppData\Roaming\VMware\preferences.ini:37:pref.namedPVNs0.name = "link001" | |
AppData\Roaming\VMware\preferences.ini:38:pref.namedPVNs0.pvnID = "52 00 8d cc 3f f0 d0 55-e6 c7 2a 7a 3d 1b e5 77" | |
PS C:\> Select-String -SimpleMatch 'ethernet2' -Path "$HOME\Documents\Virtual Machines\ASAv-981\ASAv-981.vmx" | % Line | |
ethernet2.present = "TRUE" | |
ethernet2.pvnID = "52 00 8d cc 3f f0 d0 55-e6 c7 2a 7a 3d 1b e5 77" | |
ethernet2.connectionType = "pvn" | |
ethernet2.wakeOnPcktRcv = "FALSE" | |
ethernet2.addressType = "generated" | |
---------------------------------------------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment