Connect to another subnet using WLAN

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Mon Jan 02, 2023 15:23    Post subject: Connect to another subnet using WLAN Reply with quote
I have a dual band router.
Router Model: Dlink DIR-825
Firmware Version: DD-WRT v3.0-r37305 std (10/10/1Cool

Router address in local network: 192.168.1.10
Default WAN Port is used (Internet connection is STATIC or DHCP)

There is also a laptop with hotspot
laptop address: 192.168.137.1

It is necessary that clients from the 192.168.1.0 subnet can go to 192.168.137.1, while the WAN should be with the same settings as before.

Need to enable WLAN interface ATH0? But how to make everything work and WAN not be reset?
Sponsor
andreyua
DD-WRT User


Joined: 16 Jun 2010
Posts: 64

PostPosted: Wed Jan 04, 2023 13:45    Post subject: Reply with quote
A worthless and useless forum that has proven itself for a long time.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Wed Jan 04, 2023 14:39    Post subject: Reply with quote
If you run an outdated build and ask incomprehensible questions the chance of an answer is minimal Sad
_________________
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
andreyua
DD-WRT User


Joined: 16 Jun 2010
Posts: 64

PostPosted: Wed Jan 04, 2023 14:46    Post subject: Reply with quote
What is not clear in the question?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Wed Jan 04, 2023 15:59    Post subject: Reply with quote
Is your laptop connected to a hotspot or do you want it to become a hotspot?

What operating system is your laptop running?

How is you laptop connected to your router?

Is your router connected to the internet with is wan port and on its own subnet?

Why are you running an outdated build?

Just some very basic questions.

To give a meaningful answer you have to share more details, preferable a drawing of the network, screenshots etc.

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Thu Jan 05, 2023 10:43    Post subject: Reply with quote
Quote:
Is your laptop connected to a hotspot or do you want it to become a hotspot?

It already has a hotspot. Laptop address 192.168.137.1

Quote:
What operating system is your laptop running?

Windows 7

Quote:

How is you laptop connected to your router?

Laptop is not connected to the router. Because laptop already has a hotspot. The router should connect to the laptop.

Quote:
Is your router connected to the internet with is wan port and on its own subnet?

Yes, and router local subnet is - 192.168.1.0

Quote:
Why are you running an outdated build?

1. "If it ain’t broke, don’t fix it."
2. There is an assumption - that it is possible to solve the problem on the current build.

Quote:
To give a meaningful answer you have to share more details, preferable a drawing of the network, screenshots etc.

The network is very simple, why draw something there?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Thu Jan 05, 2023 10:59    Post subject: Reply with quote
I am not saying a current build can solve your problem better than an outdated build but your build has security issues just as Windows 7 is outdated security wise.

The question is, is the laptop connected to the internet via its wifi to a hotspot or is the laptop itself a hotspot to which other clients can connect?

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Thu Jan 05, 2023 11:05    Post subject: Reply with quote
Quote:
The question is, is the laptop connected to the internet via its wifi to a hotspot or is the laptop itself a hotspot to which other clients can connect?

"the laptop itself a hotspot to which other clients can connect"
Laptop ssid: Acer5336 (for more clarity)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Thu Jan 05, 2023 11:15    Post subject: Reply with quote
So I assume your laptop is the hotspot itself to which other clients can connect.

You could research to use the laptops ethernet port and connect that to your router.

You can setup a bridge on the router with the same subnet 192.168.137.0/24 and assign a LAN port to that bridge, that LAN port then connect to your laptop and this will connect the laptop with the router by bridging.

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Thu Jan 05, 2023 11:27    Post subject: Reply with quote
Quote:
You could research to use the laptops ethernet port and connect that to your router.

In my situation, this is not acceptable.

Quote:
You can setup a bridge on the router with the same subnet 192.168.137.0/24 and assign a LAN port to that bridge, that LAN port then connect to your laptop and this will connect the laptop with the router by bridging.

Will the WAN (Connection Type, settings, network interface, gateway, DNS, mask and so on) stay the same?
I repeat: the router must connect to the laptop via a WIFI connection.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Thu Jan 05, 2023 11:35    Post subject: Reply with quote
The router can connect to the laptop by using Client mode (there is a wiki for that: https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers ).

But then the WAN is used by the Client mode, so the next thing is to research Dual WAN setup so that you have the Client mode connected wirelessly to your laptop and the other WAN connected wired to the internet there are several wiki's for dual WAN

In theory that is possible in practice not easy

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Thu Jan 05, 2023 11:43    Post subject: Reply with quote
Quote:
The router can connect to the laptop by using Client mode (there is a wiki for that: https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers ).

I have already done this, after which the WAN is reconfigured.

Quote:
In theory that is possible in practice not easy

That's why I came here to ask this question Smile.
Could you please help me with this or give some good manuals on how to do it on DD-WRT? (because it's easier to do this on a Linux PC)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12887
Location: Netherlands

PostPosted: Thu Jan 05, 2023 11:57    Post subject: Reply with quote
If you had shared that information in the first place it would have saved us a lot of time.

https://wiki.dd-wrt.com/wiki/index.php/Dual%2C_Triple_%28and_probably_quad%29_WAN_with_multiple_active_WAN_links_and_source_routing

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


Joined: 16 Jun 2010
Posts: 64

PostPosted: Thu Jan 05, 2023 12:01    Post subject: Reply with quote
Thanks for the link.
I think I covered all this in my first post.
Per Yngve Berg
DD-WRT Guru


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

PostPosted: Thu Jan 05, 2023 12:18    Post subject: Reply with quote
Why don't you create a VAP and connect all computers including the old hot-spot?
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