Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't get DHCP to assign IP to my wireless devices.

My network config is as follows:

  1. Nanostation5
  2. Linksys WRT350N, which is connected with Nanostation via its INTERNET port.


LAN IP Address:
WLAN IP Address:
Network Mode: Router and is getting its IP via DHCP from my ISP
Gateway IP:

LAN Network settings:
IP Address:
Enable NAT: YES
Range ~ 250
Enable DNS Proxy: YES


Internet Connection Type: DHCP
Router IP:
Subnet Mask:
DHCP: Enabled
Start IP: ~ 120

Advanced Routing:
NAT: Enabled

What I can do is connecting manually with this config:

Subnet Mask:

Search domains: WRT350N

I want to be able to connect to both routers independently(now its for Nanostation, and for Linksys) and connect any wireless device using DHCP.

What should be IP ranges, masks, etc. on both devices?

share|improve this question

I do not understand what it is you are trying to achieve. What do you want to accomplish and why do think using two different subnets on home routers will do it?

The normal way multiple (home) routers are interconnected is to disable DHCP on all but one of them and (2) to put them all on the same subnet. Why? So that you won't have the conflict of both routers attempting to assign a different IP address for their subnet at the same time.

The other potential problem I see is that you have NAT enabled on both boxes. Why? Only 1 of the routers should be connected to the Internet and that is the one that needs to have NAT enabled. The other is basically just functioning as a switch and possible as a Wireless Access Point (WAP). You don't want to be NATing on top of NAT.

Maybe the info in this article will be of use to you.

Some additional thoughts:

I want to be able to connect to both routers independently

I wasn't clear on what you meant by that when I wrote the above. Looking at it again I'm wondering if you meant that you want to be able to connect wirelessly via either router. In other words, add one of the routers to the network of the other router as a another Wireless Access Point in the same wireless network.

If that's what you're trying to do then perhaps this article on how to add another WAP will help.

FWIW, the idea behind subnets is to provide a simple way to route packets. When using the Internet Protocol (IP), the first thing a device must do before sending a packet is decide whether or not the destination computer is on the same physical network or on a different/external network. In other words, can the packet be sent directly to the other computer on the local ethernet or does it need to be sent to a router to be resent to a physically external/different network.

If the destination IP is on the same subnet as the sending device, then the sender looks up the ethernet MAC address of the destination and then sends the IP packet directly on the local ethernet. If the destination IP is not in the same subnet as the sender, then the packet is sent to the router which tries to forward it to the destination network.

The home networks I'm familiar with are logically one physical ethernet network. All the devices should be able to talk directly to each other. So all the devices on a home network should be placed within the same subnetwork.

share|improve this answer

I don't know anything about the Nanostation, but here are a couple of suggestions.
(My home network is similar - I have a wireless router provided by my ISP, and a linksys.)

I looks like you have 2 different subnets in play - 192.168.2.x for the linksys, and 192.168.1.x for the Nanostation. I'd suggest starting by hard-coding the IP for the linksys to be something like, and then restricting the start IPs for each box so that they don't conflict.

If that doesn't work, or you need more wireless connections than that provides, you should be able to configure the linksys so that its WAN connection is .1.3 (for example) but its IP is .2.1 and it serves DHCP for the whole .2.x subnet.

One final problem you may have to deal with is the DNS settings for the network coming down from your ISP. I fixed that problem by simply using openDNS and hard-coding that into each router. (You could also use googles DNS servers if you prefer).

share|improve this answer
Also, NAT should be only enabled on the router connected to the Internet. – harrymc May 31 '10 at 17:10

If you have multiple DHCP servers on the same network, they will "fight" over assigned IP addresses.

Here's a brief explanation of how DHCP works:

When your computer sends out a request for a DHCP lease, it gets sent to the special broadcast IP,, which means that it is sent to every computer on the network, including both routers. If both routers receive this message, then both will send another broadcasted message to ask each computer on the local network whether they have any claim to the IP address it chooses. If nobody responds, DHCP sends a response back to the computer that requested an IP that says, essentially "Hi. I'm your friendly DHCP server. It's okay to use 192.168.0.x. By the way, here's the size of this network, and here are the IP addresses of the DNS servers we use, and the IP of the router you should send packets to to route them to a network that's larger than this one." If the computer receives more than one packet with this information in it, it will sometimes use the first one, and sometimes use the last one it received. You never know.

Okay, with that out of the way, what you should do is only allow ONE of the routers to act as a DHCP server, and, for network uniformity, use a range of IP addresses that fit in the same IP mask.

The IP mask you have configured, in the subnet will only cover IP addresses from through The IP addresses of the other router is, which does not fall in that range. I would recommend increasing the size of the network mask to a class b network, or Either that, or you could configure your other router to have an IP address of or something.

share|improve this answer

Why can't you do this? Can I Chain Two Routers Together Keeping DHCP on Both?

This is an answer from another, I'll be trying that this evening doing the same thing.

share|improve this answer
Welcome to Super User! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Cfinley Aug 14 '14 at 13:55
@Cfinley it's a Superuser link, so it won't die unless entire website goes down. In such cases flagging as a duplicate is appropriate. – gronostaj Aug 14 '14 at 15:18
@gronostaj Although it is a Super User link, it can still suffer form link rot if that answer (or question) ever gets deleted. It is for this reason, although it might never happen, that I left the comment. Please let me know if I should still delete my comment. Thanks for pointing this out. – Cfinley Aug 14 '14 at 15:35

You must log in to answer this question.

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