Issues Creating Separate Lan On EA6500v1."Solved"

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
native_tx
DD-WRT User


Joined: 26 Feb 2014
Posts: 169
Location: Texas

PostPosted: Sun Jan 28, 2024 21:09    Post subject: Issues Creating Separate Lan On EA6500v1."Solved" Reply with quote
Initially I had used R54914 then R55009 both ended up with some weird vlan3 being added to bridging table removing eth1 leaving eth2 vlan3 on br0.

You don't see this until after swconfig is configured separating port 1 -> cpuport is selected and saved, then selecting the Networking tab -> eventually adding a different ip range to further separate both networks.

The symptom is no 5ghz, no br1, no separate ip address, doesn't seem that swconfig is the problem.

In the Networking tab you will then notice the problem -> on the Bridging table section, after resetting the router using the reset button at least 3x's in a futile effort to figure out why vlan3 kept placing itself on br0 and so I had left it alone till today and by the way this is no cache problem or browser issue.

I do have the d-link dir-860l a1 on R54914 currently and it is working with the same config as it should but why not the EA6500v1 since I do have R54914 on the d-link and working?

Turns out no matter what even after clearing nvram vlan3_hwaddr is created what looks like on the get go, swconfig does not see this of course only in the Networking tab you see the problem but you don't know that vlan3 was already created and to correct it there are two variables that need to be created at least for me:

Start by adding these two variables, this will set the bridging table properly:
nvram set bat_eth1_bridge="eth1"
nvram commit

Next:
nvram set lan_ifnames="vlan1 vlan2 eth1 eth2"
nvram commit

These set where interfaces are.

I don't know what or why these are not created to complete this configuration as I had done on the d-link where it worked through the gui as for the EA6500v1 5ghz sits on eth1, 2.4ghz is on eth2 but I can't say if that is the reason or not for this odd behavior?

Long story short the EA6500v1 is configured and working using R55009 Linux 4.4.302-st48 mips as it should like the d-link was/is configured using R54914.

Regards.
Sponsor
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Mon Jan 29, 2024 8:46    Post subject: Reply with quote
I have no idea what you're saying.

All new interfaces are bridged with br0 by default settings.
No hwaddr are deleted on resets and your commands are all wrong.

you bridge eth1 with eth1 lol
and VLAN2 is also not a LAN interface

You don't need to manipulate anything in the nvram because you can configure the bridge assignments in the "networking" tab.

See my signature for help

_________________
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
native_tx
DD-WRT User


Joined: 26 Feb 2014
Posts: 169
Location: Texas

PostPosted: Mon Jan 29, 2024 15:31    Post subject: Reply with quote
In a normal circumstance as mentioned with my d-link setup was done, yes it should had went without issue with the EA6500v1.

I do not expect you to understand my workaround cause that is what it is a workaround to temporally correct a problem that presented itself at the time of configuring the router for my network needs.

The router is working fine no need to criticize users for a workarounds by using lol?

I am well aware of your link and it is very useful that is one of the reasons why I mentioned switch config was not the problem.

Currently the router is running okay showing both br0, br1 w/separate ip ranges.

Regards
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Mon Jan 29, 2024 16:31    Post subject: Reply with quote
Once again your workaround is wrong.

You are bridging eth1 with eth1 - correct would be with br0
By the way, the nvram variable is for BATMANADV - so completely useless

https://svn.dd-wrt.com/browser/src/router/httpd/visuals/portsetup.c#L250

VLAN2 is not a LAN interface

And what your "workaround" does can all be easily set in the GUI.

If eth1 is not bridged, simply create an entry under bridge assignment (assign to bridge br0 + eth1)

And I criticize that you post wrong instructions and probably don't even know what these commands do at all

_________________
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
native_tx
DD-WRT User


Joined: 26 Feb 2014
Posts: 169
Location: Texas

PostPosted: Mon Jan 29, 2024 17:08    Post subject: Reply with quote
Using the GUI 3x's didn't produce what should had work the first time even after clearing nvram.

If you want to keep repeating your workaround is wrong, sure that is fine.

Regards
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Mon Jan 29, 2024 17:20    Post subject: Reply with quote
It is, because you obviously don't understand what you're doing.

Quote:
nvram set bat_eth1_bridge="eth1"


firstly, you cannot bridge eth1 with eth1
secondly, this is not for normal bridging but for layer2 mesh (you can set this in the GUI, see screenshot)

Quote:
lan_ifnames="vlan1 vlan2 eth1 eth2"


thirdly, if you still don't understand, VLAN2 is not a LAN interface but the WAN interface.

The entry only defines what is bridged to br0 as LAN by default. (in the factory settings)

This can be changed at any time and even if an interface is not listed, it can be easily bridged via the GUI.


Topic closed congratulations on your great workaround hackerman



7869158691.jpg
 Description:
 Filesize:  9.42 KB
 Viewed:  458 Time(s)

7869158691.jpg



_________________
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


Last edited by ho1Aetoo on Mon Jan 29, 2024 18:37; edited 1 time in total
native_tx
DD-WRT User


Joined: 26 Feb 2014
Posts: 169
Location: Texas

PostPosted: Mon Jan 29, 2024 17:58    Post subject: Reply with quote
That screen shot is not in my gui as it was on the d-link.

Would it had been better to not had posted in the first place?

Do you want to delete my post to preserve your ego of being right and for me being wrong and not knowing what I am doing?

Have good day.



network.png
 Description:
 Filesize:  70.91 KB
 Viewed:  441 Time(s)

network.png


ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3005
Location: Germany

PostPosted: Mon Jan 29, 2024 18:04    Post subject: Reply with quote
You have to look at the normal "unbridged interfaces"

Then the layer 2 mesh setting appears. (see screenshot)

As I said, the nvram variable is not what you thought it was and it doesn't do anything because you can't bridge interfaces with themselves and even if you did, the variable wouldn't do anything because layer 2 mesh has to be activated first.

And it has little to do with my ego, we are just trying to fix bugs correctly and permanently for everyone.



7869158692.jpg
 Description:
 Filesize:  86.89 KB
 Viewed:  418 Time(s)

7869158692.jpg



_________________
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
Display posts from previous:    Page 1 of 1
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