VLANs con Linksys WRT1200AC [SOLVED]

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
donxack
DD-WRT Novice


Joined: 16 Mar 2021
Posts: 3

PostPosted: Tue Mar 16, 2021 18:52    Post subject: VLANs con Linksys WRT1200AC [SOLVED] Reply with quote
Hola Gurus del DD-WRT, llevo una semana intentando sustituir el router proporcionado por mi compañía DIGI por un flamante WRT1200AC con la ultima versión r45993 , pero me resulta totalmente imposible y estoy en el punto critico de desistir, con OPENWRT y con el firmware original no he tenido problema alguno para estableces la conexión, pero totalmente imposible con DD-WRT,y necesitaría ayuda o soporte para conseguirlo.

Mi proveedor trabaja con PPPOE del cual dispongo datos de usuario y password, la VLAN que necesito es la 20 y creo que aquí radica mi problema , no consigo activar esta vlan, tengo entendido de que existían una limitacion de 15 Vlan pero eso era en versiones anteriores. Algun alma caritativa se apiada de mi y me ayuda, antes de que le meta fuego al router.

Un saludo y muchas gracias por vuestra paciencia

------

Hello DD-WRT Gurus, I have been trying to replace the router provided by my company DIGI for a week with a brand new WRT1200AC with the latest version r45993, but it is totally impossible for me and I am at the critical point of giving up, with OPENWRT and with the original firmware I have not had any problem establishing the connection, but totally impossible with DD-WRT, and I would need help or support to get it.

My provider works with PPPOE of which I have user data and password, the VLAN I need is 20 and I think this is where my problem lies, I cannot activate this vlan, I understand that there was a limitation of 15 Vlan but that was in versions previous. Some kind soul takes pity on me and helps me, before I set fire to the router.

Greetings and thank you very much for your patience
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Tue Mar 16, 2021 19:35    Post subject: Reply with quote
The WRT1200AC is not Broadcom, it is Marvell. I am moving this topic to the Marvell forum (English).

Please read these two stickies:
-----------------------------------------------------
El WRT1200AC no es Broadcom, es Marvell. Voy a trasladar este tema al foro de Marvell (inglés).

Lea estas dos notas adhesivas:

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324841

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=317199

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
donxack
DD-WRT Novice


Joined: 16 Mar 2021
Posts: 3

PostPosted: Sun Mar 21, 2021 2:50    Post subject: Reply with quote
Gracias a ese enlace
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324841

he conseguido que mi router conecte por PPP0E utilizando estos comandos en el arranque del router: VLAN20

swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4t"
swconfig dev switch0 vlan 2 set vid 20
swconfig dev switch0 set apply

El problema es que no consigo que ninguno de los puertos del router me asigne ip , no puedo hacer que funcione.

root@DD-WRT:~# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
Port 0:
mask: 0x0000: (0)
qmode: 3
pvid: 1
link: port:0 link:down
Port 1:
mask: 0x0000: (1)
qmode: 3
pvid: 1
link: port:1 link:up speed:100baseT full-duplex
Port 2:
mask: 0x0000: (2)
qmode: 3
pvid: 1
link: port:2 link:down
Port 3:
mask: 0x0000: (3)
qmode: 3
pvid: 1
link: port:3 link:down
Port 4:
mask: 0x0000: (4)
qmode: 3
pvid: 0
link: port:4 link:up speed:1000baseT full-duplex
Port 5:
mask: 0x0000: (5)
qmode: 3
pvid: 20
link: port:5 link:up speed:1000baseT full-duplex
Port 6:
mask: 0x0000: (6)
qmode: 0
pvid: 0
link: port:6 link:up speed:1000baseT full-duplex
VLAN 1:
port_based: 0
vid: 1
ports: 0 1 2 3 4t
VLAN 2:
port_based: 0
vid: 20
ports: 4t 5

Alguien me ayuda?
Un saludo
-------------------------------------------------------
Thanks to that link
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324841

I have gotten my router to connect via PPP0E using these commands at router startup: VLAN20

swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4t"
swconfig dev switch0 vlan 2 set vid 20
swconfig dev switch0 set apply

The problem is that I can't get any of the router ports to assign me ip, I can't make it work.

root @ DD-WRT: ~ # swconfig dev switch0 show
Global attributes:
enable_vlan: 1
Port 0:
mask: 0x0000: (0)
qmode: 3
pvid: 1
link: port: 0 link: down
Port 1:
mask: 0x0000: (1)
qmode: 3
pvid: 1
link: port: 1 link: up speed: 100baseT full-duplex
Port 2:
mask: 0x0000: (2)
qmode: 3
pvid: 1
link: port: 2 link: down
Port 3:
mask: 0x0000: (3)
qmode: 3
pvid: 1
link: port: 3 link: down
Port 4:
mask: 0x0000: (4)
qmode: 3
pvid: 0
link: port: 4 link: up speed: 1000baseT full-duplex
Port 5:
mask: 0x0000: (5)
qmode: 3
pvid: 20
link: port: 5 link: up speed: 1000baseT full-duplex
Port 6:
mask: 0x0000: (6)
qmode: 0
pvid: 0
link: port: 6 link: up speed: 1000baseT full-duplex
VLAN 1:
port_based: 0
vine: 1
ports: 0 1 2 3 4t
VLAN 2:
port_based: 0
vine: 20
ports: 4t 5

Someone help me?
All the best
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Sun Mar 21, 2021 10:39    Post subject: Reply with quote
I do not know the default settings for your router but usually 5 and 6 are the CPU ports.

So one VLAN should have port 5 and the other should have port 6 otherwise the VLANs are not connected to the CPU.

I am not an expert in this field so I could be wrong

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
plawer
DD-WRT User


Joined: 11 Aug 2019
Posts: 156

PostPosted: Sun Mar 21, 2021 16:54    Post subject: Reply with quote
You need to assign a CPU port to VLAN 1. Something along the lines of:

swconfig dev switch0 vlan 1 set ports "6 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4"

_________________
Linksys: Several WRTxx00AC variations | Netgear: 4x WNDR4500v2, 7x WNDR4300, R6400v1 | Asus: 2x RT-AC66U | Gl.inet: 3x GL-AR150
donxack
DD-WRT Novice


Joined: 16 Mar 2021
Posts: 3

PostPosted: Mon Mar 22, 2021 17:23    Post subject: Reply with quote
Thank you very much! Indeed that was the problem. I leave the details in case someone can be used already modified

swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 1 set ports "6 0 1 2 3"
swconfig dev switch0 vlan 2 set ports "5 4t"
swconfig dev switch0 vlan 2 set vid 20
swconfig dev switch0 set apply
feliciano
DD-WRT Guru


Joined: 24 Oct 2008
Posts: 1079
Location: Latin America

PostPosted: Sat Mar 27, 2021 0:28    Post subject: Reply with quote
As the issue was solved, I kindly suggest please rename the first post adding a [Solved] tag (for reference to other fellows), and I'm going to delete the original thread on the Spanish forum.
_________________
If you want support, please read first the announcements and forum rules.
Si usted desea ayuda, por favor lea primero los anuncios y las reglas del foro.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Sat Mar 27, 2021 0:41    Post subject: Reply with quote
Did I leave a shadow topic in the Spanish forum? I didn't think I did. I went ahead and added the [SOLVED] to the OP.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
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