E4200 - VLAN Switch Robo

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3  Next
Author Message
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 0:33    Post subject: E4200 - VLAN Switch Robo Reply with quote
I'm trying to enable VLAN support for my E4200 (build 30880)

The E4200 is connected upstream to a router on the WAN port (Connection Type: Disabled, Assign WAN Port to Switch -Checked).

The upstream network have untagged traffic and traffic (VLAN 10) - confirmed it is working by using a laptop or AP to verify

Once plug in to the WAN port, untagged traffic is working but I am unable to have the tagged traffic to Port 4 of E4200 LAN. The Port 4 will be connected to AP for untagged traffic and tagged VLAN 10 for different SSID.

Code:
rmmod switch-robo
insmod /jffs/switch-robo.ko
sleep 10
vconfig add eth0 10
sleep 5
ifconfig vlan10 up
sleep 5
echo "3t 4t 8t" > /proc/switch/eth0/vlan/10/ports
sleep 10


Any idea what is wrong on my configuration?
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1959

PostPosted: Fri Jan 12, 2024 1:28    Post subject: Reply with quote
Use the webUI VLANs / Switch Config page.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 2:03    Post subject: Reply with quote
I need to use this custom switch-robo thing. As I have another VLAN 600 that need to setup, but I am limited the scope to this for testing and validation.

Even the Webgui, do you know how to configure it correctly? I can't get it to work as well.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12923
Location: Netherlands

PostPosted: Fri Jan 12, 2024 6:48    Post subject: Re: E4200 - VLAN Switch Robo Reply with quote
maxiscool wrote:
I'm trying to enable VLAN support for my E4200 (build 30880)

Any idea what is wrong on my configuration?



Yes using an old and outdated build.
Current build is 54682.

Be sure to use the K3X build which uses Kernel 4.4

After update reset to defaults and setup from scratch, do not restore from a backup.

New builds can use the GUI (switch tab) to setup vlans

_________________
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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Jan 12, 2024 7:55    Post subject: Reply with quote
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335568

However, the GUI supports either tagged or untagged but not both on one port.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 15:28    Post subject: Re: E4200 - VLAN Switch Robo Reply with quote
egc wrote:
maxiscool wrote:
I'm trying to enable VLAN support for my E4200 (build 30880)

Any idea what is wrong on my configuration?



Yes using an old and outdated build.
Current build is 54682.

Be sure to use the K3X build which uses Kernel 4.4

After update reset to defaults and setup from scratch, do not restore from a backup.

New builds can use the GUI (switch tab) to setup vlans


What is the latest for E4200, I am trying to search, but can't find a build for 54682.
Nvm, hit soon foudn it on the broadcom, will give it a try.


Last edited by maxiscool on Fri Jan 12, 2024 15:31; edited 1 time in total
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 15:30    Post subject: Reply with quote
ho1Aetoo wrote:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335568

However, the GUI supports either tagged or untagged but not both on one port.


Command can do both?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12923
Location: Netherlands

PostPosted: Fri Jan 12, 2024 15:45    Post subject: Reply with quote
Although allowed by IEEE 802.1Q the use of untagged and tagged VLANs in one trunk is not recommended as there are appliances which do not play nice with it.

So if you can avoid it

_________________
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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Jan 12, 2024 15:47    Post subject: Reply with quote
maxiscool wrote:
ho1Aetoo wrote:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335568

However, the GUI supports either tagged or untagged but not both on one port.


Command can do both?


Yes, you can configure both via commandline.
But this is nonsense, if your device can tag 1VLAN then it can also tag both.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1959

PostPosted: Fri Jan 12, 2024 16:06    Post subject: Reply with quote
54905 dropped, but no threads yet:

https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-12-2024-r54905/

I wouldn't recommend K26, as that is what you are probably running.

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 16:21    Post subject: Reply with quote
dale_gribble39 wrote:
54905 dropped, but no threads yet:

https://ftp.dd-wrt.com/dd-wrtv2/downloads/betas/2024/01-12-2024-r54905/

I wouldn't recommend K26, as that is what you are probably running.


Cool, I'm updating to this now. You drop in just in time when I am just about to flash. So I will update this version instead.
maxiscool
DD-WRT Novice


Joined: 14 Feb 2012
Posts: 26

PostPosted: Fri Jan 12, 2024 16:26    Post subject: Reply with quote
ho1Aetoo wrote:
maxiscool wrote:
ho1Aetoo wrote:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335568

However, the GUI supports either tagged or untagged but not both on one port.


Command can do both?


Yes, you can configure both via commandline.
But this is nonsense, if your device can tag 1VLAN then it can also tag both.


OK. I will try to fix my upstream to provide VLAN.
Assuming I'm able to do that, is this how I configure my VLAN?



Screenshot 2024-01-13 at 12.24.14 AM.png
 Description:
 Filesize:  148.63 KB
 Viewed:  921 Time(s)

Screenshot 2024-01-13 at 12.24.14 AM.png


egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12923
Location: Netherlands

PostPosted: Fri Jan 12, 2024 16:32    Post subject: Reply with quote
you have to check the CPU port also.

Now you have a proper trunk on port 4 with VLAN 1 and VLAN 10

_________________
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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Jan 12, 2024 16:42    Post subject: Reply with quote
See the link in my signature with numerous examples.
The examples clearly show which settings need to be made.

These are not only switch settings but also settings in the "networking" tab etc

The threads are there so that users can inform themselves.

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3006
Location: Germany

PostPosted: Fri Jan 12, 2024 19:57    Post subject: Reply with quote
the CPU port must be ticked if you want to route VLAN10 into the router (if you want to use VLAN10 internally in the router)

However, if you only want to forward VLAN10 to another port, the CPU port does not necessarily have to be ticked

If you route VLAN10 into the router, you must remember that a VLAN10 interface is created which is bridged with VLAN1 via the standard setting.
So if you route VLAN10 into the router, you should unbridge VLAN10 - as you certainly don't want to have a bridge between the two VLANs.

Difficult to explain, maybe I'll create a diagram tomorrow

_________________
Quickstart guides:
use Pi-Hole as simple DNS-Server with DD-WRT
VLAN configuration via GUI - 1 CPU port
VLAN configuration via GUI - 2 CPU ports (R7800, EA8500 etc)

Routers
Marvell OCTEON TX2 - QHora-322 - OpenWrt 23.05.3 - Gateway
Qualcomm IPQ8065 - R7800 - DD-WRT - WAP
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum