Wake-on-Lan on L3 switch

Created Oct 27, 2012 01:28:16Latest reply Jun 20, 2016 18:51:41 16601 9 0 0

Hi,

It seems that Wake-on-Lan function ( or PME Power Management Events ) using subnet-directed broadcast IP address of VLAN doesn't work ons switches.

ip forward-broadcast doesn't help and udp helper is not useful in that case.

Please consider improving on that in further releases of VRP, couse its realy significant flaw in enterprise network, considering all those "green" energy-saving features PCs are full of.

 

Regards, Peter Laniec

 

  • x
  • convention:

JUNOS     Created Nov 14, 2012 14:00:36 Helpful(0) Helpful(0)

Dear Peter Laniec,

Thanks for your kind reply and I’m sure I didn’t take the wrong way.

The example you posted above, I believe, is the proof which indicates Cisco has such configuration support of directed-broadcast for “magic packets”. And what the fact I’m trying to tell you is, Huawei’s small box-shaped switches (i.e. S5700 serires) and routers have such support of directed-broadcast , rather than the chassis switches, as you mentioned, the S9300 switch. So I suggest you may contact the nearest PTS (presale technical sales) for purchasing new equipments or you can tell them your needs, and find out if they can add such support in future software release in S9300.


  • x
  • convention:

JUNOS     Created Nov 14, 2012 14:02:06 Helpful(0) Helpful(0)

Dear Peter Laniec,

Thanks for your kind reply and I’m sure I didn’t take the wrong way.

The example you posted above, I believe, is the proof which indicates Cisco has such configuration support of directed-broadcast for “magic packets”. And what the fact I’m trying to tell you is, Huawei’s small box-shaped switches (i.e. S5700 serires) and routers have such support of directed-broadcast , rather than the chassis switches, as you mentioned, the S9300 switch. So I suggest you may contact the nearest PTS (presale technical sales) for purchasing new equipments or you can tell them your needs, and find out if they can add such support in future software release in S9300.

  • x
  • convention:

PiotrekRGC  Novice   Created Nov 15, 2012 05:31:31 Helpful(0) Helpful(0)

Reply 5 #

Hi,

It's rather difficult to imagine purchasing a few thousand new switches in order to ...actually downgrade boxes we'd installed a year before. And yes, we sent our suggestions, as to the changes to introduce, some time ago, but without much of success so far.

So we are waiting  and hoping :)

Regards, Peter


  • x
  • convention:

p00737239     Created Nov 17, 2012 21:54:01 Helpful(0) Helpful(0)

Hi Piotr!


I'm sure we can make it work for you.

Please send email with your contact data to me: piotr.glaska@(skasuj.to)huawei.com

I will contact you and we will solve this issue.


Kind regards,

Piotr Głaska

Huawei Enterprise, Poland

  • x
  • convention:

PiotrekRGC  Novice   Created Nov 21, 2012 15:48:09 Helpful(0) Helpful(0)

Hi,

Many thanks for your reply.

I've sent an e-mail regarding the case in hand.

 

Regards, Piotr Łaniec

 

  • x
  • convention:

JUNOS     Created Oct 27, 2012 11:26:20 Helpful(0) Helpful(0)

Dear Peter,


Thanks for your inquiry. To my knowledge, WOL or PME function is typically designed for PCs or Servers, in which these functions are supported by special network interface card, motherboard and power supply. I don't know if it's necessary or possible to have the WOL or PME supported on switches so far.

would you please enlighten us which vendor and what types of network devices have such functions supported in their products? 


  • x
  • convention:

PiotrekRGC  Novice   Created Nov 10, 2012 07:04:13 Helpful(0) Helpful(0)

Reply 2 #

Hello,

I believe you've misunderstood me.

I don't intend to wake any network device, but to wake PCs that are located in a different broadcast domain.


As you surely know, when you want to "wake-up" PCs you send so called broadcast "magic-packet"  containing (in the payload field) 16 times MAC address of the NIC that is installed in that PC.  That packet is sent into LAN/VLAN that PC belongs to.

Problem occurs if that PC is in another VLAN (and IP subnet) that the station/server that sends magic-packet (as it's basically broadcast packet and is limited to the broadcast domain).

In such a situation actin as follows takes place usually (Subnet Directed Broadcasts are used).

PC/server that is an originator of the waking action sends special IP (UDP) packet to the broadcast address (port 7 or 9) of the IP subnet of the PC that is to be waken up. For instance if the station has IP 10.1.1.10/24 packet is sent to IP 10.1.1.255.

Router, that receives such packet (or vlanif on L3 switch) should forward that information further into VLAN where destination PC belongs to - as classic L2 broadcast magic-packet. http://en.wikipedia.org/wiki/Wake-on-LAN

Naturally this is not very secure action, so that funcionality (forward-broadcast or directed broadcast) is blocked as default or confined by using ACLs.

Such funcionality (directed-broadcast) is widely used on IBM, CISCO and other routers and L3 switches, please refer to: http://www.cisco.com/en/US/products/hw/switches/ps5023/products_configuration_example09186a008084b55c.shtml

L3(config)#ip forward-protocol udp 7   !--- Specifies the protocol and port to be forwarded.  L3(config-if)#interface vlan 2 
L3(config-if)#ip address 172.16.2.1 255.255.255.0 
L3(config-if)#ip directed-broadcast 101
! Enables translation of the forward broadcast to physical broadcast

I've found similar funcionality in VRP, called "ip forward-broadcast", but it doesn't seam to work on s9300 because forward (directed) broadcast packets seam to be dropped. It's really serious problem to our enterprise in Poland, becouse we use tens of thousands PC and since we've migrated onto
s9300 switches in LAN there is absolutely no possibility of using WoL when, for example, sender is in 10.192.42.0/24
 subnet and waked machine is in 10.192.130.0/24 subnet. In plane, one-VLAN network it works fine
but as directed-broadcasts don't work for Huawei L3 switches and routers it's huge disadvantage of your platform.

If HUAWEI is able to do something about that, as I'm sure you are, it will be very welcome.
We care about "green IT" and PCs are often suspended when not used. So we desperately need WoL working 
over L3 on our s9300 switches.

Regards, Peter 


  • x
  • convention:

user_2296671     Created Jun 19, 2016 10:08:35 Helpful(0) Helpful(0)

多谢多谢多谢
  • x
  • convention:

PiotrekRGC  Novice   Created Jun 20, 2016 18:51:41 Helpful(0) Helpful(0)

I am terribly sorry but I do not understand Chinese.

BTW The problem was solved by HUAWEI in software version V2R2 (totally from V2R3).

Regards, Piotr aniec

Excerpt from S9300&S9300E Terabit Routing Switch V200R002C00 Release Notes
Demand order: 201210235438 Symptom and impact:
When an interface is assigned an IP address, the switch creates a route to the subnet broadcast address. This route occupies a route entry. In addition, packets destined for the subnet broadcast address cannot be forwarded through the switch after ip forward-broadcast  is configured on the interface.
Condition:
An IP address is configured for an interface. 

Root cause:
When subnet routes are configured, the switch automatically generates routes to the subnet broadcast address *.255.
Solution:
The switch is configured not to generate routes to the subnet broadcast address *.255.

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top