At the risk of veering away from the OPs query, I’d be curious to understand under what conditions this does not work.
In my testing with a RT-AX86U Pro running the 3006.102.x firmware, it all boiled down to the Guest Network Pro Profile option
Use same subnet as main network and how it is configured when one creates the Guest Network Pro Profile.
- If Use same subnet as main network is enabled (set to on) then a client can have their IP address reserved under the LAN > DHCP Server > Manually Assigned IP addresses in the DHCP scope.
- If Use same subnet as main network is disabled (set to off) then the Guest Network Pro Profile creates a VLAN/SDN and defaults to starting with BR52, ex: subnet 192.168.52.1. When using VLAN the Guest Network Pro client doesn't (at least in my experience) pull the manual IP reservation configured in the LAN > DHCP Server section. Which is logical when you think about it since the client is now using an IP address from the 192.158.52.x pool and not the IP address from the main LAN IP address pool.
Setting aside the new v1.2.0 YazDHCP for the moment. The Guest Network Pro Profile client will, depending on the
Use same subnet as main network setting, pull it's reserved IP address from either the main LAN reservation list (DHCP Server page)
OR from either the Guest Network Pro Profile Advanced Settings >
Manually assign IP address around the DHCP list option (if assigned there), or it will pull it from the
dnsmasq-INDEX.conf.add
or
dnsmasq-sdn.postconf
, which ever one is being used and is configured with reservations. One can disconnect the client from the Guest Network Pro Profile and connect it to the main LAN and it
should change it's reserved IP to the reserved IP address from the LAN > DHCP Server page. And it should switch back when the client is moved back to the Guest Network Pro Profile. At least in my quick and dirty testing that is what was happening.
Now for YazDHCP v1.2.0 (and later versions). Now that YazDHCP supports Guest Network Pro Profile client reservations (YazDHCP
Allow Guest Network Client Assignments enabled, set to Yes), it simplifies making reservations and combines the reservations (main LAN and Guest Network Pro Profile SDN's) to one location, the LAN > DHCP Server > Manually Assigned IP addresses in the DHCP scope section. One can then export and save those reservations and re-import them quickly if one ever resets the router. One can have two reservations configured, one for main LAN the other for Guest Network Pro Profile VLAN and the client will pull either reservation depending on where it's connected.