I have an Ubiquity Edgerouter connected to my ISP Modem and would like to use the ASUS Router as an AP.
I currently have another firmware on it with 3 SSIDS (Private, IOT, Guest).
1 - private picks up it's IP address from the Edgerouter. Firewall rules permit access to any device on the other 2 networks.
2 - IOT with it's own DCHP subnet of 192.168.20.0/24 and firewall rules that allow for backup to a device on 192.168.10.0/24.
3. Guest is 192.168.30.0/24
I was checking out a couple of articles here, but I am not sure if I am doing the configuration correctly.
https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
https://github.com/RMerl/asuswrt-me...dicated-DHCP-options-bind-to-a-specific-SSID?
Based on How to have dedicated DHCP options bind to a specific SSID?, my config files are as follows"
dnsmasq.postconf
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
logger "dnsmasq-dhcp: Configure wl0.1 to have special DHCP"
ifconfig wl0.1 192.168.70.2 netmask 255.255.255.0
iptables -D INPUT -i wl0.1 -j ACCEPT
iptables -I INPUT -i wl0.1 -j ACCEPT
ebtables -t broute -D BROUTING -i wl0.1 -p ipv4 -j DROP
ebtables -t broute -I BROUTING -i wl0.1 -p ipv4 -j DROP
pc_append "
log-dhcp
interface=wl0.1
dhcp-range=wl0.192.168.70.200,192.168.70.240,255.255.255.0,86400s
dhcp-option=wl0.1,3,192.168.70.1
dhcp-option=wl0.1,6,192.168.10.1,8.8.8.8,8.8.4.4
" /tmp/etc/dnsmasq.conf
services-start
#!/bin/sh
service restart_dnsmasq
I have never edited or created Unix based files before. I configured my NotePad++ Edit-->EOL Conversion to Unix LF. I also saved the files as Unix Scripts then renamed to the proper file names.
Rebooted the router and presto Guest SSID still gets a 192.168.10.0/24 address.
After not working and doing a deeper dig in the forums, it sounds like in AP mode it this will not work.
Is it my understanding that you cannot use the Asus with Merlin firmware as an AP attached to the router with a guest network? May I have configured something incorrectly?
I currently have another firmware on it with 3 SSIDS (Private, IOT, Guest).
1 - private picks up it's IP address from the Edgerouter. Firewall rules permit access to any device on the other 2 networks.
2 - IOT with it's own DCHP subnet of 192.168.20.0/24 and firewall rules that allow for backup to a device on 192.168.10.0/24.
3. Guest is 192.168.30.0/24
I was checking out a couple of articles here, but I am not sure if I am doing the configuration correctly.
https://github.com/RMerl/asuswrt-merlin/wiki/User-scripts
https://github.com/RMerl/asuswrt-me...dicated-DHCP-options-bind-to-a-specific-SSID?
Based on How to have dedicated DHCP options bind to a specific SSID?, my config files are as follows"
dnsmasq.postconf
#!/bin/sh
CONFIG=$1
source /usr/sbin/helper.sh
logger "dnsmasq-dhcp: Configure wl0.1 to have special DHCP"
ifconfig wl0.1 192.168.70.2 netmask 255.255.255.0
iptables -D INPUT -i wl0.1 -j ACCEPT
iptables -I INPUT -i wl0.1 -j ACCEPT
ebtables -t broute -D BROUTING -i wl0.1 -p ipv4 -j DROP
ebtables -t broute -I BROUTING -i wl0.1 -p ipv4 -j DROP
pc_append "
log-dhcp
interface=wl0.1
dhcp-range=wl0.192.168.70.200,192.168.70.240,255.255.255.0,86400s
dhcp-option=wl0.1,3,192.168.70.1
dhcp-option=wl0.1,6,192.168.10.1,8.8.8.8,8.8.4.4
" /tmp/etc/dnsmasq.conf
services-start
#!/bin/sh
service restart_dnsmasq
I have never edited or created Unix based files before. I configured my NotePad++ Edit-->EOL Conversion to Unix LF. I also saved the files as Unix Scripts then renamed to the proper file names.
Rebooted the router and presto Guest SSID still gets a 192.168.10.0/24 address.
After not working and doing a deeper dig in the forums, it sounds like in AP mode it this will not work.
Is it my understanding that you cannot use the Asus with Merlin firmware as an AP attached to the router with a guest network? May I have configured something incorrectly?