This is the default configuration of OpenWrt for devices with a single Ethernet port. It exists mostly so you can log in and reconfigure.
There are two major ways to go with it:
- a standard router where the Ethernet port becomes the WAN, and you log in and use the LAN over WiFi
- a LAN device or "dumb AP" where the OpenWrt unit is part of a network with another router which provides a link to the Internet. A dumb AP works primarily as a converter to bring wireless users into a wired network.
To get the second one working, you need to do three things:
- Change the LAN IP to something that is not the same as anything else in the network, but in the same subnet range.
- Add lines in the lan section of /etc/config/network to make OpenWrt aware that there is a main router as the gateway to the Internet and the DNS server:
option ipaddr '192.168.1.2' # This device (the dumb AP) IP address
option gateway '192.168.1.1' # The main router
option dns '192.168.1.1'
- Disable the LAN DHCP server. In /etc/config/dhcp, replace the whole LAN section with one line "option ignore 1" like the WAN has.