Tag Archives: kernel

VMware: Set MAC Address of a kernel interface with PowerCli

Hi,

the New-VMHostNetworkAdapter offers the ability to set the MAC address while adding a new kernel interface. But this has a limitation. It always only a MAC within a range 00:50:56:00:00:00 – 00:50:56:3F:FF:FF.

If you try it even though you will get an error:

New-VMHostNetworkAdapter The MAC address is invalid or is not in the valid range 00:50:56:00:00:00 - 00:50:56:3F:FF:FF.

Continue reading VMware: Set MAC Address of a kernel interface with PowerCli

ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC

Hi,


ESXi offers some extented methods to capture network packets. Here are some examples.

First of all logon to your ESXi host by ssh.

To capture all traffic on a vmkernel interface use tcpdump-uw.
List all vmkernel interfaces


~ # esxcfg-vmknic -l
Interface  
vmk0    .....   
vmk1    .....   

Continue reading ESXi: Capture Network packets on a vSwitch port or on a VM’s NIC

VMware ESXi: A (incomplete) list of host commands Part 3

Hi,

part 3 of my (incomplete) list of the esx cli.

ESXi Advanced Kernel Settings/Parameters

Get all

esxcli system settings advanced list

Set one, i.e. disable the shell respectively ssh warnings

esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1

ESXi Kernel modules

List loaded kernel modules

vmkload_mod  -l

Get a list of all enabled kernel modules

esxcfg-module -q
Continue reading VMware ESXi: A (incomplete) list of host commands Part 3