Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WOL on ERS 5500 between VLANs 1

Status
Not open for further replies.

ciro64

IS-IT--Management
Feb 2, 2007
8
LI
Hi
I try to enable WOL on 5530 from vlan 10 to vlan20.
-newest firmware and tested with older firmware
-new config ( boot def.)
-Routing enabled
-each vlan has a IP: 10.1.10.1 and 10.1.20.1
-enabled routing on vlans
-routing between VLANs: OK ( Ping )

I configured udp forwarding:
ip forwarding-protocol udp 9 WOL ( Port 9, name WOL )
ip forwarding-protocol udp portfwdlist 1 9 10.1.20.255 name wol_pfwdlist ( ID 1, Protocol 9, Dest. IP for UDP protocol,name of List )
int vlan 10 ( vlan that reach the WOL Broadcasts, the WOL broadcast sender is on this vlan. )
ip forwarding-protocol udp vlan 10 portfwdlist 1

Now each time I send a WOL magic paket ( from 10.1.10.10 to 10.1.10.255 with MAC from PC on VLAN 20 ), the counter of NumRxPkts counts 1 paket, but there are no NumFwdPkts.
Port 9 is correct ( Wireshark on WOL sender )
If I send WOL direct without broadcast to 10.10.20.10, the paket reaches the PC correct ( Wireshark on receiver PC )

My problem is: the vlan 10 does not transfer the WOL Broadcasts to vlan 20
What I forgot or what I do wrong ?

Thanks
 

You have the destination IP as 10.1.20.255. What is the subnet mask you are using?

If the mask is different for vlans 10 and 20 you may need to add the bcast_mask to the vlan command to route correctly.

The ttl of 1 should be OK, but remove it to see if it makes a difference. by default the switch will set a ttl of 4
 

I use the subnetmask 255.255.255.0 in every network.
ttl is 4.
 
with at /24 bit mask your destination IP address of 10.1.20.255 is invalid as it is the subnet broadcast address. With udp forwarding you have to specify specific addresses.

Have you tried enabling directed broadcasts? This should do what you want.

To enable from global config mode

# ip directed-broadcast enable
 
Yes, I tried IP directed Broadcast and it works, but I do not enable it, because security.
There are some other VLANs.
I only need Wake on LAN from VLAN 10 to VLAN 20.
So I need to broadcast the WOL magic pakets to 10.1.20.255.
 
Unfortunately you can only use directed broadcasts to specific ip addresses and can only configure 128 addresses.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top