Creating another AP via second router

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

duckinferno
Posts: 14
Joined: Sun Jul 10, 2011 2:17 am

Creating another AP via second router

Post by duckinferno »

The set up:
I've got a TP-LINK modem/router connected to my DSL line and broadcasting wirelessly all fine. This is the master router. I've got an ethernet cable running down to my room at the other end of the house, where wireless reception is balls. Plugging this cable in directly to a PC works, so it's all working and fine up to this point. IP: 192.168.1.1/24

I have a Linksys WRT54GL with Gargoyle 1.3.15 installed which also has been working fine for months now. Prior to the ethernet cable's installation I was using it as a wireless repeater with success. I need to connect this slave router to the master router and have it broadcast wirelessly (same SSID or different, I don't care) as well as allow wired connections to it. It needs to be configured in such a way so the whole network acts as one, ie. I can use my slave-connected PC to connect to a master-connected PC, and still be able to download the interwebs of course. Current IP: 192.168.1.2/24

I've tried setting the slave to Gateway, connecting via DHCP, with the DHCP server off and the cable to the master router connected to the LAN ports rather than the WAN port. I am unable to ping 192.168.1.1. Connecting le cable to the WAN port doesn't help, nor does setting the WAN connection to a wired static ip (it doesn't help that I'm unsure what the "static ip" field wants... surely it'd just use the router ip?).

I'm sure this is meant to be the simplest thing in the world to do but I just can't seem to get it to work, even with a ton of googling. So... help me Gargy wan Oylobi, you're my only hope!

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Creating another AP via second router

Post by DoesItMatter »

I do this all the time.

Internet ->WAN of Router 1 (set IP of 192.168.x.1 for LAN)

LAN of Router 1 -> WAN of Router 2 (set WAN IP to 192.168.x.2!)

Router 1 - DMZ setting set IP of 192.168.x.2 as the DMZ

What this does is make router 2 look like its part of the original router

You can enable DHCP on Router 2 with a separate subnet
such as 192.168.y.1-250 etc

Because Router 2 is in the DMZ of router 1, it bypasses any firewall
settings on Router 1 - so make sure Router 2 has firewall enabled.

Router 2 can access shares, etc on Router 1 PC's, but you need to
do this via IP addresses - not computer names.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

duckinferno
Posts: 14
Joined: Sun Jul 10, 2011 2:17 am

Re: Creating another AP via second router

Post by duckinferno »

Thanks for the reply. Unfortunately I still can't seem to get it going!

So here's some pretty pics.

Router2's connection config page:
Image

My crappy diagnostics via putty and my pc's command line:
Image

I've set up router 1's DMZ to 192.168.1.2.

The wire setup...
Router 1:
DSL Modem -> Router 1's WAN port
Router 1 LAN port -> Router 2's WAN port
Router 2 LAN port -> My PC

I tried it with the default gateway of 127.0.0.0 home just in case as well, no difference. :X

duckinferno
Posts: 14
Joined: Sun Jul 10, 2011 2:17 am

Re: Creating another AP via second router

Post by duckinferno »

Ugh, those images don't play well with the forum. Direct links...

http://i.imgur.com/Voxfx.png
http://i.imgur.com/hNO2C.png

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Creating another AP via second router

Post by ispyisail »

Is this a subnet problem?

It looks like you have 3 routers? Are they all set-up as NAT?

if so what is the subnet address of all the 3 routers?

e.g.
192.168.1.x
255.255.255.0

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: Creating another AP via second router

Post by DoesItMatter »

If you have router 2 giving out DHCP, you HAVE to change the range.

I.e. - Router 1 = 192.168.1.xxx

Then Router 2 = 192.168.2.xxx

Router 1 WAN = DHCP from provider
Router 2 WAN = 192.168.1.2

Router 1 - sent DMZ = 192.168.1.2

Router 2 - set DNS = 192.168.1.1 <--- KEY!!!
you can have multiple DNS

So you can have Router 2 DNS = 192.168.1.1
208.67.222.222, 8.8.8.8, etc etc.

But the Router 2 DNS should have 192.168.1.1 first so you can
ping other parts of the net and outside.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Creating another AP via second router

Post by ispyisail »

@DoesItMatter

This was my suspicion but his post didn't make it clear

duckinferno
Posts: 14
Joined: Sun Jul 10, 2011 2:17 am

Re: Creating another AP via second router

Post by duckinferno »

I've got DHCP on the second router too yeah, though its range is 201-240 while router1's DHCP range is 100-200 so they shouldn't conflict. There's no third router.

I'll try adding the DNS tonight. :)

ispyisail
Moderator
Posts: 5185
Joined: Mon Apr 06, 2009 3:15 am
Location: New Zealand

Re: Creating another AP via second router

Post by ispyisail »

I've got DHCP on the second router too yeah, though its range is 201-240 while router1's DHCP range is 100-200 so they shouldn't conflict. There's no third router.
yes but they are still on the same subnet?

duckinferno
Posts: 14
Joined: Sun Jul 10, 2011 2:17 am

Re: Creating another AP via second router

Post by duckinferno »

ispyisail wrote:
I've got DHCP on the second router too yeah, though its range is 201-240 while router1's DHCP range is 100-200 so they shouldn't conflict. There's no third router.
yes but they are still on the same subnet?
Not anymore. I got some free time to try it using the suggested settings, and while it seems better, it.. well, isn't working quite yet. :X

I changed Router2's LAN to 192.168.2.1, its WAN to 192.168.1.2 and added 192.168.1.1 to the top of its DNS server list. Otherwise the settings are just as in the above pic (plus Router1's DMZ=192.168.1.2).

The result: I can ping things from my PC! Both routers, google, reddit, ISP's DNS servers, any external address.

But actually trying to load a webpage does nothing; it just sits there loading any given page for a good ten minutes before reporting failure. This includes Router1's homepage (192.168.1.1).

edit: it does seem like some things trickle through, eg. Router1 asked for its username/password, google managed to return the page title, etc.

Post Reply