Jump to content

Setting router as AP - IP question

Filingo
Go to solution Solved by Naijin,
3 minutes ago, Filingo said:

It's very old, TP-Link TL-WR1043N

I used roughly the same router years ago, try this:

https://www.tp-link.com/nl-be/support/faq/1384/

 

Pay attention to step 7, don't use that single blue(?) ethernet port but only use the grouped LAN ports (for uplink and devices).

Main Router A of ISP has IP range of 192.168.1.2 - 192.168.1.254

 

Router B default IP is 10.0.0.138.

 

I disabled DHCP - do I also need to change its IP manually to an IP in the range of Router A? Or once I disable DHCP it will be done automatically by Router A?

 

Or, I need to manually set Router B's IP to an unused IP in the range of Router A, for example 192.168.1.200, and then manually assign this IP in Router A settings?

 

And what about Router B's default gateway?

 

Ty!

Link to comment
Share on other sites

Link to post
Share on other sites

Unless you want the AP to be able to communicate outside of you LAN (probably not) it won't need a gateway.

Technically the IP you will be using on router B is for "maintenance only" and shouldn't affect it's ability to act as an AP at all, but it's a router and not an AP so putting it's address in 192.168.1.0/24 is probably a good idea.

If you set the DHCP pool on router a to 192.168.1.2-240 you'll have some spare addresses (241-254) you can manage yourself without the nuisance of logging in to it and having to "assign" them.

 

If you can't make act as a proper AP, and have to use it's routing capabilities to create another "lan inside the lan" then it becomes more complicated.

Link to comment
Share on other sites

Link to post
Share on other sites

You dont need to touch anything on the main router.

 

On the slave router:

Disable DHCP server.

Gateway : 192.168.1.1 (the main router ip address).

slave router ip address : set manually to something like 192.168.1.255 (make it exclusive)

(if available) working mode : access point  or repeater.

Ryzen 5700g @ 4.4ghz all cores | Asrock B550M Steel Legend | 3060 | 2x 16gb Micron E 2666 @ 4200mhz cl16 | 500gb WD SN750 | 12 TB HDD | Deepcool Gammax 400 w/ 2 delta 4000rpm push pull | Antec Neo Eco Zen 500w

Link to comment
Share on other sites

Link to post
Share on other sites

26 minutes ago, SupaKomputa said:

You dont need to touch anything on the main router.

 

On the slave router:

Disable DHCP server.

Gateway : 192.168.1.1 (the main router ip address).

slave router ip address : set manually to something like 192.168.1.255 (make it exclusive)

(if available) working mode : access point  or repeater.

You wouldn't want to use static address 192.168.1.255 in a /24 range 😉 

 

1 hour ago, Filingo said:

Main Router A of ISP has IP range of 192.168.1.2 - 192.168.1.254

 

Router B default IP is 10.0.0.138.

 

I disabled DHCP - do I also need to change its IP manually to an IP in the range of Router A? Or once I disable DHCP it will be done automatically by Router A?

 

Or, I need to manually set Router B's IP to an unused IP in the range of Router A, for example 192.168.1.200, and then manually assign this IP in Router A settings?

 

And what about Router B's default gateway?

 

Ty!

What brand/model is your router B?

 

Check the manual of your router, most manuals will list a procedure on how to set up AP/switch mode. On most routers it's disable DHCP and use the (usually) 4 ports for LAN only, the WAN/uplink port can cause issues on some routers (my ASUS and TP-Link listed that as DO NOT USE with AP mode). Your router will basically be running as a network switch so no need for default gateways etc.

 

If possible, just edit your DHCP range and reserve about 10-20 addresses, maybe even limit the range from ex. 192.168.1.2-192.168.1.150 (how often do you use 149 clients?) and the lease to 8-24 hours. That way you can use a few static addresses if you ever feel the need to without accidentally setting a duplicate.

Link to comment
Share on other sites

Link to post
Share on other sites

59 minutes ago, Ralphred said:

Unless you want the AP to be able to communicate outside of you LAN (probably not) it won't need a gateway.

Technically the IP you will be using on router B is for "maintenance only" and shouldn't affect it's ability to act as an AP at all, but it's a router and not an AP so putting it's address in 192.168.1.0/24 is probably a good idea.

If you set the DHCP pool on router a to 192.168.1.2-240 you'll have some spare addresses (241-254) you can manage yourself without the nuisance of logging in to it and having to "assign" them.

 

If you can't make act as a proper AP, and have to use it's routing capabilities to create another "lan inside the lan" then it becomes more complicated.

 

33 minutes ago, Naijin said:

You wouldn't want to use static address 192.168.1.255 in a /24 range 😉 

 

What brand/model is your router B?

 

