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 have two dd-wrt devices, one acting as a switch (connected by EoP), and one as an AP (connected by CAT5e). Clients connected to the AP can view the whole network, but clients connected to the router only see clients also connected to it (except the two dd-wrt devices).

They are on the same subnet and all clients have internet. Oddly enough, right after I reboot the router I can see the whole network, but after a few minutes, it is gone.
How can I view the whole network from the router?
Routing Table while connected to router (

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 wlan0     U     1000   0        0 wlan0   U     2      0        0 wlan0

Routing Table while connected to AP (

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface         UG    0      0        0 wlan0     U     1000   0        0 wlan0   U     2      0        0 wlan0

(They are identical) I used:

# route -n

share|improve this question
Have you turned DHCP off in the DD-WRT's? – MariusMatutiae Jan 8 '14 at 11:14
@MariusMatutiae Yes, it is set to DHCP forwarder with address (the router). I just scanned my network and it appears to work (for now). I'll scan again later to be sure. In any case, would you think this would be resolved if I switched to another firmware such as Openwrt? Thanks for your help. – Ruben Jan 9 '14 at 1:10
I just checked again and whilst connected to the router I cannot see the whole network except its wireless clients. – Ruben Jan 9 '14 at 1:17
It is not a matter of DD-WRT vs OpenWRT: it should work in any case, full stop. Do all clients belong to the network? Can you post the routing table of one of the pcs unable to see the whole network? The AP should be connected to the router as follows: one cable from one of the LAN-side ports of the router to the WAN side of the AP; is this what you did? While for the switch: all cables on the LAN-side, none on the WAN side. – MariusMatutiae Jan 9 '14 at 5:42
I use my phone to scan the network, nonetheless, depending on which AP it is connected to makes them view either the whole, or a part of the network. The clients are in fact on the same subnet; but, I did not connect LAN to WAN on the AP (numerous articles suggest I should not do this anyway). What I find strange is that I can see the switch's clients from the AP, but not from the router, even though it has to go through the router to get there. – Ruben Jan 9 '14 at 7:12

The correct way to insert a second router (even though acting only as AP) behind a first router is to connect a cable from a LAN port on the main router to the WAN port on the AP, while leaving DHCP/dnsmasq and what not disabled.

I understand you have often seen the opposite advice (LAN port to LAN port connection) suggested online, but I believe this is incorrect. I have at work and at home several examples of this configuration, also made with DD-WRT routers (and without them).

share|improve this answer
I have plugged it into the WAN port (also does not act as LAN port) but I still cannot view the whole network from the main router. The status page on the AP shows that its LAN IP is, but it does not have a WAN IP, so I am not entirely sure how this should work. Also, I don't understand how this will make the switch discoverable from the router ( – Ruben Jan 10 '14 at 8:17
After I tried this the internet stopped working on the AP, and the network was still (mostly) undiscoverable from the router =/ – Ruben Jan 10 '14 at 12:53
@Ruben Sorry to hear that. I have exactly this configuration at home, and it works flawlessly. – MariusMatutiae Jan 10 '14 at 12:56
Do you think it is a bug? If not do you have WAN disabled on your AP (and it doesn't act as a LAN port)? AND can you see your whole network too? (Thanks for all the help you have given so far) – Ruben Jan 10 '14 at 13:47
I have noticed that (after a complete network reset) I can access the whole network from any device connected to the router. It is just that the moment it connects to the AP and then back to the router again that it stops working. I really do hope that you find the time to reply because I am out of luck. Also, unplugging the AP will thus make everything work too (but this is not ideal). – Ruben Jan 20 '14 at 5:33

Solved by using the switch as an AP too, and disabling the router's 2.4GHz wireless (while keeping the 5.0GHz enabled. I can fully discover my network from every AP now (including the 5.0GHz from the router).

share|improve this answer

You must log in to answer this question.

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