LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2005, 07:12 AM   #1
akbar14
LQ Newbie
 
Registered: Feb 2005
Distribution: Debian GNU/Linux 'sarge', Ubuntu 'breezy'
Posts: 16

Rep: Reputation: 0
Question etherwake over a network switch?


greetings everyone,

i was wondering if anyone who's had a bit of experience with the etherwake program or something similar can answer this simple query for me:

can Wake-on-LAN (WOL) 'magic packets' be effective when sent over a network switch?


elaboration:

i have a debian sarge machine (A) running as one node of a simple home network. the etherwake package is installed on this machine, and used to send a WOL packet to another machine (B) on the same network, passing through a simple 5-port switch.

machine B has Wake-on-LAN enabled and is 'soft-powered-up' (i.e. one can see a light on the motherboard). when A sends a WOL packet to B's hardware ethernet address, no errors are reported. however, B never 'wakes'. if my recollection is correct, when the two machines were connected directly (port to port, without a switch) in the past, B would 'wake up' instantly -- unfortunately this setup cannot be replicated anymore.

any ideas?
 
Old 03-23-2005, 04:32 PM   #2
SirGertrude
Member
 
Registered: May 2004
Location: Missouri
Distribution: Gentoo
Posts: 59

Rep: Reputation: 15
Make sure you are sending the WOL packet to the network broadcast address rather than the specific machines IP address. ex: 192.168.1.255 instaid of 192.168.1.2. When you send a WOL packet from machine A, it issues an ARP request to find the MAC address of the host it will send te packet to. Since the destination machine is not on to respond to the ARP request, machine A will not know what destination MAC address to include in the header of the IP packet. By using the network broadcast address, the packet will be broadcast to the destination network with a broadcast MAC address. Therefore all machines on the network will see it, however, only the machine who sees its own MAC address in the packet will act on it (wake up).

Hope this helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bridge and network switch ToothlessRebel Linux - Networking 5 01-07-2005 03:03 AM
Switch Network rmartine Linux - Networking 1 11-13-2004 08:18 AM
Network problem with switch glenismyname Linux - Networking 4 06-25-2004 03:26 PM
Is this a good network Switch? sandboy6184 Linux - Hardware 1 04-09-2004 07:06 AM
does it mater what network switch i use matt_w_lambert Linux - Hardware 1 02-20-2004 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration