Zend certified PHP/Magento developer

How to test WakeOnLan with a direct ethernet connection Computer A Computer B?

I’m trying to make WOL work between 2 computers in the same local network, but it currently does not work.

In order to debug the situation and avoid potential problems with the router discarding the WOL “magic packets”, I’d like to temporarily test a direct ethernet cable connection between:

  • Computer A running Windows 7
  • Computer B off, to be waked

Since Computer B is off, it has no IP. (Even adding DHCPd server on Computer A wouldn’t change anything about this).

I did this configuration on Computer A’s ethernet card settings (I chose 192.168.2.1 because 192.168.1.1 is already taken by the other network card: WiFi)

enter image description here

I then tried this on Computer A but it doesn’t work:

enter image description here

Questions:

1) Since Computer B is off, it has no IP, which IP should I fill in Computer A’s “WakeOnLan Magic Packet” tool?

2) More generally, how to make WakeOnLan work with a direct ethernet cable connection (without any router; as said previously I want to do this to debug WOL)?