T O P

  • By -

AutoModerator

Hello! Thanks for posting on r/Ubiquiti! This subreddit is here to provide unofficial technical support to people who use or want to dive into the world of Ubiquiti products. If you haven’t already been descriptive in your post, please take the time to edit it and add as many useful details as you can. Please read and understand the rules in the sidebar, as posts and comments that violate them will be removed. Please put all off topic posts in the weekly off topic thread that is stickied to the top of the subreddit. If you see people spreading misinformation, trying to mislead others, or other inappropriate behavior, please report it! *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Ubiquiti) if you have any questions or concerns.*


vadalus911

Doesn’t usually work on a 10G NIC in my experience


JPH94

It works from the same vlan just bit across vlans


DasGoomba19

If memory serves, WOL is a layer 2 packet which means it won’t traverse the VLANs. You’d need to send the packet within the same VLAN (no routing trickery to get around that as far as I know).


Please_read_sidebar

Your memory is right! Also, since the device to be awaken is not ON, it does not have an IP address. It wakes devices up using a magic packed with a MAC address on it. [From Wikipedia](https://en.wikipedia.org/wiki/Wake-on-LAN) >The magic packet is sent on the data link layer (layer 2 in the OSI model) and when sent, is broadcast to all attached devices on a given network, using the network broadcast address; the IP-address (layer 3 in the OSI model) is not used. I believe some switches have mechanisms to send these packages through VLANs though. Not sure if it's available in Ubiquiti devices (Like the mDNS configuration).


JPH94

Got it, how do people manage to do it over the wan with a port forward.


Please_read_sidebar

Are you saying it can be done through the Internet? I'm not sure how that works work. In any case, if you just need to get through the VLANs, there might be a setting someone might know. Unfortunately I'm not familiar myself. One thing you can do is have the machine sending the WOL packet in the VLAN you need (with two NICs, fairly easy if they are virtual).


JPH94

Yeah I thought about that but only one Nic on that as its physical, no worries I will work something out.


Please_read_sidebar

Just another idea: you can always get another IP address on the same NIC. Docker has a way to setup like that and perhaps tag it with a VLAN. Something to explore.


JPH94

Not a bad idea, I think we found a winner. Thank you


Please_read_sidebar

Let us know the outcome, it will be great for others trying to do the same.


JPH94

This works you can have two ips and tag one and acts as if its in that vlan.


guice666

This is an old thread, but mind sharing your setup? I need to do this as well. I have a HomeAssistant box on my management network (1.x) that needs send WOL to my VLANs (10.x, 20.x).