Wake-on-LAN (WOL) has been used for years as a way for network administrators to turn on PCs remotely. It works by creating and issuing a specially formatted network packet (often referred to as a "magic" packet-typically generated via a software utility) containing a target PC's MAC address.
WOL is based on the principle that when the PC shuts down, the Network Interface Card (NIC) still receives power, and keeps listening on the network for the magic packet to arrive. This magic packet is mostly based on UDP. In this example, a utility application software will send a UDP packet on port (7) to trigger the wake-up of a remote machine.
Before starting WOL in your network verify that you run the correct codes on your FastIron products. In this example, FastIron FCX is used, but this available on any of the Brocade's routers and switches.
The configuration below is from Figure 1 above.
Router (R1) (inter-VLAN)
vlan 10 name server_vlan by port tagged ethe 1/1/10
untagged ethe 1/1/1 router-interface ve 10!
vlan 20 name user_vlan20 by port
tagged ethe 1/1/10 router-interface ve 20!
vlan 30 name user_vlan30 by port tagged ethe 1/1/10 router-interface ve 30!
!ip forward-protocol udp echointerface ve 10 ip address 192.168.10.1 255.255.255.0
ip helper-address 1 192.168.20.255
ip helper-address 2 192.168.30.255
!interface ve 20 ip address 192.168.20.1 255.255.255.0
!interface ve 30 ip address 192.168.30.1 255.255.255.0 !
vlan 10 name server_vlan by port tagged ethe 1/1/10 untagged ether 1/1/1
vlan 20 name user_vlan20 by port tagged ether 1/1/10 untagged ethe 1/1/2
vlan 30 name user_vlan30 by port tagged ethe 1/1/10 untagged ethe 1/1/3
As soon as inter-VLAN routing is configured correctly, there are only 2 commands to add so that machines on different subnets/VLANs can be woken remotly by a WOL server. By default, Brocade FastIron Router does not forward requests for UDP applications. To achieve this, enable forwarding support for a specific port (forward-protocol). Identify the port used by the application. For example, this application uses UDP packets on port 7 (echo).
The second step is to configure a helper address on the VLAN of the WOL server to be able to join the subnet of the desired clients. Specify the broadcast address of each client network to make it work. This is the only way to send a packet to a machine that is asleep. Indeed, in this situation, the PC will not be able to answer to ARP requests, since it does not own its IP at this time.
ip forward-protocol udp echo
ip helper-address 1 192.168.20.255
For complete configuration of the Brocade Products, visit www.brocade.com
Some, but not all of the content in this site provided, reviewed, approved or endorsed by Brocade and is provided solely as a convenience of our customers. All postings and use of the content on this site are subject to the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of the site. BROCADE ASSUMES NO LIABIITY WHATSOEVER, MAKES NO REPRESENTATION AND DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY, RELATING TO THE CONTENT PROVIDED HEREIN, INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, CORRECTNESS, APPROPRIATENESS OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED EXPECT AS PROVIDED IN BROCADE’S TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, THIRD PARTIES USE THIS CONTENT AT THEIR OWN RISK. Content on this site may contain or be subject to specific guidelines or limitation on use. Third parties using this content agree to abide by any limitation or guidelines and to comply with the BROCADE EXTRANET TERMS AND CONDITIONS OF USE of this site. Brocade may make changes to this content, to specifications, or product design or descriptions at any time, or may remove content at its sole discretion without notice.