Check the manual of your router, most manuals will list a procedure on how to set up AP/switch mode. On most routers it's disable DHCP and use the (usually) 4 ports for LAN only, the WAN/uplink port can cause issues on some routers (my ASUS and TP-Link listed that as DO NOT USE with AP mode). Your router will basically be running as a network switch so no need for default gateways etc.

 

If possible, just edit your DHCP range and reserve about 10-20 addresses, maybe even limit the range from ex. 192.168.1.2-192.168.1.150 (how often do you use 149 clients?) and the lease to 8-24 hours. That way you can use a few static addresses if you ever feel the need to without accidentally setting a duplicate.

Thank you guys, this router as an option to leave the gateway ip blank as it's "optional" when I disable DHCP, so that would be the best to leave it blank completely?

 

One more thing I noticed is that even though I disable DHCP, it still wants me to set "Start IP Address" and "End IP Address", and I can't leave it blank - what should I set there?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Filingo said:

 

Thank you guys, this router as an option to leave the gateway ip blank as it's "optional" when I disable DHCP, so that would be the best to leave it blank completely?

 

One more thing I noticed is that even though I disable DHCP, it still wants me to set "Start IP Address" and "End IP Address", and I can't leave it blank - what should I set there?

What's your make and model of router? Did you check the manual?

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Filingo said:

It's very old, TP-Link TL-WR1043N

I used roughly the same router years ago, try this:

https://www.tp-link.com/nl-be/support/faq/1384/

 

Pay attention to step 7, don't use that single blue(?) ethernet port but only use the grouped LAN ports (for uplink and devices).

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Naijin said:

I used roughly the same router years ago, try this:

https://www.tp-link.com/nl-be/support/faq/1384/

 

Pay attention to step 7, don't use that single blue(?) ethernet port but only use the grouped LAN ports (for uplink and devices).

Perfect! It's almost what I did! So it should work,

Ty!

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Filingo said:

Perfect! It's almost what I did! So it should work,

Ty!

Most modern routers have an AP mode these days where you can simply click a button and everything works.

 

I used to have a "Frankenstein" network at my parents' house when I still lived there, adding piece by piece (wireless modem, Asus router, TP-Link router, some unmanaged switches). I completely changed the network 2 years ago with Unifi equipment (a Fortigate firewall, 2x Unifi switch and 2x Unifi AP) and it works so much better, managing is a lot easier. Since moving out I have a Fortigate and Unifi equipment myself, managing those 2 sites with 1 controller and a tunnel between those networks. Is it necessary? No. Is it fun to set up? Yes.

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Naijin said:

Most modern routers have an AP mode these days where you can simply click a button and everything works.

 

I used to have a "Frankenstein" network at my parents' house when I still lived there, adding piece by piece (wireless modem, Asus router, TP-Link router, some unmanaged switches). I completely changed the network 2 years ago with Unifi equipment (a Fortigate firewall, 2x Unifi switch and 2x Unifi AP) and it works so much better, managing is a lot easier. Since moving out I have a Fortigate and Unifi equipment myself, managing those 2 sites with 1 controller and a tunnel between those networks. Is it necessary? No. Is it fun to set up? Yes.

planning to get something new soon, this is temporary 😄 thank you

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Naijin said:

I completely changed the network 2 years ago with Unifi equipment (a Fortigate firewall, 2x Unifi switch and 2x Unifi AP) and it works so much better, managing is a lot easier. Since moving out I have a Fortigate and Unifi equipment myself, managing those 2 sites with 1 controller and a tunnel between those networks. Is it necessary? No. Is it fun to set up? Yes.

That's certainly a matter of opinion, I still prefer to keep everything independent rather than having to waste resources running a controller (or lord forbid a cloud one, which is kinda useless if you're trying to fix lack of connectivity) that has 10000 options I don't need and can't use unless I tie myself into their ecosystem.

I wish we had an open standard for this sort of thing (SNMP is rather dated and always seems to be implemented feature incomplete, eg my Zyxel doesn't report WiFi client link rates) so you had options for what controller you want to use regardless of brand, but of course they can't tie you into their brand if they do that.

Maybe now OpenWRT are supporting switches they will slowly develop some sort of back-end to do this.

Router:  Intel N100 (pfSense) WiFi6: Zyxel NWA210AX (1.7Gbit peak at 160Mhz)
WiFi5: Ubiquiti NanoHD OpenWRT (~500Mbit at 80Mhz) Switches: Netgear MS510TXUP, MS510TXPP, GS110EMX
ISPs: Zen Full Fibre 900 (~930Mbit down, 115Mbit up) + Three 5G (~800Mbit down, 115Mbit up)
Upgrading Laptop/Desktop CNVIo WiFi 5 cards to PCIe WiFi6e/7

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×