WoL (Wake on Lan) 테스트
Wake on Lan test
– 동일 네트워크 상에서 가능
– ethtool로 확인시 Wake-on 상태가 g 일 경우 가능
[root@test2 ~]# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: No
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: yes
– Wake-on: d 일 경우는 ethtool 명령으로 변경
[root@test2 ~]# ethtool -s eth0 wol g
테스트
– 해당 서버 셧다운
– 동일 네트워크을 다른 서버에서 ether-wake 명령으로 서버 start
ether-wake -i eth0 [MAC ADDRESS]
[root@test1 ~]# ether-wake -i eth0 00:16:EC:EA:A5:B7