DrayTek UK Users' Community Forum
Help, Advice and Solutions from DrayTek Users
Router as access point with VLAN ID
- Parpin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank yous received: 0
09 Jan 2025 23:13 #104431
by Parpin
Router as access point with VLAN ID was created by Parpin
I have a Vigor 2866 router that I have started using as a wifi access point.
Basically I wanted to setup a guest wifi SSID with a seperate LAN subnet to my main systems (192.168.1.XX).
On access points there is option to add VLAN ID tags for each wireless SSID in the general settings menu but this is not present on the router version. Is there any way to get this 2866 router to read VLAN IDs (that have been configured on the primary internet router) so that the appropriate LAN subnet is assigned.
Thanks!
Basically I wanted to setup a guest wifi SSID with a seperate LAN subnet to my main systems (192.168.1.XX).
On access points there is option to add VLAN ID tags for each wireless SSID in the general settings menu but this is not present on the router version. Is there any way to get this 2866 router to read VLAN IDs (that have been configured on the primary internet router) so that the appropriate LAN subnet is assigned.
Thanks!
Please Log in or Create an account to join the conversation.
- HodgesanDY
- Away
- Member
Less
More
- Posts: 221
- Thank yous received: 21
10 Jan 2025 09:57 #104433
by HodgesanDY
Replied by HodgesanDY on topic Router as access point with VLAN ID
Hi
Parpin
,
Yes. Go to the 'LAN >> VLAN Configuration' page and assign the check-box(es) corrosponding to the local SSID of 2.4GHz and 5GHz, respectively, and the VLAN you would like that SSID to be a member of.
Yes. Go to the 'LAN >> VLAN Configuration' page and assign the check-box(es) corrosponding to the local SSID of 2.4GHz and 5GHz, respectively, and the VLAN you would like that SSID to be a member of.
Please Log in or Create an account to join the conversation.
- Parpin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank yous received: 0
11 Jan 2025 11:53 #104435
by Parpin
Replied by Parpin on topic Router as access point with VLAN ID
Hi The router does not have this selection option - only an access point does. So unfortunately had to purchase an AP.
Please Log in or Create an account to join the conversation.
- HodgesanDY
- Away
- Member
Less
More
- Posts: 221
- Thank yous received: 21
11 Jan 2025 21:41 - 11 Jan 2025 21:43 #104436
by HodgesanDY
Replied by HodgesanDY on topic Router as access point with VLAN ID
Hi
Parpin
,
You got me curious, so I pulled out an old 2925n (older than the 2866) and started configuring it to do what you want, my only real question is, what is your “…primary internet router…”, is it a DrayTek router?
Either way, this should still work; using the 2866 as an 'Access Point':
Go to ‘WAN >> General Setup’ and disable all WANs, then go to ‘LAN >> General Setup’ and configure LAN1 by first disabling the DHCP Server option and setting the IP of the 2866 router ('Network Configuration' section) to a static IP and mask somewhere in the range of your “Primary” router’s main LAN subnet (the non guest LAN), tick the ‘Enable’ box and click ‘OK’; it will most likely ask to reboot, so 'OK' that and reboot.
Log back in to the 2866 at its new LAN1 IP you just gave it, and go to ‘LAN >> General Setup’ again but this time click on the settings for LAN2 instead. Same again, disable the DHCP Server option and set the 2866 router ('Network Configuration' section) to a static IP and mask somewhere in the range of your “Primary” router’s guest LAN subnet, ‘Enable’ that too and click ‘OK’ and it should ask to reboot again.
Log in again, and now go to the ‘LAN >> VLAN Configuration’ page, ‘Enable’ it, and tick all the VLAN0 P1-P5 tick boxes then only tick the SSID1 of 2.4GHz and SSID1 of 5GHz boxes, set the ‘Subnet’ to LAN1 and do not tick the VLAN ID tick box, leave it un-ticked.
Now on VLAN1, tick only the P1 tick box and also SSID2 of 2.4GHz and SSID2 of 5GHz tick boxes, set the ‘Subnet’ to LAN2 and this time tick the VLAN ID box and enter the ID TAG for your guest LAN used on your “Primary” router. Now ‘OK’ this page; and it may ask to reboot again. (Note: If it warns you about ticking any un-ticked Port boxes on VLAN0, then you'll need to have them all ticked to enable the VLAN functionality, so do that and click 'OK' again)
You can now configure your 'Wireless LAN >> General Setup' SSID1 & SSID2 (2.4GHz & 5GHz respectively) to match how you have it set on your other APs, minus the VLAN IDs as these are already setup, as above.
All that’s left to do now is to configure the ‘Primary’ router, or your managed switch attached to your ‘Primary’ router, so that you can connect Port 1 of the 2866 to that device’s VLAN configured port.
If it’s another DrayTek router, then in the ‘LAN >> VLAN Configuration’ page, tick whichever port will be connected to the 2866’s Port 1 on the VLAN of your main LAN, if you don’t have a VLAN ID set for that VLAN, then great, you only need to tick the port you’re connecting to the 2866 and set the 'Subnet' to the correct one if it isn't already set correctly. For the next VLAN, the guest LAN VLAN, tick the same port that connects to the 2866 and hopefully this VLAN does have an ID TAG set, which should match the one you’ve setup already on the 2866 for VLAN1 LAN2, and also the correct 'Subnet' that is your guest LAN subnet.
(Note, if your main LAN does have a VLAN ID TAG set against it, then you’ll need to go back to the 2866 and enable the ID TAG option and enter that same matching ID number there too.)
If it’s a managed switch your 2866 is connecting to, then setup the switch port as an ‘Access Port’ assigning your main LAN VLAN to it, and also add a Tagged ID to it of your guest VLAN as well; sometimes causing the port to become a "Hybrid" port rather than an 'Access Port', but you get the idea, un-tagged = main LAN, tagged = guest LAN.
With all that done, your 2866 should now be a working AP like the rest you have in-play.
I have just tested this using a 2862ac connected directly to the 2925n, using both the Tagged and Un-Tagged methods, tested separately, and both work fine with the main LAN VLAN.
You got me curious, so I pulled out an old 2925n (older than the 2866) and started configuring it to do what you want, my only real question is, what is your “…primary internet router…”, is it a DrayTek router?
Either way, this should still work; using the 2866 as an 'Access Point':
Go to ‘WAN >> General Setup’ and disable all WANs, then go to ‘LAN >> General Setup’ and configure LAN1 by first disabling the DHCP Server option and setting the IP of the 2866 router ('Network Configuration' section) to a static IP and mask somewhere in the range of your “Primary” router’s main LAN subnet (the non guest LAN), tick the ‘Enable’ box and click ‘OK’; it will most likely ask to reboot, so 'OK' that and reboot.
Log back in to the 2866 at its new LAN1 IP you just gave it, and go to ‘LAN >> General Setup’ again but this time click on the settings for LAN2 instead. Same again, disable the DHCP Server option and set the 2866 router ('Network Configuration' section) to a static IP and mask somewhere in the range of your “Primary” router’s guest LAN subnet, ‘Enable’ that too and click ‘OK’ and it should ask to reboot again.
Log in again, and now go to the ‘LAN >> VLAN Configuration’ page, ‘Enable’ it, and tick all the VLAN0 P1-P5 tick boxes then only tick the SSID1 of 2.4GHz and SSID1 of 5GHz boxes, set the ‘Subnet’ to LAN1 and do not tick the VLAN ID tick box, leave it un-ticked.
Now on VLAN1, tick only the P1 tick box and also SSID2 of 2.4GHz and SSID2 of 5GHz tick boxes, set the ‘Subnet’ to LAN2 and this time tick the VLAN ID box and enter the ID TAG for your guest LAN used on your “Primary” router. Now ‘OK’ this page; and it may ask to reboot again. (Note: If it warns you about ticking any un-ticked Port boxes on VLAN0, then you'll need to have them all ticked to enable the VLAN functionality, so do that and click 'OK' again)
You can now configure your 'Wireless LAN >> General Setup' SSID1 & SSID2 (2.4GHz & 5GHz respectively) to match how you have it set on your other APs, minus the VLAN IDs as these are already setup, as above.
All that’s left to do now is to configure the ‘Primary’ router, or your managed switch attached to your ‘Primary’ router, so that you can connect Port 1 of the 2866 to that device’s VLAN configured port.
If it’s another DrayTek router, then in the ‘LAN >> VLAN Configuration’ page, tick whichever port will be connected to the 2866’s Port 1 on the VLAN of your main LAN, if you don’t have a VLAN ID set for that VLAN, then great, you only need to tick the port you’re connecting to the 2866 and set the 'Subnet' to the correct one if it isn't already set correctly. For the next VLAN, the guest LAN VLAN, tick the same port that connects to the 2866 and hopefully this VLAN does have an ID TAG set, which should match the one you’ve setup already on the 2866 for VLAN1 LAN2, and also the correct 'Subnet' that is your guest LAN subnet.
(Note, if your main LAN does have a VLAN ID TAG set against it, then you’ll need to go back to the 2866 and enable the ID TAG option and enter that same matching ID number there too.)
If it’s a managed switch your 2866 is connecting to, then setup the switch port as an ‘Access Port’ assigning your main LAN VLAN to it, and also add a Tagged ID to it of your guest VLAN as well; sometimes causing the port to become a "Hybrid" port rather than an 'Access Port', but you get the idea, un-tagged = main LAN, tagged = guest LAN.
With all that done, your 2866 should now be a working AP like the rest you have in-play.
I have just tested this using a 2862ac connected directly to the 2925n, using both the Tagged and Un-Tagged methods, tested separately, and both work fine with the main LAN VLAN.
Last edit: 11 Jan 2025 21:43 by HodgesanDY.
Please Log in or Create an account to join the conversation.
Moderators: Chris
Copyright © 2025 DrayTek