Assigning common or similar IP format to all devices

gaurav247

Honorable
May 23, 2014
16
0
10,510
I have a modem router (1 port) telenet tndsl 2120 (with DHCP server enabled and LAN IP 192.168.1.1) connected to an 8 port switch. The switch then connects to 2 wireless routers in their respective WAN port. Each router has a different LAN IP address, SSID and DHCP server enabled. One desktop connects to 1 router, say router A.

Now, how should the configuration be like so that any wireless and wired device is assigned IP in the format 192.168.1.X or any format when connected to any of the networking devices.

My motive is to see all the devices connected and share files between devices, atleast between the devices connected to the two routers (a device connected with router A and a device connected to router B)
 
Solution
Connect each of the wireless routers to their LAN ports (not WAN) and disable the DHCP servers in them.

That should mean everything is on the same LAN and has IPs in the same range.

gaurav247

Honorable
May 23, 2014
16
0
10,510


okay, the IP is getting assigned the way i want, but i cannot access my router login page now!!!
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


IPs -
Modem - 192.168.1.1
Router A (Netgear) - 10.0.0.1
Router B (Cisco Linksys) - 10.10.0.1

I have only disabled Router A's DHCP server for trial. My desktop, laptop and my phone which are connected to router A cannot open the router page, login window does not appear. But they can open modem's setup page.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


I have disabled DHCP server for both the routers but still unable to access both the router setup page when i m writing their respective IPs in my browser. Does it have to do with their WAN or internet access type? I had selected automatically obtain (or dynamically) IP address.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


yea, thats okay, the 2 wires from the switch are connected to the LAN port of the routers but then why am i not able to open the setup page of my routers?
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


What is this config IP? i dont understand, could you please explain what should i do? Do u mean the LAN IP of the routers? I havent changed those, just disabled their DHCP servers, the LAN IP is the same as before...
Router A - 10.0.0.1
Router B - 10.10.0.1
Modem's LAN IP is the same as 192.168.1.1
i cant open the both the router's setup page when i type their IPs in browser. And yes, both the router's IP subnet mask in the LAN settings were 255.255.255.0, should i change this by resetting the router, because the only way to access the router setup page is to reset it.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510
so u mean to say that when i m able to access the router then i should change the LAN IP to 192.168.1.X? Wont there be any IP conflict? Should I check the IPs of all clients connected and find a value not present and use that?
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


from 2 to 254 (full range). should i decrease the range?
 

gaurav247

Honorable
May 23, 2014
16
0
10,510
had been busy for few days....
I tried to set my computer to static IP to 10.10.0.X and connected it to my cisco (router B) but still am not able to open the router page.
IP Address : 10.10.0.2
Subnet Mask : 255.255.255.0
Default Gateway : 10.10.0.1

and for DNS i wrote the same address which is set in my main router.
 

humangod

Reputable
Jun 17, 2014
63
0
4,660
Modem ----> Switch port 1
Switch port 2 ----> RouterA LAN port 1
Switch port 3 ----> RouterB LAN port 1

Switch IP: 192.168.1.1
Switch Subnet mask: 255.255.255.0
Switch DHCP: Enabled to give out the range of 192.168.1.50 - .254

Router A - LAN IP: 192.168.1.2
Router B - LAN IP: 192.168.1.3
Subnet mask on both: 255.255.255.0

Disable DHCP on both router A and B

You have the option of setting static IPs on your computers using any IP in the range of 192.168.10 - .49. Reserve .4 - .9 for future use. The subnet mask will always be 255.255.255.0. Your DNS and default gateway IP will be 192.168.1.1. If you don't want to use static, that's fine. DHCP will be handed out by your modem.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510
i m sorry, it was a fault on my part, i had not restarted my machine after changing the settings.
after a while i was able to access the login page of my cisco router and then changed its LAN IP to 192.168.1.X
Thnk u all.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510


well, i cant configure my switch because it cannot be configured. however, the problem is solved, thanks anyways :)
 

gaurav247

Honorable
May 23, 2014
16
0
10,510
So what i understand and to summarize

1. Decrease the DHCP range of the primary router (if required)

2. Connect each of the routers (except for the primary router) to their LAN ports (not WAN)

3. Make sure that the routers' LAN IP must be in the same format as the primary router's LAN IP (they should lie in the same subnet) like 192.168.1.X and the X should be out the DHCP range of the primary router.

4. Disable the DHCP servers in the routers (except for the primary router).
 

humangod

Reputable
Jun 17, 2014
63
0
4,660


correcto-mundo. the idea is to put everything on the same LAN.
 

gaurav247

Honorable
May 23, 2014
16
0
10,510
Another question, say I install a router in place of the switch with ethernet cable from the modem plugged into the WAN port and then all the remaining setup as same as before. Would there be any change in performance?
 

TRENDING THREADS