Bridging just one LAN port?

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


Joined: 20 Jul 2022
Posts: 13

PostPosted: Wed Mar 08, 2023 21:45    Post subject: Bridging just one LAN port? Reply with quote
How this is done in v3 web interface?
Am I right that:
eth0 = physical network interface
eth1 = physical interface for 2.4 GHz
eth2 = physical interface for 5 GHz

vlan1 = virtual interface for all lan ports
vlan2 = virtual interface for wan port
?

Since there is no documentation about these basic things.

I tried to put LAN port 4 to its own vlan (vlan 3) and then bridging vlan 2 (WAN) to it.
It worked in a way that router connected to that port4 got external IP.
But then dd-wrt router's wifi & other lan ports didn't get internet connection any more.

Is it so, that WAN can be pointed to just one vlan and that's why this very usual function to bridge just one lan port and kee the others (+wlan) behind NAT?
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Thu Mar 09, 2023 11:09    Post subject: Reply with quote
Welcome to the forum

The General questions forum is not the proper forum to ask these questions.

Please state router model and build number so that I can move this thread to the appropriate forum.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
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
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Thu Mar 09, 2023 21:23    Post subject: Reply with quote
egc wrote:
Welcome to the forum

The General questions forum is not the proper forum to ask these questions.

Please state router model and build number so that I can move this thread to the appropriate forum.

See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Linksys WRT610N V2.0

I would assume that this kind of functionality would be same for all across the devices, but it is not?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Thu Mar 09, 2023 21:37    Post subject: Reply with quote
Moved to Broadcom.
Vlans are router specific, when in doubt just use the router specific forum.

What buildnumber are you using?

_________________
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
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 10:18    Post subject: Reply with quote
egc wrote:
Moved to Broadcom.
Vlans are router specific, when in doubt just use the router specific forum.

What buildnumber are you using?

DD-WRT v3.0-r44715 mega (11/03/20)

So I'd like to have 2 external IPs.
I'm starting to think that there's no way to do this with dd-wrt.
If there is only one WAN and it is either NATted or not, how can you offer NATted service to wifi and 3 lan ports and non-NATted service to one lan port...


Last edited by toke lahti on Fri Mar 10, 2023 11:10; edited 1 time in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Mar 10, 2023 10:37    Post subject: Reply with quote
That is an old and outdated build.

Lots has changed particularly on the VLAN side.

Upgrade to a recent build and *after* upgrading reset to defaults and put settings in manually, never restore from a backup (to a different build).

It would have helped if you had read the forum guidelines, then you would have known how and where to post and how and where to download and to avoid the router database.

So I will send you the link again:
See the forum guidelines with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

_________________
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
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 12:22    Post subject: Reply with quote
#1
I have read the guidelines and tried to find all by myself, but there seems to be a riddle after every corner.
I did not flash this device, I got it already flashed.

#2
I find it strange that you didn't answer my question, although you used all the time to reply me.

So, to answer to my own question:
Yes, you put that lan port to the same vlan than where your WAN is.

#3
Can you point me to the latest firmware for this?

I tried to find it from betas, but it's not there.
There seems to be no place, which would tell that in what date the latest version for WRT610NV2 was released.
Instructions clearly say that NEVER EVER use the router database (which might mean "Supported Devices"?).
So, that's what I need to do. To find out that I's have to go over to the OpenWRT side to flash my WRT610NV2 to E3000 and then come back to dd-wrt and install the latest fw?

Correct?
EDIT: 5 years old links in device page does not work anymore.

#4
It is very hard to find things in wiki.dd-wrt, since, at least with chrome, it does not have a search function.
I this by design?

#5
If I'd know where to insert this:

eth0 = physical network interface
eth1 = physical interface for 2.4 GHz
eth2 = physical interface for 5 GHz

vlan1 = virtual interface for all lan ports
vlan2 = virtual interface for wan port

for the beginners, I'd certainly do it.
Because this is essential information to get started and I couldn't find it anywhere.


Last edited by toke lahti on Fri Mar 10, 2023 14:03; edited 1 time in total
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3002
Location: Germany

PostPosted: Fri Mar 10, 2023 12:36    Post subject: Reply with quote
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/03-05-2023-r51937/broadcom_K26/
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/03-05-2023-r51937/broadcom_K3X/

Small help which files are used: https://dd-wrt.com/support/router-database/?model=WRT610N_2.0

be careful with the wrong file you can brick the router

He probably won't answer your questions since we have absolutely no idea what you want to do.
bridging the WAN and LAN interface - absolutely great idea - not.

If you want to have a second WAN port you have to add a second WAN port.



81111111185.png
 Description:
 Filesize:  61.68 KB
 Viewed:  856 Time(s)

81111111185.png


egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Fri Mar 10, 2023 12:47    Post subject: Reply with quote
I could not answer you because you did not provide the necessary information e.g. router model and build number.

I understand it is a lot of reading you have to do especially as there is a v1 and a v2 and you can choose among different kernels but the forum guidelines lead you to the supported devices there you can find the WRT610nV2 with a link to the install guide, the install guide will lead you to the build for the first flash and to recent builds:

Quote:
If installing DD-WRT for the first time on your WRT610N, you need to use a trailed (hardware-specific) build:

Initial flash for v1 only: (14929) dd-wrt.v24_mega_wrt610n.bin
Initial flash for v2 only: dd-wrt.v24-14929_NEWD-2_K2.6_mini_wrt610nv2.bin
Alternately use https://download1.dd-wrt.com/dd-wrtv2/downloads/ in place of ftp://ftp.dd-wrt.com/

Then upgrade to a newer good generic build (non-trailed build like mega.bin). For more build information see here.


Which will steer you to:
Quote:
Step 2: Choose the correct build folder:

Atheros, Ralink, and Marvel builds are in the router-named folders. Ensure you have the right version!
Broadcom ARM (and MIPS with NAND flash, ex: Netgear WNDR4500) routers also have named folders
Broadcom MIPS routers with NOR flash use one or more of the broadcom* folders
broadcom - kernel 2.4 builds for very old routers (ex: Linksys WRT54Gv5)
Builds with special in the name can authenticate with 802.11x in client mode (PEAP, TLS, etc.)
broadcom_K26 - kernel 2.6 builds for old routers, but many routers that run K26 can also run K3X (ex: Linksys E2500) with better USB support, and k3.10+ supports SFE accelerated NAT since 33006
Some routers can use k2.4 or k2.6, others can use k2.6 or k3.x, but many will brick on different versions
broadcom_K3X - kernel 3.x builds for newer Broadcom MIPS models with NOR flash (ex: Asus RT-N66U).
K3X builds also expand the default nvram
x86 and x64 (x86_64): see X86

Step 3: Download the correct file in the folder


To summarize newer builds can be found at:
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/03-08-2023-r51976/broadcom_K3X/
That is if you want the K3X version

Those are not things I know by heart so I had to reread and do the work for you, you are welcome

_________________
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: 3002
Location: Germany

PostPosted: Fri Mar 10, 2023 12:56    Post subject: Reply with quote
https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT610N
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 14:27    Post subject: Reply with quote
ho1Aetoo wrote:
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/03-05-2023-r51937/broadcom_K26/
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2023/03-05-2023-r51937/broadcom_K3X/

Small help which files are used: https://dd-wrt.com/support/router-database/?model=WRT610N_2.0

w00t,
the newest build IS 44715, which I already have?
ho1Aetoo wrote:

be careful with the wrong file you can brick the router

He probably won't answer your questions since we have absolutely no idea what you want to do.
bridging the WAN and LAN interface - absolutely great idea - not.

If you want to have a second WAN port you have to add a second WAN port.

Well, how do you define a WAN port?
Bridging one lan port isn't usually called "adding wan port", is it?
But I see that gridged lan port is wan port in perspective of the next device.
I'd call this a "passthrouhg" port.
But I understand this now, wan port can be "wan in" or "wan out".
Is my headline (oh gosh, the page does not even show it anywhere, when replying...) "Bridging just one LAN port?" hard to understand?

So, should I try to upgrade this E3000?
What are the benefits?

I guess
https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT610N
is for v1 and
https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT610N_v2.0
is for v2.

Maybe the page for v1 is even older, no dates anywhere?
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 14:33    Post subject: Reply with quote
I guess the router database and then the pic just show wrong versions?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3002
Location: Germany

PostPosted: Fri Mar 10, 2023 14:35    Post subject: Reply with quote
So again both egc and I have sent you links to current firmware versions.

the last two build are r51937 and r51976

and again the router database is not up to date


and if VLAN2 is your WAN interface then add an additional port to VLAN2.

Then you have 2 WAN ports.
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 14:42    Post subject: Reply with quote
ho1Aetoo wrote:
bridging the WAN and LAN interface - absolutely great idea - not.

Is there another way to have second external IP for other Router?

Maybe this something else, a terminology issue, but ALL manufacturers GUIs call this "bridging".
toke lahti
DD-WRT Novice


Joined: 20 Jul 2022
Posts: 13

PostPosted: Fri Mar 10, 2023 14:49    Post subject: Reply with quote
Btw, when I started using this WRT610nv2, I noticed that it was a bit flaky after longer period of use.
I checked that load and mem use were too high, so I took 2.4GHz wifi off.
That helped, but if I now want to use the 2.4GHz band also, should I install the K2.6 firmware?
Is it easier on loads and mem usage?
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
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