VLAN Configuration wrt1900ac

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Sun Nov 29, 2015 20:12    Post subject: VLAN Configuration wrt1900ac Reply with quote
How are VLAN handled in the Marvell chip-set? Better than in Broadcom which have some limitations.
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Wed Dec 02, 2015 6:31    Post subject: Reply with quote
No one have attempted to vlans with dd-wrt on this router?

The hardware spec. says it supports vlan fully.
jsebean
DD-WRT User


Joined: 01 Dec 2015
Posts: 183
Location: Canada

PostPosted: Wed Dec 02, 2015 21:12    Post subject: Reply with quote
Why not try it out and let us know. No reason it shouldn't work that I'm aware of Wink
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Wed Dec 02, 2015 21:33    Post subject: Reply with quote
The case is that I have to buy one first.

This one looks to be a better choice than the fastest Broadcom devices.
htismaqe
DD-WRT User


Joined: 05 Nov 2015
Posts: 471

PostPosted: Wed Dec 02, 2015 22:33    Post subject: Reply with quote
Well, the Linksys stock firmware supports VLANs pretty well so the chipset must support it.
_________________
Routing:.......Asus RT-AX88U (Asuswrt-Merlin 384.14)
Switching:....Netgear GS608_V3 & GS605_V4, TrendNet TEG-S82G & TEG-S50G
tktam
DD-WRT Novice


Joined: 02 Nov 2015
Posts: 11

PostPosted: Fri Dec 04, 2015 4:27    Post subject: Re: VLAN Configuration wrt1900ac Reply with quote
Per Yngve Berg wrote:
How are VLAN handled in the Marvell chip-set? Better than in Broadcom which have some limitations.



I am wonder that I can't tag the vlan on port in wrt1200ac ddwrt.
Wolf Kodi
DD-WRT User


Joined: 13 Jun 2010
Posts: 126

PostPosted: Fri Dec 18, 2015 0:12    Post subject: Reply with quote
I'm also wondering about this before getting a Marvell chipset. Broadcom has a lot of support and this seem completely new.
pena1348
DD-WRT Novice


Joined: 09 May 2011
Posts: 24

PostPosted: Wed Jan 06, 2016 16:21    Post subject: Reply with quote
I am running the official release of dd-wrt (28628) on a WRT1900ACv1 and would like to set up a vlan on one of my lan ports to separate (eg. 192.168.2.0) it from the other 3. Any help would be appreciated. (Kong /BS ?)

TNX
P
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6870
Location: Romerike, Norway

PostPosted: Wed Jan 06, 2016 16:26    Post subject: Reply with quote
No one answered my Post, but I later found this:

<Kong> wrote:


E.g. working example for the 1900AC V1:

swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "5t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5t 4"
swconfig dev switch0 set apply
ifconfig eth0 up
ifconfig eth1 up
vconfig set_name_type VLAN_PLUS_VID_NO_PAD
vconfig add eth0 1
vconfig add eth0 2

it should work exactly he way it does under openwrt.
frenchkid
DD-WRT Novice


Joined: 28 Jan 2016
Posts: 4

PostPosted: Sat Jan 30, 2016 16:23    Post subject: Reply with quote
Did you manage to get it work ?
I can not get it to work on my WRT1900ACS.
matthew_eli
DD-WRT Novice


Joined: 27 Jan 2016
Posts: 15

PostPosted: Tue Feb 16, 2016 6:50    Post subject: Reply with quote
I tried to follow all the steps above in my WRT1900ACS, but when I use the first line I lost my ethernet connection and WAN connection

I then was able to follow all the steps by Wireless connection, by changing the following:


Code:
swconfig dev switch0 vlan 1 set ports "6t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "6t 4"
...
vconfig add eth1 1
vconfig add eth1 2


according to my switch configuration:


Code:
Port 0:
        mask: 0x004e: (0) 1 2 3 6
        qmode: 0
        pvid: 0
        link: port:0 link:down
Port 1:
        mask: 0x004d: 0 (1) 2 3 6
        qmode: 0
        pvid: 0
        link: port:1 link:down
Port 2:
        mask: 0x004b: 0 1 (2) 3 6
        qmode: 0
        pvid: 0
        link: port:2 link:up speed:1000baseT full-duplex
Port 3:
        mask: 0x0047: 0 1 2 (3) 6
        qmode: 0
        pvid: 0
        link: port:3 link:up speed:1000baseT full-duplex
Port 4:
        mask: 0x0020: (4) 5
        qmode: 0
        pvid: 0
        link: port:4 link:up speed:100baseT full-duplex
Port 5:
        mask: 0x0010: 4 (5)
        qmode: 0
        pvid: 0
        link: port:5 link:up speed:1000baseT full-duplex
Port 6:
        mask: 0x000f: 0 1 2 3 (6)
        qmode: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex


But maybe I did something wrong and when I rebooted, no settings were saved

Could anyone help me in sort this out?
aluisperezh
DD-WRT User


Joined: 09 Feb 2016
Posts: 68

PostPosted: Tue Feb 16, 2016 7:44    Post subject: Reply with quote
matthew_eli wrote:
I tried to follow all the steps above in my WRT1900ACS, but when I use the first line I lost my ethernet connection and WAN connection

I then was able to follow all the steps by Wireless connection, by changing the following:


Code:
swconfig dev switch0 vlan 1 set ports "6t 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "6t 4"
...
vconfig add eth1 1
vconfig add eth1 2


according to my switch configuration:


Code:
Port 0:
        mask: 0x004e: (0) 1 2 3 6
        qmode: 0
        pvid: 0
        link: port:0 link:down
Port 1:
        mask: 0x004d: 0 (1) 2 3 6
        qmode: 0
        pvid: 0
        link: port:1 link:down
Port 2:
        mask: 0x004b: 0 1 (2) 3 6
        qmode: 0
        pvid: 0
        link: port:2 link:up speed:1000baseT full-duplex
Port 3:
        mask: 0x0047: 0 1 2 (3) 6
        qmode: 0
        pvid: 0
        link: port:3 link:up speed:1000baseT full-duplex
Port 4:
        mask: 0x0020: (4) 5
        qmode: 0
        pvid: 0
        link: port:4 link:up speed:100baseT full-duplex
Port 5:
        mask: 0x0010: 4 (5)
        qmode: 0
        pvid: 0
        link: port:5 link:up speed:1000baseT full-duplex
Port 6:
        mask: 0x000f: 0 1 2 3 (6)
        qmode: 0
        pvid: 0
        link: port:6 link:up speed:1000baseT full-duplex


But maybe I did something wrong and when I rebooted, no settings were saved

Could anyone help me in sort this out?


Any configuration change you make will not be saved unless you write it in the "Administration->Diagnostic->Commands" window and save it as "Save startup". That way it will be written in NVRAM and executed when the router reboots.

Or at least that's the way I do it. I think there must be another way using jffs, but I'm not very sure about how it's done.

Regards.
DicEM4N
DD-WRT Novice


Joined: 24 Apr 2016
Posts: 2

PostPosted: Fri May 13, 2016 19:43    Post subject: Reply with quote
So can I put nvram commands in there also?
or only swconfig? I'm trying to get an extra port on the WAN vlan.

And I still don't get what port number I need to get either. The port labeled 4 on my switch seems to correspond to port 0 in swconfig. But 0 is already part of the wan VLAN suggesting I should just use "4" then?

Sorry for the many questions, just trying to avoid even more questions if I break it Wink

DicE
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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