DD-WRT – Setting to Deny Communication Between Wired Clients

dd-wrtnetworkingrouterrouting

I've been having trouble connecting between wired devices on my LAN since I switched to a DD-WRT based router (Windows 8.1 cannot connect to one specific device on LAN). My wireless devices can communicate with my wired devices just fine.

I found an answer on a related question that may solve my problem, but I can't find the specific setting in DD-WRT that the answer refers to. Can anyone shed some light on what this setting is and where I can find it? I am running DD-WRT v24-sp2 (04/09/15) std.

It's possible your wireless router is not allowing communication between clients. It's common for wireless routers to deny communication between hosts that are connected to it via the WLAN interface. Some wireless routers have options in their setup program to allow/deny communication between clients.

Best Answer

I eventually found an existing question that matched the symptoms I was experiencing. The solution worked for me as well, but I wanted to expand on it a bit.

Here's the step-by-step to enable the Virtual LAN in DD-WRT so that devices hard-wired to the router can communicate with each other (I'd love to know why this is not enabled by default):

  1. Go to DD-WRT administration webpage (usually 192.168.1.1 on a home network)
  2. Click on Administration tab
  3. Click on Commands sub-tab
  4. In the "Commands" text area, type:

    swconfig list
    
  5. Click the button, Run Commands

    • You should see one of the following results (most likely):
      • Found: switch0 - eth0
      • Found: switch0 - eth1
  6. Enter the following in the "Commands" text area (*note: replace eth0 with eth1 if needed to match the results of the swconfig list command):

    swconfig dev eth0 set enable_vlan 1
    swconfig dev eth0 set apply
    
  7. Click the button Save Startup

  8. Click on the Administration tab at the top of the screen
  9. Scroll all the way to the bottom and click the red button Reboot Router
  10. Verify the problem has been fixed following a router reboot

What the above steps do is save a startup script that runs whenever the router is rebooted. Saving it as a startup script is not necessary, but the alternative is that you would have to remember to run the two commands to enable the virtual LAN anytime the router got rebooted.

You could also run the commands to enable and apply the VLAN setting using the [Run Commands] button if you wanted to get immediate feedback without rebooting the router. I left that out because I was trying to minimize the total number of steps needed to achieve the desired end state.

Related Question