Connect a wlan router behind a cable router

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

I have the problem now that I can not access the router web interface of the gargoyle due to gateway. On my old router the gateway is 192.168.1.1 and I can access it but somehow gargoyle has the same gateway and there is no way to access it unless I change the gateway of my old router to something else. Unfortunately, after changing I can not access the web interface of the old router even when I unplug gargoyle. Of course I change the gateway on the network-manager, but no effects, no access of old router web interface. I can only do a reset and then it works again. This is a bit annoying. Do you know a way to access the web interface of the gargoyle without changing the default gateway of my old router? I will that the gateway of my old router remains 192.168.1.1.

I don't understand completly your advices. Should I set up a static IP (192.168.0.2) or should I still use the dynamic dhcp server on gargoyle? The scenario says that I need to set up a static IP and a different gateway. I have read the scenario already and I think that it should work. I could test it when I could access the router interface of the gargoyle. Is there an easy way to access it without changing the default gateway of the old router?

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Connect a wlan router behind a cable router

Post by nworbnhoj »

Sorry for all of the confusion - I am sure that we can get it working :-)
And when we do, I hope that you will guide me to improve the Wiki!

Firstly, a little background of how we are trying to set things up. We need to create two network segments.

The first network segment comprises the Modem LAN port, a physical cable, and the Gargoyle WAN port. That's it! In the scenario we assign static addresses ModemLAN=192.168.0.1 and GargoyleWAN=192.168.0.2 and the gateway for this segment is 192.168.0.1. If you need to access the Modem settings, then you can physically connect a Modem LAN port to a PC with static IP = 192.168.0.3

The second network segment comprises the Gargoyle LAN ports (and wifi) and all of your other devices. In the scenario we assign the GargoyleLAN=192.168.1.1; which is the Gateway for this segment. In the scenario, Gargoyle has LAN DHCP Server enabled so that Gargoyle can automatically assign IP addresses like 192.168.1.XXX to all of the devices on this segment. You can access the Gargoyle settings from a PC on this segment with IP=192.168.1.XXX (static or dynamic).
kevkra wrote:I have the problem now that I can not access the router web interface of the gargoyle

Probably because the PC did not have an IP address on the same segment as the ModemLAN.
kevkra wrote:Do you know a way to access the web interface of the gargoyle without changing the default gateway of my old router? I will that the gateway of my old router remains 192.168.1.1.
Yes, you could keep the ModemLAN=192.168.1.1 and set GargoyleWAN to 192.168.1.2 BUT you then must change the IP addresses on the second network segment to say GargoyleLAN=192.168.2.1 and other devices by DHCP will be 192.168.2.XXX

does this help? (I hope so)
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

Sorry, last reply was bullshit by my side. I have forgotten to reboot router. There is no problem to access router web interface of both routers. I just need to change it manually on the network-manager and reboot router.

Notwithstanding would there be a problem when LAN Address of old router would be 192.168.1.2 and gateway 192.168.1.1. I would set up static IP 192.168.1.3 on gargoyle. I don't like it to be 192.168.0.1 and 192.168.0.2.

I will not bother you but this scenario without bridge mode is a bit strange to me. Anyway, I will give it a try.
Last edited by kevkra on Mon May 04, 2015 9:54 am, edited 1 time in total.

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

Okay, now I understand it more.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Connect a wlan router behind a cable router

Post by nworbnhoj »

Just in case ...
kevkra wrote:Notwithstanding would there be a problem when LAN Address of old router would be 192.168.1.2 and gateway 192.168.1.1. I would set up static IP 192.168.1.3 on gargoyle. I don't like it to be 192.168.0.1 and 192.168.0.2.
Yes this is a problem!
nworbnhoj wrote:you could keep the ModemLAN=192.168.1.1 and set GargoyleWAN to 192.168.1.2 BUT you then must change the IP addresses on the second network segment to say GargoyleLAN=192.168.2.1 and other devices by DHCP will be 192.168.2.XXX
yes?!
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

Okay, let's do it with 192.16.0.XXX. It doesn't matter.I hope I understand it now: I just set up LAN Address of old router to 192.168.0.1. Then I set up on old router a static IP of 192.168.0.2. There is no need to change it on the network-manager of the PC because I don't need it. When I want to access modem settings I can do it by setting up a static IP (192.168.0.3) on a PC.

What do you mean with GargoyleWAN=192.168.0.2 exactly? Do I need to change the gargoyleWAN settings to 192.168.0.2? So the static IP in the old router should be 192.168.0.2, same as the gargoyleWAN? Finally I can use on gargoyle dhcp.

To sum up old router:
LAN 192.168.0.1
static IP 192.168.0.2
No dhcp.
Access of modem settings: 192.168.0.3

Gargoyle router: WAN 192.168.0.2
LAN: Just use DHCP

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Connect a wlan router behind a cable router

Post by nworbnhoj »

kevkra wrote:When I want to access modem settings I can do it by setting up a static IP (192.168.0.3) on a PC.
yes, and connect that PC to a LAN port on the old router

kevkra wrote:To sum up old router:
LAN 192.168.0.1
No dhcp.
Access of modem settings: 192.168.0.3

Gargoyle router: WAN 192.168.0.2
LAN: Just use DHCP
Our terminology is a little mixed ..... but

Old router LAN static IP 192.168.0.1
----- cable ------
Gargoyle router WAN static IP 192.168.0.2
Gargoyle router LAN IP 192.168.1.1
---- cable or wifi ------
devices DHCP assigned IP 192.168.1.XXX
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

Yes, sorry there can be only one static IP on the router which is in your case 192.168.0.1. I was looking at dynamic settings at this moment, therefore the misunderstanding.

Unfortunetly, this scenario can not work in my case because I can not allocate a static IP like 192.168.0.***. I can only choose the static IP range 192.168.1.***!!! 192.168.0.1 is only in dynamic mode possible. This is such a stupid router. I hope I can get rid of my old router soon. German government has finally made a new law that your ISP can not force you to use its buggy router. It should become law after european commission will accept it.


May you add such simple explanation to the wiki:
Old router:
static IP 192.168.0.1
no dchp

gargoyle router
Gargoyle router WAN static IP 192.168.0.2
Gargoyle router LAN IP 192.168.1.1

I didn't get it which settings on which router after first reading. I hope I can use sole gargoyle router soon. I will throw my old router away.

kevkra
Posts: 24
Joined: Tue Apr 28, 2015 7:59 am

Re: Connect a wlan router behind a cable router

Post by kevkra »

Do you think that my ISP do it on purpose? They offer you a router with no bridge mode and you can not allocate static IP like 192.168.0.***.

I guess it is not possible to run and control your traffic with other scenario. Therefore I have to wait when the new law will come into power, which should be in the near future. After that they must tell me all router settings so I can use my own router.

nworbnhoj
Posts: 916
Joined: Mon Jul 21, 2014 10:08 am
Location: Australia
Contact:

Re: Connect a wlan router behind a cable router

Post by nworbnhoj »

kevkra wrote:I can not allocate a static IP like 192.168.0.***. I can only choose the static IP range 192.168.1.
I that case you can...

Old router LAN static IP 192.168.1.1
----- cable ------
Gargoyle router WAN static IP 192.168.1.2
Gargoyle router LAN IP 192.168.2.1
---- cable or wifi ------
devices DHCP assigned IP 192.168.2.XXX
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E

Post Reply