• May 22, 2012, 09:19:03 PM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: Wake on Lan over different subnets  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Offline gus

  • Rookie
  • **
  • Posts: 13
Wake on Lan over different subnets
« on: November 28, 2011, 09:59:50 AM »
Hi all,

I have a problem, I need to implement wake on lan across diferent subnets.
I have 8600 cluster ver 5.1.5 and 5520 on the edge.

Is this possible with Nortel?

I found a Cisco example, but we donīt have directed-broadcast with ACL


L3(config)#access-list 101 permit udp host 172.16.3.2 any eq 7

!--- This accepts directed broadcasts only from PC 4.

L3(config)#ip forward-protocol udp 7

!--- Specifies the protocol and port to be forwarded.
!--- Capture the WOL packet with any network sniffer to determine the UDP port
!--- to use in this command. The port number varies with the WOL utility used.

L3(config-if)#interface vlan 2
L3(config-if)#ip address 172.16.2.1 255.255.255.0
L3(config-if)#ip helper-address 172.16.3.2

!--- Enables BOOTP broadcast forwarding to the DHCP server.

L3(config-if)#ip directed-broadcast 101

!--- Enables the translation of a directed broadcast to physical broadcasts.

L3(config-if)#interface vlan 3
L3(config-if)#ip address 172.16.3.1 255.255.255.0
L3(config-if)#ip helper-address 172.16.2.255
L3(config-if)#ip helper-address 172.16.4.255

!-- Enables forwarding of WoL packets to clients.
!-- Works in conjunction with the ip forward-protocol command.
L3(config-if)#interface vlan 4
L3(config-if)#ip address 172.16.4.1 255.255.255.0
L3(config-if)#ip helper-address 172.16.3.2

!--- Enables BOOTP broadcast forwarding to the DHCP server.

L3(config-if)#ip directed-broadcast 101

!--- Enables the translation of a directed broadcast to physical broadcasts.




thanks

Gus


Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2517
    • Michael McNamara
Re: Wake on Lan over different subnets
« Reply #1 on: November 28, 2011, 01:00:15 PM »
You need to enable directed broadcast (per VLAN) on the ERS 8600...

http://blog.michaelfmcnamara.com/2009/02/wake-on-lan-and-directed-broadcast/

Good Luck!
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline gus

  • Rookie
  • **
  • Posts: 13
Re: Wake on Lan over different subnets
« Reply #2 on: November 28, 2011, 06:50:02 PM »
Hi Michael, thanks for your reply.

Our network has over 100 vlans and 4000 users.
Is there risk to enable Direct-broadcast?
I do not know how it works. I guess this should make a broadcast to all vlans is this so?

And about UDP Forwarding I do not know how it works, either. :-X

thanks again

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2517
    • Michael McNamara
Re: Wake on Lan over different subnets
« Reply #3 on: November 28, 2011, 09:43:49 PM »
There's definitely a risk that someone could abuse it, but that's the case with almost anything these days.

You don't need any UDP forwarding. The management server should start by sending a Unicast packet to the last known IP address of the client. If the ARP table entry has aged out the router should flood that packet to all hosts in the VLAN. If that fails the management server should send a UDP broadcast to the network where that client was last connected (example, IP address is 192.168.10.35/24 - broadcast would go to 192.168.10.255). It's that UDP directed broadcast that will be automatically dropped by the switch until enabled.

You can research SMURF attacks to learn all about the issues around allowing directed broadcast attacks.

Good Luck!

We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline Pollay

  • Rookie
  • **
  • Posts: 2
Re: Wake on Lan over different subnets
« Reply #4 on: December 01, 2011, 04:20:52 PM »
I've also had success using matcodes mc-wol remote wake on lan program that allows you to route the wol packet to the broadcast address for the subnet your target pc is on.

Offline gus

  • Rookie
  • **
  • Posts: 13
Re: Wake on Lan over different subnets
« Reply #5 on: December 15, 2011, 01:32:22 PM »
Thanks

Gus

Offline Artur Gmaj

  • Global Moderator
  • Full Member
  • *****
  • Posts: 60
Re: Wake on Lan over different subnets
« Reply #6 on: December 18, 2011, 05:37:31 PM »
Hi,
I managed to wol my host via Internet. All You have to do is to make static arp entry pointing to machine You want to wake up. This should be made on the router connected to vlan including regarded host. Then You can send unicast wol packet.

Cheers,

Artur
« Last Edit: December 18, 2011, 05:40:24 PM by Artur Gmaj »

Offline yogo

  • Rookie
  • **
  • Posts: 4
Re: Wake on Lan over different subnets
« Reply #7 on: January 30, 2012, 09:48:09 AM »
Hi,

anyone knows where to enable directed broadcast on an ERS8300? Can't find the command, either on CLI nor the documentation. The 8600 command "config vlan xx ip directed-broadcast enable" doesn't exist.

thx 4 help

Offline Michael McNamara

  • Administrator
  • Hero Member
  • *****
  • Posts: 2517
    • Michael McNamara
Re: Wake on Lan over different subnets
« Reply #8 on: January 30, 2012, 03:53:13 PM »
What version of software are you running?
We've been helping network engineers, system administrators and technology professionals since June 2009.
If you've found this site useful or helpful, please help me spread the word. Link to us in your blog or homepage - Thanks!

Offline yogo

  • Rookie
  • **
  • Posts: 4
Re: Wake on Lan over different subnets
« Reply #9 on: January 31, 2012, 03:11:05 AM »
The ERS8300 has software version 4.2.3.4 and is running with an advanced license.
« Last Edit: January 31, 2012, 03:13:43 AM by yogo »