Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


lchiu7

6475 posts

Uber Geek

Trusted

#38027 23-Jul-2009 12:03
Send private message

I have a router/switch connected to an external Internet connection (dedicated line).  The router (a Linksys RV042) has 4 ports on it. It's replacing a DSL line so we also have a Netgear ADSL modem/router/switch in place. 

I want to retain the wireless capability but of course the Netgear can't be used as a router anymore. So in a test I disconnected the RJ11 and connected a port on the Netgear to the Linksys.  Now the Netgear was serving up addresses in the 192.168.0.x range while the Linksys uses 192.168.1.x.

Just using DHCP the PC I attached to the Netgear, got an address in the 0.x range and so it could not access the Internet until I hardcoded an address in the 1.x range. That is not useful as you can imagine.

Should I just leave both devices doing DHCP and change the range of addresses to be the same on both or disable DHCP on one device (possibly the Netgear) and let all addresses be resolved by the main router?

Any ideas appreciated

Thanks




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


Create new topic
rhysb
435 posts

Ultimate Geek

Trusted

  #238204 23-Jul-2009 12:08
Send private message

You'll need to disable one of the DHCP servers. You cannot have two DHCP servers on the same lan segment.








lchiu7

6475 posts

Uber Geek

Trusted

  #238210 23-Jul-2009 12:27
Send private message

I realise that. But should I also change the IP address of the wireless router to be in the same range as the main router? At the moment it's not. Does it matter?




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


magu
Professional yak shaver
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  #238236 23-Jul-2009 13:44
Send private message

You have a somewhat dysfunctional setup.

What I do in cases like yours is to set the main router a 192.168.0.1, the access point as 192.168.0.254 and enable only the DHCP on the main router, not the AP. Also, make sure you're NOT using the WAN port of your access point (if it has one), but one LAN port to connect it back to the main router (either directly or through a switch).

IP addresses are examples, of course, as I prefer the 10.x range.




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown



nate
6473 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #238281 23-Jul-2009 14:33
Send private message

lchiu7: Should I just leave both devices doing DHCP and change the range of addresses to be the same on both or disable DHCP on one device (possibly the Netgear) and let all addresses be resolved by the main router?


Disable DHCP on one device, specify your IP range with a few static assignments (say 192.168.1.20 to 192.168.1.254).  You can then use the lower range for any static devices such as photocopiers, web servers, wireless APs etc.


cr250bromo
222 posts

Master Geek


  #238291 23-Jul-2009 14:46
Send private message

I agree in this case is it is best to turn one of the DHCP servers off.

However it is possible to have two DHCP servers on the same subnet, as long as they have different pools which can be useful for failover.

EG one DHCP server may give out 10.1.0.1 - 10.1.0.50 and the other may give out 10.1.0.51 - 10.1.0.100. For static assignments via DHCP you code them into both, ie 00:1a:b1:c3:d5:b1 might be mapped to 10.1.0.150 on both dhcp servers.

magu
Professional yak shaver
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  #238294 23-Jul-2009 14:54
Send private message

Not a lot of DHCP servers on these routers support static assignments outside their scope (or address pool), so make sure you test it thoroughly.




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown

lchiu7

6475 posts

Uber Geek

Trusted

  #238296 23-Jul-2009 15:04
Send private message

I ended up doing the following.

1. Left DHCP on with the main router (which is connected to our dedicated Internet connection) with internal address 192.168.1.1

2. Turned off DHCP on the WAP which has an internal address of 192.168.0.1

The main router is connected to a main switch and also to the WAP

With some preliminary testing it seems wireless and wired clients are getting their addresses from the Linksys router and still able to access the Internet okay. So things appear to be fine.

The only issue is we cannot manage the WAP without changing the IP address on a PC to be in the right subnet but that's not thing we would do that often.

Thanks to all who commented




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


 
 
 

Free kids accounts - trade shares and funds (NZ, US) with Sharesies (affiliate link).
tonyhughes
Hawkes Bay
8476 posts

Uber Geek

Retired Mod
Trusted
Lifetime subscriber

  #238307 23-Jul-2009 15:58
Send private message

magu: You have a somewhat dysfunctional setup.

What I do in cases like yours is to set the main router a 192.168.0.1, the access point as 192.168.0.254 and enable only the DHCP on the main router, not the AP. Also, make sure you're NOT using the WAN port of your access point (if it has one), but one LAN port to connect it back to the main router (either directly or through a switch).

IP addresses are examples, of course, as I prefer the 10.x range.

I see OP has got a resolution sorted, but for future readers, I give a "+1" to this scenario from magu.







lchiu7

6475 posts

Uber Geek

Trusted

  #238413 23-Jul-2009 19:43
Send private message

Yes I might change the WAP address to 0.254. That means I can still manage it and I know DHCP will never give a client this address.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


Create new topic





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.