Hi,
Trying to understand the operating mode(s) of OpenWrt I found a tutorial (original in Portuguese) that helped me to understand some concepts and I decided to share it in the forum:
(Source: http://luizluca.blogspot.com.br/2012/01 … ador.html)
"...
During configuration of OpenWRTwe do not see the usual Linux interfaces (eth1, wlan0, ...). What we find are interfaces of "higher level" as LAN and WAN. These interfaces can be mapped directly to a single router interface (now yes eth0, etc.) or joining them into a bridge. By default, there are two interfaces: WAN (Wide Area Network) and LAN (Local Area Network). The WAN is usually composed only of an interface (eth1), usually detached from other ports used to connect to the Internet. The LAN is a bridge that joins the eth0 (LAN ports) and the wireless interface (wlan0). In general, it does not change the LAN, and WAN operates configured by DHCP, PPPoE, depending on your Internet provider.
OK, so far as any router. But now comes the flexibility of OpenWRT. The functions of the interfaces can be: modified switched, joined, or divided as the administrator wants.
The wlan0 interface can join with the WAN, the LAN ports may be used for multiple connections to the Internet or put it all together and make the router a single point of access (access-point) without any routing. Someone might ask, "but the ports of the local network, those 4 are mapped to a single interface, eth0?". Yes, they are. But this is not a limitation. Although, by default, they are together, the ports, if the HW permits, can be isolated in several networks send packets with VLAN tags, and so on.
And what about the operating modes. There is a good range of operating mode options from the classic "AP", through the simple Ad-hoc and more interesting things like mesh networking (802.11s), WDS client or server, or even behaving like a of wireless client common, connecting to another wireless router. There is also the mode "monitor" to perform capture of wireless packets.
Another interesting thing may not be noticed. In setting the Wifi there is a button to "Add."
Add what?
Another wireless configuration. If the HW enable, and usually allows, you can have multiple wireless network settings, operating in different ways, with different passwords with different SSID, each representing an interface.
..."
(Translated with Google Translator)
Many thanks for attention,
Markos