Linksys WRT54G/GL/GS v1.1 as router with VLANs

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
Luciano
DD-WRT Novice


Joined: 23 Jul 2006
Posts: 29

PostPosted: Thu Mar 27, 2025 11:21    Post subject: Linksys WRT54G/GL/GS v1.1 as router with VLANs Reply with quote
Hello,
I try to use this good old hw:
Router Model Linksys WRT54G/GL/GS v1.1
CPU Model Broadcom BCM5352 chip rev 0


as a router-only in my LAN and I have a hard time to config as I want it:

fix IP on LAN1 and just as a router for switches:

Port 1-3 access for LAN1 - (no tag)
Port 4 access for VLAN 117 - (no tag)
WAN port access for LAN1 (no tag) and trunk for VLAN 111 115 117 119 (tag)

after one day spent with old firmware:

Firmware Version DD-WRT v3.0-r44715 vpn (11/03/20)
Kernel Version Linux 2.4.37 #62645 Tue Nov 3 07:04:00 +03 2020 mips

using this data:
vlan.ports numbers = port.vlans
reference reference
0 = Physical port 4 = port4vlan = Physical port 4
1 = Physical port 3 = port3vlan = Physical port 3
2 = Physical port 2 = port2vlan = Physical port 2
3 = Physical port 1 = port1vlan = Physical port 1
4 = WAN = port0vlan = WAN port
5 = CPU internal = port5vlan = CPU
5* = CPU internal default

and unsuccessful to have a working config from cli:

nvram show | grep port.*vlans | sort
port0vlans=1 111 115 117 119
port1vlans=1
port2vlans=1
port3vlans=1
port4vlans=117
port5vlans=1 1 111 115 117 119 16

nvram show | grep vlan.*ports | sort
vlan0ports=3 2 1 5*
vlan111ports=4t 5t
vlan115ports=4t 5t
vlan117ports=0 4t 5t
vlan119ports=4t 5t
vlan1ports=4 5t

nvram show | grep vlan.*hwname | sort
vlan0hwname=et0
vlan1hwname=et0
vlan111hwname=et0
vlan115hwname=et0
vlan117hwname=et0
vlan119hwname=et0
I flashed latest std and vpn firmware:

Firmware VersionDD-WRT v3.0-r60467 vpn (03/24/25)
Kernel VersionLinux 2.4.37 #78292 Mon Mar 24 04:52:36 +07 2025 mips

in the hope that I will have a graphical interface which will easy the job but I am missing CPU port display as per some tutorials I found , and of course I did not solve it yet.

It is normal not to have displayed CPU in graphical interface for this old hw ?[/url]

thank you



Screenshot_2025-03-27_12-51-47.jpg
 Description:
 Filesize:  60.9 KB
 Viewed:  86 Time(s)

Screenshot_2025-03-27_12-51-47.jpg


Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3576
Location: Germany

PostPosted: Thu Mar 27, 2025 12:02    Post subject: Reply with quote
What you want to configure a trunkport that has both tagged and untagged vlan is not possible via GUI anyway.

As far as I know, the switch/VLAN GUI no longer works on the boxes.

I have no interest in fiddling with 22 year old eltro junk.

_________________
Quickstart guides:

no more guides ;-(
good luck Razz

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 24.10.1 - Gateway
Qualcomm IPQ8065 - R7800 - OpenWrt 24.10.1 - WAP
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Thu Mar 27, 2025 12:04    Post subject: Reply with quote
Have you reset to default?

Looks like leftovers from old builds.
Luciano
DD-WRT Novice


Joined: 23 Jul 2006
Posts: 29

PostPosted: Thu Mar 27, 2025 12:40    Post subject: Reply with quote
OK so at least it is clear that is no point to try the cli config on this hw.

yes I reset it.
That data I posted was saved in my workbook when it had old firmware.

edit:
It is easy to install a vbox router and use that one than lose a lot of time with this one without proper doc.
lexridge
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 2084
Location: WV, USA

PostPosted: Thu Mar 27, 2025 15:30    Post subject: Reply with quote
Switch Config tab does not work with these routers. I wasted a lot of time trying to make vlans work on a WRT54GLv1.1 to no avail. If you really need to use vlans on this old hardware, your best bet is to use Fresh Tomato. It works well and easy setup.
https://www.freshtomato.org/

_________________
- Linksys EA8500: I-Gateway, WAP/VAP 5ghz only. Features: VLANs, Samba, WG, Entware - r60xxx
- Linksys EA8500: 802.11s Secondary w/VLAN Trunk over 5ghz - r60xxx
- Linksys MX4300: 802.11s Primary w/VLAN Trunk over 5ghz. 2.4ghz WAP/VAP only - r60xxx
- Linksys MX4300: (WAP/VAP (7)) Multiple VLANs over single trunk port. Entware/Samba r60xxx
- Linksys MR7350: WDS Station for extended Ethernet r60xxx
- Linksys MR7500, MX8500: None in production. Just testing. r60xxx
- OSes: Fedora 40, 10 RPis (2,3,4,5), 23 ESP8266s: Straight from Amiga to Linux in '95, never having owned a Windows PC.
- Forum member #248
Luciano
DD-WRT Novice


Joined: 23 Jul 2006
Posts: 29

PostPosted: Thu Mar 27, 2025 15:34    Post subject: Reply with quote
Thank you for tip I will try later.

Now I am testing vyos on vbox, configured in 10 min and testing now, I hope it is what I want.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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