VMware vSphere

 View Only
  • 1.  Fix Wrong Source Interface for Wake on Lan Packets

    Posted Sep 25, 2016 02:51 AM

    In my lab setup I am using two ESXi 6 hosts and the VCSA. I have setup VLANs for iSCSI, vMotion, and Management.

    iSCSI is using the non wake-on-lan ports and vMotion the wake-on-lan ports.

    When I place an ESXi host on standby this functions normally. When I select to Power On the standby host the host does not power on.

    I captured packets on the network and discovered that the active ESXi host is sending the Wake-On-Lan packets from the iSCSI interface. So the wake up fails because the iSCSI VLAN does not connect to any ports of the standby host which are capable of wake-on-lan. Also the MAC addresses for the wakeup packets are not on the iSCSI VLAN; they are on the vMotion and Management VLANs.

    Is it possible to fix this behavior and force the active ESXi host to send the wake up packet out the vMotion or Management interface so the packets will reach a wake-on-lan port of the standby host?



  • 2.  RE: Fix Wrong Source Interface for Wake on Lan Packets

    Posted Sep 26, 2016 07:06 AM

    Did you try to play with the CLI?

    esxcli network nic list

    esxcli network nic get -n <NICname>    <--- Here you can find WOL settings etc..

    esxcli network nic get -n <NICname> -w=<option.            <---- -w = WLAN option


    regards

    richard



  • 3.  RE: Fix Wrong Source Interface for Wake on Lan Packets

    Posted Sep 28, 2016 03:45 PM

    Yes, these commands show that

    Supports Wakeon: true and

    Wakeon: MagicPacket(tm)

    The host will wakeup with Wakeup packets sent from outside of vSphere.

    When I finally got this to work; I found that I needed to ensure that the vmk1 interface was poised to perform Wakeup to other hosts because ESXi insists to only use the vmk1 interface for Wakeup. I just ensure that vmk1 has native vlan access to at least one Wake On Lan enabled port of the other host.

    Other information that I have read implies that the vMotion interface will always be the source of Wakeup packets but this was not the case in my environment.