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

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

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s