VLAN tutorial

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Mon Aug 22, 2016 10:51    Post subject: VLAN tutorial Reply with quote
Does someone have a tutorial on VLANs?
I'm trying to setup VLANs but not getting anywhere.

On OpenWrt is was easy as 1.2.3 but I can't get them to work on DD-WRT...
Sponsor
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Mon Aug 22, 2016 12:15    Post subject: Reply with quote
As far as I know DDWRT on Atheros units doesn't have native support for VLANS...
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Mon Aug 22, 2016 12:51    Post subject: Reply with quote
Ok, well that could be the reason why I can't get them to work. Shocked
Sucks donkey dicks though...
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Mon Aug 22, 2016 14:39    Post subject: Reply with quote
Panja wrote:
Ok, well that could be the reason why I can't get them to work. Shocked
Sucks donkey dicks though...

Many can do VLAN but most are different from one another therefore no one way covers all.

Just have to google VLAN for your specific router and see if anyone has done it and posted info

good luck -
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Mon Aug 22, 2016 15:41    Post subject: Reply with quote
Thanks.
That's the problem though. I have an Archer C7 v2 (or C5 v1.2 - same hardware) and cannot find anyone that did it already and has a little tutorial...
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Mon Aug 22, 2016 15:54    Post subject: Reply with quote
Panja wrote:
Thanks.
That's the problem though. I have an Archer C7 v2 (or C5 v1.2 - same hardware) and cannot find anyone that did it already and has a little tutorial...

See if this will help
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=940612
probably last couple posts & links will get you going
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Mon Aug 22, 2016 16:27    Post subject: Reply with quote
That's the post I followed before.
Didn't work for me. Be nevertheless I will give it another try soon.
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Tue Aug 23, 2016 10:31    Post subject: Reply with quote
Tried it again.
Does not work for me... Shocked
Mile-Lile
DD-WRT Guru


Joined: 24 Feb 2013
Posts: 1634
Location: Belgrade

PostPosted: Tue Aug 23, 2016 11:14    Post subject: Reply with quote
I would start with finding information what switch is in your router. Then on Openwrt forum try to find CLI commands for it...

did you tried from GUI...

Code:
http://192.168.1.1/Vlan.asp
ian5142
DD-WRT Guru


Joined: 23 Oct 2013
Posts: 2318
Location: Canada

PostPosted: Tue Aug 23, 2016 11:53    Post subject: Web page for Vlan Reply with quote
I just verified this on both of my Archer c7 v2. The webpage is there and is what you are looking for at:
http://192.168.1.1/Vlan.asp (or what ever your ip address of the archer c7 is)

_________________
Before asking a question on the forums, update dd-wrt: Where do I download firmware? I suggest reading it all.
QCA Best WiFi Settings


Some dd-wrt wiki pages are up to date, others are not. PM me if you find an old one.

Atheros:
Netgear R7800 x3 - WDS AP / station, gateway, QoS
TP-Link Archer C7 v2 x2 - WDS Station
TP-Link TL-WDR3600 v1 - WDS Station
TP-Link 841nd v8 - NU
D-Link 615 C1/E3/I1 x 7 - 1 WDS station
D-Link 825 B1 - NU
D-Link 862L A1 x2 - WDS Station
Netgear WNDR3700v2 - NU
UBNT loco M2 x2 - airOS

Broadcom
Linksys EA6400 - Gateway, QoS
Asus N66U - AP
Netgear WNDR3700v3 - not used
MediaTek
UBNT EdgeRouter X - switch
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Tue Aug 23, 2016 11:54    Post subject: Reply with quote
Ok, thanks guys.
I do see the page. That's a plus. Cool

Gonna have a try tonight. Cheers
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Tue Aug 23, 2016 17:37    Post subject: Reply with quote
I can open the page Vlan.asp but changing anything there does not do anything for me...

I have created a VLAN on my firewall with VLAN ID 15 but I can't seem to get it to work with the Archer. Trying to give the ID 15 to port 4 but.
SaschaITM
DD-WRT User


Joined: 16 Dec 2015
Posts: 68

PostPosted: Wed Aug 24, 2016 9:09    Post subject: Reply with quote
I don't think the "Vlan.asp" page reflects the actual VLAN configuration. I guess there's a reason this page isn't linked from the navigation.

On my Archer C7 v2 I've configured a separate VAP with a VLAN ID of 100 so I could use an "external" Captive Portal solution for guests, which is working fine. I didn't have to use any console commands, everything was setup via the "Setup/Networking" web interface page. I didn't assign the VLAN ID to any LAN ports though, I think for that you need to use console commands. The post linked to in mrjcd's first post in this thread (and the OpenWRT Wiki page explaining the switch layout on Archer C5/C7 linked from there) seems to explain how to do it.

Also, are you certain you know how VLANs work? You don't "give a VLAN ID to a port", but rather tell your device to tag packets going through port X with a VLAN ID of Y (and/or other VLAN IDs, or to exclude that port from a VLAN ID, or to "send" any packets without a VLAN tag to VLAN Y). Every other device involved (switches, other routers, or your "Firewall" - whatever that may be -) needs to be configured accordingly.
<Kong>
DD-WRT Guru


Joined: 15 Dec 2010
Posts: 4339
Location: Germany

PostPosted: Wed Aug 24, 2016 9:22    Post subject: Reply with quote
VLAN webif integration is only for broadcom routers.
For others you can only use a script, that uses swconfig etc.

_________________
KONG PB's: http://www.desipro.de/ddwrt/
KONG Info: http://tips.desipro.de/
Panja
DD-WRT User


Joined: 12 Aug 2016
Posts: 90

PostPosted: Wed Aug 24, 2016 12:18    Post subject: Reply with quote
Thanks all for the replies!
@Kong do you have some more information what to put in the script Laughing
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum