The issue is that I am not getting IPv4 address. If I manually configure IPv4 it seems to work all right, so this is probably some DHCP issues.
Interestingly IPv6 works all right I am getting both types of addresses: locally generated random addresses but also DHCPv6 addresses (chosen suffix).
I just had to set IPv6 DNS servers, but I want to do that anyway for Guest WiFi.
Any ideas?
I will provide further info if you tell me what it is.
The wiki recipe for Guest WiFi is probably correct.
My issue was that in the past I explicitly listed interfaces on which DHCP/DNS is listening. I did that so my DNS server does reply even to request from outside lan interface. However I forgot to add the new guest iface to that enumeration so DHCP did not work.
One of the possible solutions to this issue of mine is to not enumerate ifaces -- just leave it "unspecified" and tic-out "Local service only".
While the Guest WiFi recipe is all right there is one possible improvement: IPv6 enablement.
Steps:
In guest interface advanced settings enable IPv6 PD and select prefix length (e.g. /64 since most likely there won't sub-networking in guest net).
Under "DHCP->IPv6 Settings" set RA-Service and DHCPv6-Service to Server Mode.
Under "DHCP->IPv6 RA Settings->RA Flags" add Managed Config mode.
In FW allow ICMP to router (at least for IPv6) from guest zone.
In FW allow UDP 547 to router from guest zone.
This enables both auto-config and DHCP IPv6. If we wanted only autoconfig it would be slightly easier (but I did not tested that!):
In guest interface advanced settings enable IPv6 PD and select prefix length (e.g. /64 since most likely there won't sub-networking in guest net).
Under "DHCP->IPv6 Settings" set RA-Service to Server Mode.
In FW allow ICMP to router (at least for IPv6) from guest zone.