Bridged Access Point

Bridged AP

Bridged AP is to extend your existing wired host router with wireless capabilities. Clients connecting to OpenWRT will get an IP address from the wired host router.
OpenWrt bridges the LAN network with the WLAN of the device in Access Point mode. The advantage of bridging is that broadcast traffic from Wireless to LAN and viceversa works without further changes.
This document outlines the steps necessary to implement such a setup.


The changes below assume an OpenWrt default configuration, the relevant files are:
  • vi /etc/config/network
  • vi /etc/config/wireless

Step 1: Define a new network

Edit /etc/config/network and define a new interface section:
config interface loopback option ifname lo option proto static option ipaddr option netmask config interface lan option ifname eth0 option type bridge option proto static option ipaddr option netmask option gateway option dns

Step 2: Change the existing wireless network

In /etc/config/wireless, locate the existing wifi-iface section and change its network option to point to the newly created interface section.
config wifi-device wifi0 option type atheros option channel 11 config wifi-iface option device wifi0 option network lan option mode ap option ssid OpenWrt option encryption none
Optionally change the last line for option encryption 'psk2' and add the line option key 'secret key' to enable WPA encryption

Step 3: Disable dnsmasq

/etc/init.d/dnsmasq disable

Step 4: Connect host router and openwrt router correctly

Ensure the host router is connected with a lan port of the openwrt, not the wan port!

Apply changes

Enable the new wireless network.
root@OpenWrt:~# ifup wifi root@OpenWrt:~# wifi