How to create a private LAN with your OpenWRT or LEDE router
And how to avoid the error Dropping frame due to full tx queue 2
Sometimes your internet connection comes from an already stablished LAN, where a server you do not know manages the network and distributes the local IP addresses.
In most of the cases this translates as: you have one ethernet plug where you connect a router or switch. And in some cases, what you have is a router running OpenWRT or LEDE. Out of the box, when you connect to it you get an address in that LAN (the router is being used as a switch):

But, what happens if you want to create a private LAN to manage your own IP addresses? I will show you how to configure OpenWRT or LEDE using the LUCI interface to achieve it. As a side effect, with this network setup I could provide internet to my wireless devices without experiencing the rt2x00queue_write_tx_frame: Error — Dropping frame due to full tx queue 2 issue.
1) Go to Network -> Switch and create two VLANs: the first one will be used inside our private LAN. It should have the CPU as tagged, and the ethernet ports that are not connected to the main ethernet plug, as untagged. Finally, remember to set the port connected to the main ethernet plug as off.
The second one will be used as the uplink. It should have the CPU as tagged and the port connected to the main ethernet plug as untagged. The rest of the ports set them as off.

2) Create a new interface for the uplink. Go to Network -> Interfaces and click on the “Add new interface” button. Then, set the following:
- Protocol of the new interface: to
DHCP Client. - Cover the following interface:
Switch VLAN: “eth0.2”

Click on “Submit”. Before closing, under Firewall settings set the Firewall to WAN:

Click on “Save and apply”. Now you should see two interfaces:

Great, you have it! Connect to your router and observe how the IPs are now 192.168.1.x.

And that’s it ;P
- Do you know any other easier way to setup OpenWRT or LEDE with this network configuration?
- Do you know other way of avoiding the
Dropping frame due to full tx queue 2error?
