1

I live in a small apartment building, and each room has a LAN port. For wireless access, I connected an iptime router to the port. Right now, it's configured with DHCP. Apparently, the LAN port in my room is actually connected to the building owner's router, so I can access 192.168.1.1 (my router) and 192.168.0.1 (the default gateway, which when accessed, gives me my landlord's router)/

This works sometimes -- but most of the time, it requires several restarts to get it right. (The router usually gets it right once I plug the laptop directly into the LAN port in the room just to check the internet, and then I reconnect the router to the port and the laptop to the router.) My guess is that some IP conflict is occurring because of the double DHCP.

So I decided to see if I can make it work as an access point. Here's what I did:

  1. change the IP address of the router to 192.168.0.201
  2. disabled DHCP
  3. turned on AP mode (apparently, this turns off NAT), and placed LAN IP as 192.168.0.1 and the DNS I got from directly connecting my laptop to the port.

With this, my laptop, when wired, can connect to the internet, but my phone can't. Most instructions for setting up access points require that the SSID/password are the same for both main router and access point, but this is impossible in my case.

Is there any other way I can connect seamlessly to the internet? If double SSID/password isn't possible, what can I do to make double DHCP avoid conflicts?

5
  • What do you mean by "placed LAN IP as 192.168.0.1"? Commented Jul 14, 2018 at 15:49
  • If you connect your Laptop, what is your IP, Gateway, DNS? Which Router-Model do you use?
    – Albin
    Commented Jul 14, 2018 at 16:47
  • My gateway is 192.168.0.1. When I try to access that via my computer, I get the router page of my landlord (apparently) -- it's iptime Q604. DNS is the default I get when I connect my laptop directly to the wall port, and is also the same as what I get when this double DHCP works. My router is ipTime N2plus-i.
    – irene
    Commented Jul 15, 2018 at 1:49
  • @irene so the DNS-Server you get via your land lords DHCP is that also 192.168.0.1?
    – Albin
    Commented Jul 15, 2018 at 9:50
  • @irene also, what is the IP your laptop gets from you're landlords DHCP?
    – Albin
    Commented Jul 15, 2018 at 10:57

1 Answer 1

1

How to configure your Router depends on the model.

If you connect to a "regular" LAN-Port in your router-device and turn on your rourter's DHCP there will be two DHCP Networks in the LAN, that won't work (regardless of the IP-settings)- period. Then you have to use the "Access-Point-Only-Function" of your router (no DHCP, no NAT, etc.). All the devices will get an IP (including Gateway and DNS) from your landlords DHCP. (You might want to talk to your landlord that he reserves an IP just for you and takes it out of the DHCP pool).

If you have a "special" port for an "incoming network only". You can turn on your routers DHCP and configure the whole thing with NAT enabled. Make sure you're router receives it's settings form your landlords DHCP.

Depending on your model/software your router-device might not even need an IP to be configured when it is in "Access-Point-Only-Mode". But if it does need an IP make sure to give it an IP that is not used within the network (192.168.0.X again, as long as it is not used in the network). You can also use an IP outside of 192.168.0.X e.g. 192.168.55.1 but then you need a divice with 192.168.55.X (anything but 1) to configure the router-device in the future.

I didn't use the official terminology, since you don't seem to be very familiar with it, let me know if you have any further questions.

PS. your setup is very similar to this one: WiFi cannot connect to internet in two router setup and this one: How to connect a wifi router to a cable modem router?

PPS. The same SSID is only required when you use multiple APs (one in your router and an additional one) but since you use your router as an access point this does not apply (unless you change your mind and want to extend your landlords Wifi so both of you can use the same configuration on your wireless devices)

2
  • Hi, thanks Albin. This router that I'm using allows me to use 2 "LAN IPs" for some reason when I enable hub access mode. But having my router work in DHCP works for me (if I'm lucky) -- does it mean my landlord's "router" is actually a modem?
    – irene
    Commented Jul 15, 2018 at 1:59
  • @irene very loosely speaking yes. A "modem" and a "router" are actually/usually two separate components build into one device (and so is the WiFi access point etc.). But it could also be that he set up modem and router in two separate devices.
    – Albin
    Commented Jul 15, 2018 at 9:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .