router in client mode - another router, no internet service

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Mon Jul 25, 2022 14:24    Post subject: router in client mode - another router, no internet service Reply with quote
Hello,
Followed this guide to setup a tl-wr841n v7 as client router https://wiki.dd-wrt.com/wiki/index.php/Client_Mode_Wireless When connecting a desktop directly over one of its LAN ports, it works. But when connecting to the WAN port of the second router tl-wr841n v8, the v8 doesn't acquire WAN IP address. Both have r49492 installed. I would like to use the v8 as a WDS AP as well. The primary host router is a tl-wr940n v3 with stock firmware and a local IP address 192.168.0.1 which is set as a gateway address on the client router. The client has 192.168.1.13 as its router local IP and the v8 local IP is 192.168.1.14. Tried changing operation mode in advanced routing from gateway to router on the v8 but it doesn't seem to help, although I prefer NAT to work on both routers.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12873
Location: Netherlands

PostPosted: Mon Jul 25, 2022 14:36    Post subject: Re: router in client mode - another router, no internet serv Reply with quote
xanok wrote:
Hello,
Followed this guide to setup a tl-wr841n v7 as client router https://wiki.dd-wrt.com/wiki/index.php/Client_Mode_Wireless When connecting a desktop directly over one of its LAN ports, it works. But when connecting to the WAN port of the second router tl-wr841n v8, the v8 doesn't acquire WAN IP address. Both have r49492 installed. I would like to use the v8 as a WDS AP as well. The primary host router is a tl-wr940n v3 with stock firmware and a local IP address 192.168.0.1 which is set as a gateway address on the client router. The client has 192.168.1.13 as its router local IP and the v8 local IP is 192.168.1.14. Tried changing operation mode in advanced routing from gateway to router on the v8 but it doesn't seem to help, although I prefer NAT to work on both routers.


I am not entirely sure as to what you want to do.
The v7 is in client mode and working

Are yo connecting the v8 behind the v7 so with v7 LAN <> v8 WAN?

As it looks like all routers are having their own subnet use for the V7 192.168.1.1/24 and for the V8 192.168.2.1/24 (and your main router has 192.168.0.1/24)

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


Joined: 25 Jul 2022
Posts: 10

PostPosted: Mon Jul 25, 2022 17:58    Post subject: Re: router in client mode - another router, no internet serv Reply with quote
egc wrote:


I am not entirely sure as to what you want to do.
The v7 is in client mode and working

Are yo connecting the v8 behind the v7 so with v7 LAN <> v8 WAN?

As it looks like all routers are having their own subnet use for the V7 192.168.1.1/24 and for the V8 192.168.2.1/24 (and your main router has 192.168.0.1/24)


egc wrote:


Are yo connecting the v8 behind the v7 so with v7 LAN <> v8 WAN?



Yes, that's what I'm trying to do. Both of them should be creating their own subnets, right?
The v7, configured as it is, uses the wlan0 interface as WAN interface and has active NAT and firewall between the WAN and the LAN ports. That is, if I understood the wiki page correctly. It has active DHCP and DNS servers which seem to be working, at least with a client device - desktop with MX Linux, but the v8 doesn't get assigned an IP address for its ethernet WAN port. There might be other problems I'm not aware of but that's the only thing I can see for now.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2963
Location: Germany

PostPosted: Mon Jul 25, 2022 18:18    Post subject: Reply with quote
Quote:
tl-wr940n v3 192.168.0.1
tl-wr841n v7 192.168.1.13
tl-wr841n v8 192.168.1.14


If tl-wr841n v8 is connected via the WAN port, has a WAN interface and has its own DHCP server, it cannot be in the same subnet as the tl-wr841n v7
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Mon Jul 25, 2022 20:23    Post subject: Reply with quote
Thank you for your replies, egc and ho1Aetoo. As you both advised, I changed the local addresses to these:
tl-wr841n v7 192.168.1.13
tl-wr841n v8 192.168.2.14

