Hi
@Martinski
I had a couple of questions (but it now seems apparent, see below, these observations are down to limitations of Asus GNP).
I recently reset a Router and on setting up GNP Networks Guest and IoT, did not realise they were set by the GNP setup as LAN IP 192.168.52.1 / VLAN ID 52 and LAN IP 192.168.53.1 / VLAN ID 53 respectively; I actually wanted to set these to VLAN ID 62 and 63 to avoid a conflict over VPN (reason is not important here).
I then installed YazDHCP and added the DHCPs as 62 and 63 subnet, then saw the error; so keeping YazDHCP intact I changed the GNP settings to VLAN 62 and VLAN 63.
However when I went in to YazDHCP via SSH and selected
1. Process /jffs/addons/YazDHCP.d/DHCP_clients I saw:
Please wait...
DHCP IP address reservation list for Guest Network [br52] remains unchanged
DHCP IP address reservation list for Guest Network [br53] remains unchanged
DHCP IP address reservation list for main LAN [br0] remains unchanged
Restarting dnsmasq for new DHCP settings to take effect.
and also when I looked at the dir structure
/jffs/addons/YazDHCP.d I saw that there were two files
.staticlist_br52 and
.staticlist_br53 i.e. these had not changed when I corrected GNP, even though the contents of the files were correct, containing the .62 and .63 subnets for DHCPs. I am sure it all works fine (it seems to) but being a wee bit OCD about this, I wanted to change the br52 and br53 references and path names so they all match i.e. to br62 and br63.
My error here (or so I thought), due to being making the GNP VLAN ID change AFTER I installed YazDHCP.
So my original question was, will I break anything if I amend this manually? This now does not need to be answered, for reasons why, see below.
For the record, I thought I could just amend these:
- Rename .staticlist_br52 to .staticlist_br62
- Rename .staticlist_br53 to .staticlist_br63
- Ensure any lines in dnsmasq-x.conf.add now refer to br62, br63 e.g. dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist_br62 #YazDHCP_staticlist_br62#
- dhcp-hostsfile=/jffs/addons/YazDHCP.d/.staticlist_br52 #YazDHCP_staticlist_br52#
- Ensure any lines in firewall-start (jffs/scripts/) refer to the correct br62 or br63 and not br52 or br3 e.g. iptables -I FORWARD -i br62 -s 192.168.62.238 -d 192.168.47.0/24 -j ACCEPT
Alternatively I thought I could just export the assignments, uninstall YazDHCP, and reinstall YazDHCP, re-import (need to check if icons come back) and it should align itself to the correct brxx numbering in GNP setup. Again, this now does not need to be answered, for reasons why, see below
[EDIT 1] So I uninstalled YazDHCP and ran:
and it seems like I still have bro, br52 and br53, created by GNP; so changing the settings manually would not have worked, nor uninstalling YazDHCP and reinstalling.
I tried deleting the Guest Networks next. If selecting presets it keeps br52 and br53 as it creates those first, and then retains them even when you change the VLAN IDs and subnet, that will be pretty ugly. Maybe then only a customised network will allow the naming I am after.
[EDIT 2] So it looks like a limitation of Asus GNP.
Even creating a Custom guest network does not create (nor let you define) your own brxx value (or one that aligns with the VLAN ID), it seems to be automatic, sequential from br52 onwards and fixed.
Cosmetic I guess but means you just have to remember, when putting IPTABLES forwards (as above) in firewall-start, to use br52, br53 sequentially and not whatever VLAN ID e.,g. 62, 63 that you have given it.
OK, move along here, nothing to see...