現象
Description:
IT group needs to use application that utilized Wake-On-Lan (WOL) technology (directed broadcast) to administer PCs that are turned off or need to be restarted without any physical intervention. The solution needs to be able to cross Layer2 boundaries (Vlans).
原因
Layer3 switch is not configured for broadcast.
解決方法
Solution:
Configure the layer-3 switch (in the topology below the 7048) with ‘ip netdirbcast’ and ‘ip helper-address’ directives.
*ip netdirbcast – enables inbound directed broadcasts into the vlan(from server to client)
** ip helper-address 2.2.2.255 9 (the IP address and UDP Port number to send the directed broadcast to.
Software used: Wake-on-LAN server - http://wol.aquilatech.com/ Wireshark – http://wireshark.org
The WOL server can be run on both PCs to confirm that the magic packet is being received. Wireshark can also be used with the filter of ‘wol’ https://wiki.wireshark.org/WakeOnLAN .
WOL uses a magic packet to that is sent to the MAC address of the PC – the PC needs to be configured for WOL. One key to look for is that the port the the PC (Device) is connected to must be active even when the connected device is powered off. The WOL service sends a special broadcast frame FF:FF:FF:FF:FF:FF – that includes the MAC address to be powered on. If the port is in a down state then the NIC of the connected device will never see the directed broadcast. If the port switch port does not have a link light when the connected device is powered off troubleshooting needs to start on the device itself – configuring WOL see this URL for some guidance: http://wol.aquilatech.com/help/troubleshooting/default.html.
Wake-on-LAN Topology
5548 Configuration:
5548p#
5548p#
vlan database
vlan 2,
exit
hostname 5548p
interface vlan 1
interface gigabitethernet1/0/35
switchport access vlan 2
!
interface gigabitethernet1/0/37
switchport mode trunk
!
5548p#
7048 Configuration:
PC-7048-1#show run
!Current Configuration:
!System Description "PowerConnect 7048, 5.0.1.3, VxWorks 6.6"
!System Software Version 5.0.1.3
!System Operational Mode "Normal"
!
configure
vlan 9
exit
hostname "PC-7048-1"
slot 1/0 5 ! PowerConnect 7048
slot 1/1 9 ! CX4 Card
slot 2/0 5 ! PowerConnect 7048
stack
member 1 5 ! PCT7048
member 2 5 ! PCT7048
exit
interface out-of-band
ip address 10.156.136.107 255.255.255.0 10.156.136.254
exit
ip routing
interface vlan 2
ip address 2.2.2.1 255.255.255.0
ip netdirbcast *
exit
interface vlan 9
ip address 9.9.9.1 255.255.255.0
ip helper-address 2.2.2.255 9 **
exit
interface Gi1/0/37
switchport mode trunk
exit
interface Gi1/0/39
switchport mode trunk
exit
!
snmp-server engineid local 800002a203d067e5dcdfa1
exit
PC-7048-1#
6248 Configuration:
PC-6248#
!Current Configuration:
!System Description "PowerConnect 6248, 3.3.11.2, VxWorks 6.5"
!System Software Version 3.3.11.2
!Cut-through mode is configured as disabled
!
configure
vlan database
vlan 9,
exit
hostname "PC-6248"
stack
member 1 2
exit
switch 1 priority 1
ip address dhcp
ip routing
interface vlan 9
routing
exit
no flowcontrol
!
interface ethernet 1/g35
switchport access vlan 9
exit
!
interface ethernet 1/g37
switchport mode trunk
switchport trunk allowed vlan add 9
exit
!
exit
PC-6248#
対象製品
PowerConnect 5548, PowerConnect 5548p, PowerConnect 6248, PowerConnect 6248P, PowerConnect 7048, PowerConnect 7048P