But still the v8 does not get assigned an IP address for its WAN port. Tried to set a static IP for the WAN connection type, within the range of the v7's DHCP server - 192.168.1.150. The v8 displays an established WAN connection in the status page then, with uptime counting but still no internet access from v8's LAN. Also the NTP server does not get resolved from v7.
There were no problems with v8's DHCP client being assigned an address and autoresolving the NTP server from wr941n v3.
Just had to select a region for NTP.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Mon Jul 25, 2022 21:25    Post subject: Reply with quote
A diagram of the topology would probably make things clearer here. I presume the TL-WR940Nv3 is the main router / AP. Do both TL-WR841Ns connect wirelessly to the TL-WR940Nv3 or is one connected wired and the other wireless? Are there any VAPs involved in this network configuration?
_________________
"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
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Mon Jul 25, 2022 23:38    Post subject: Reply with quote
tl-wr940n v3 is the main router, connects to ISP network trough its ethernet WAN port. wr841n v7 is configured in client router mode https://wiki.dd-wrt.com/wiki/index.php/Client_Mode_Wireless it connects to wr940n wirelessly (wlan0 is the WAN interface). No problems so far. Then one end of a TP cable is connected to one of the LAN ports of wr841n v7 and the other end to wr841n v8 WAN port. End client devices don't have internet access when connected to wr841n v8 via wlan or ethernet. There must be some misconfiguration on v8.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1927

PostPosted: Tue Jul 26, 2022 0:51    Post subject: Reply with quote
TL-WR841Nv8 should be in gateway mode, WAN port set to DHCP auto configuration, and the local IP should be in a separate subnet as already described in previous comments. You shouldn't have to input any gateway or local DNS IP addresses. All clients connecting to the TL-WR841Nv8 should be using DHCP, no static IP addresses. Optionally, you could set up the TL-WR841Nv8 as a wired access point on the same subnet as the TL-WR841Nv7 and let the TL-WR841Nv7 do all the dirty work. If the TL-WR841Nv7 and it's immediate clients on the ethernet ports have Internet, then there is no issue there.

https://forum.dd-wrt.com/wiki/index.php/Wireless_Access_Point

_________________
"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
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Tue Jul 26, 2022 12:32    Post subject: Reply with quote
Changed these settings for the 841n v8:
In basic setup
WAN connection type from static IP to automatic - DHCP

network setup - router IP
Gateway from 192.168.1.13 to 0.0.0.0
local DNS from 192.168.2.14 to 0.0.0.0

both v7 and v8 are in gateway operation mode

Still no internet connection on v8. Why did the 841n v7 have no problems obtaining an address for its WAN interface but the 841n v8 can't.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2963
Location: Germany

PostPosted: Tue Jul 26, 2022 12:54    Post subject: Reply with quote
I would simply reset the router.
If I am not mistaken DHCP is the default setting.

And the router should automatically get a WAN address via DHCP after the reset.

I mean if DHCP works and other clients get addresses then the router should also get an address.
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Tue Jul 26, 2022 13:01    Post subject: Reply with quote
Yes, the 841n v7 DHCP server works for other clients. Will try resetting to defaults the 841n v8 later today
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Tue Jul 26, 2022 17:18    Post subject: Reply with quote
Reset the 841n v8, doesn't get an address for its WAN still
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2963
Location: Germany

PostPosted: Tue Jul 26, 2022 17:23    Post subject: Reply with quote
Does the router get a WAN address if you connect it to the tl-wr940n v3?

Is the cable also in OK?
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Tue Jul 26, 2022 17:36    Post subject: Reply with quote
ho1Aetoo wrote:
Does the router get a WAN address if you connect it to the tl-wr940n v3?

Is the cable also in OK?


What do you mean? Physically? The same cable works between 841n v7 and the desktop I use for configuration
xanok
DD-WRT Novice


Joined: 25 Jul 2022
Posts: 10

PostPosted: Tue Jul 26, 2022 17:37    Post subject: Reply with quote
I'm currently writing from that desktop connected to a LAN port of the 841n v7
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum