Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Cannot connect to modem but can connect to router
New Posts  All Forums:Forum Nav:

Cannot connect to modem but can connect to router

post #1 of 2
Thread Starter 
I have a DSL modem that has the IP 192.168.1.1 as the listed IP address on the bottom. I have a wireless router flashed with Tomato which also has the same IP address. I changed one number to 192.168.1.2 on the router and it connects fine. However, I cannot connect to the modem 192.168.1.1 even though the router is not using the same IP. I tried restarting and resetting both items but no luck. Any help would be great.
    
CPUMotherboardGraphicsRAM
i7 930 EVGA x58 SLI LE Sapphire 6950 2GB FleX Corsair Dominators 2000Mhz 8-8-8-24 
Hard DriveHard DriveHard DriveCooling
Seagate Intel 320 Series SSD Western Digital Velociraptor Thermalright Ultra Extreme 
OSMonitorPowerCase
Windows 7 Professional x64 Samsung SyncMaster 2494LW Antec Earthwatts 650W Antec Nine Hundred 
Audio
Creative Titanium HD 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 930 EVGA x58 SLI LE Sapphire 6950 2GB FleX Corsair Dominators 2000Mhz 8-8-8-24 
Hard DriveHard DriveHard DriveCooling
Seagate Intel 320 Series SSD Western Digital Velociraptor Thermalright Ultra Extreme 
OSMonitorPowerCase
Windows 7 Professional x64 Samsung SyncMaster 2494LW Antec Earthwatts 650W Antec Nine Hundred 
Audio
Creative Titanium HD 
  hide details  
Reply
post #2 of 2
Make sure the router is not using the same subnet mask and gateway as the modem otherwise you'll probably run into a conflict because the system will not be able to distinguish the difference between the devices.

Example of a correct configuration for a home network:

Router IP: 192.168.0.1 Subnet Mask: 255.255.255.0
Router Lease IP Address Ranges: 192.168.0.100-192.168.0.199
Modem IP: 192.168.100.1 Subnet Mask: 255.255.254.0

So if your modem is 192.168.1.1 and your router is manually set to 192.168.1.2 you are on an IP address that should be leased by the modem automatically to the router. Technically the IP address gateway of the modem should lease all addresses from ranges 192.168.1.2-192.168.1.254 but in this case it shouldn't need to because you only have one port on the modem unless it's a combo modem+router. So if you try to log into the modem using 192.168.1.1 with your router set to 192.168.1.2 it will instead look for a device connected to the router because your PC is currently connected to the gateway 192.168.1.2. Basically don't use the same gateway of the modem for the router i.e. 192.168.1.xxx, instead change the gateway of your router to something like 192.168.0.1 so when you enter 192.168.1.1 and your computer is on gateway 192.168.0.xxx leased from the router from 192.168.0.1 it will know to look for a different gateway. Confusing right?

Hopefully I explained that correctly. I had trouble many years ago first learning how to network properly understanding how gateways and subnet masks work. Before manufactures would use the same gateways for the modem and the routers and if you weren't knowledgeable about networks your internet connection wouldn't work after you put a router in between your PC and the modem. But now most manufacturers usually try to not use the same default gateway/subnet mask for the modem and router so you don't have this problem.
Skylake Is Here!
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6700K Batch #L535B021 4.7Ghz @ 1.296V GIGABYTE G1 Gaming GA-Z170X-Gaming 7 EVGA Geforce GTX 970 SSC ACX 2.0+ G.SKILL TridentZ 16GB DDR4 3000 
Hard DriveHard DriveHard DriveCooling
Samsung 950 Pro M.2 512GB  Crucial BX100 250 GB SanDisk SSDPlus 240 GB NZXT Kraken X61  
OSMonitorKeyboardPower
Windows 8.1 & 10 Dell UltraSharp 2913WM 21:9 2560x1080 Ducky Shine 4, CODE WASD, Deck Legend, G710+ EVGA SuperNova G2 850W 
CaseMouseMouse PadAudio
Phanteks Enthoo Evolv ATX Mid-Tower Ducky Secret SteelSeries Fostex Purple Heart TH-X00 
Audio
AKG K553 Pro, Philips SHP9500, Superlux 668B, S... 
  hide details  
Reply
Skylake Is Here!
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 6700K Batch #L535B021 4.7Ghz @ 1.296V GIGABYTE G1 Gaming GA-Z170X-Gaming 7 EVGA Geforce GTX 970 SSC ACX 2.0+ G.SKILL TridentZ 16GB DDR4 3000 
Hard DriveHard DriveHard DriveCooling
Samsung 950 Pro M.2 512GB  Crucial BX100 250 GB SanDisk SSDPlus 240 GB NZXT Kraken X61  
OSMonitorKeyboardPower
Windows 8.1 & 10 Dell UltraSharp 2913WM 21:9 2560x1080 Ducky Shine 4, CODE WASD, Deck Legend, G710+ EVGA SuperNova G2 850W 
CaseMouseMouse PadAudio
Phanteks Enthoo Evolv ATX Mid-Tower Ducky Secret SteelSeries Fostex Purple Heart TH-X00 
Audio
AKG K553 Pro, Philips SHP9500, Superlux 668B, S... 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › Cannot connect to modem but can connect to router