Henry Poon's Blog

Resolving dd-wrt bug that prevented computers on a LAN with wired connection from talking/pinging/communicating with each other

I just had a problem where the computers in my house that were all using a wired connection could not talk to each other.  Computers on wired connections could not ping, and ping kept giving an error saying “destination host unreachable”.  I found the solution in a very hard to find forum post on the dd-wrt forums.

This specific instance of the problem affects users of the dd-wrt firmware.  In my case, I am using build 24461 of the firmware.  The solution is to run the following commands on the router (either with ssh or telnet):

swconfig dev eth0 set enable_vlan 1
swconfig dev eth0 set apply

I’ve since put this in the startup commands that the router will execute, so these settings will stay even after a router reboot.

For some routers, it might be eth1 instead of eth0.  It depends on which network interface is assigned to the WAN.  This can be check in the router page under Setup > Networking.

Link to forum post: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=152738&postdays=0&postorder=asc&start=0

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Next Post

Previous Post


  1. Ryan 2015-04-25

    Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! God, so much time wasted lol. Thank you.

  2. Leo 2015-05-26

    Many thanks! Same issue on 841ND using 25648 build. After running these commands, my home network works well again. Regards.-

  3. jose11 2016-02-03

    Thanks, it helped a lot

  4. Hector 2017-08-01

    Helped me more than 2 years later! Thank you very much!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

© 2024 Henry Poon's Blog

Theme by Anders Norén