I am trying to configure a WHW03 V2 router as a wireless access point.
I've successfully
Installed OpenWRT.
Assigned a static IP address.
Installed Luci.
Created a VLAN on my main OpenWrt router for the Guest WiFi
Created the same VLAN on the OpenWrt WAP router.
Both the VLAN interfaces are configured as static IP addresses. The Main Router's interface is configured as a DHCP server and the WAP's interface is configured to use the Main Router's IP as the Default Gateway.
The VLANs appear to be working, but DHCP isn't working for the Guest WiFi.
I've created some firewall zones, but everything is currently set to 'allow'.
It soundsl ike you're trying to setup the scenario described by the dumb AP with Guest Wifi wik article... is that correct? Or does your main router already have the guest network configured such that the one you're working on here should just be truly a dumb AP?
Does VLAN50 represent the guest network?
Let's see your complete text config.
Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
You may have some things incorrectly configured (in fact, it's very likely based on the screenshots).
Please post the text configs (the screenshots are harder to use for verification/debug, and they don't always tell the whole story.
wan.1 is being used here as well as in another intervace (V1_LAN) - it should only be in one place...
This is where you're using wan.1 outside the bridge... You already have the lan defined as 192.168.0.20 and using br-lan for wan.1, you don't need to have this. I'd recommend deleting it.
the bridge must be defined outside the interface stanza. Further, the guest network does not need an address. Instead, it should look like this:
config device
option name 'br-guest'
option type 'bridge'
list ports 'wan.50'
config interface 'V50_WiFi_Guest'
option proto 'none'
option device br-guest'
Delete this entirely.. the AP/radio/WLAN devices should not be referenced in the network config (only in the wireless config).
These should also be deleted... your guest wifi will now be on br-guest.
Replace the network here -- instead of BR_Guest_WiFi it will now be V50_WiFi_Guest
You can delete this. It has no purpose.
the V1_LAN can be deleted from the firewall. It also has no purpose.
I've made the suggested changes but it's killed the internet for the Guest network.
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan'
list ports 'wan.1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.0.20'
option netmask '255.255.255.0'
option ip6assign '60'
option gateway '192.168.0.1'
list dns '192.168.0.1'
config device
option name 'wan'
option ipv6 '1'
config device
option type '8021q'
option ifname 'wan'
option vid '1'
option name 'wan.1'
option ipv6 '0'
config device
option type '8021q'
option ifname 'wan'
option vid '50'
option name 'wan.50'
option ipv6 '0'
config interface 'V50_WiFi_Guest'
option proto 'none'
option device 'br-guest'
option type 'bridge'
config device
option type 'bridge'
option name 'br-guest'
list ports 'wan.50'
config wifi-iface 'wifinet3'
option device 'radio2'
option mode 'ap'
option ssid 'Home_Network_Guest'
option encryption 'psk2'
option key 'password'
option network 'V50_WiFi_Guest'
Are you sure about deleting this configuration?
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
list network 'V1_LAN'
If I delete the rules for LAN 'input', won't that immediately lock me out of the device and necessitate a hard reset?
I can no longer ping the Guest VLAN IP 192.168.50.2 that was previously assigned to an interface. With the new configuration, none of the interfaces have an IP address on VLAN 50. Is this correct?
One 5 GHz for mesh uplink and the other one as a local AP. This avoids the problem of usable bandwidth being reduced to half when a single radio is shared for both functions.