perkins1724
Occasional Visitor
I am trying to setup custom dhcp using dnsmasq for my wireless guest networks (RT87U / Firmware:380.66).
i have a startup script that works for the 2.4GHz channels (virtual interfaces wl0.1, wl0.2 and wl0.3). However it does not work for the 5GHz channels (virtual interfaces vlan4000, vlan4001 and vlan4002).
Using ifconfig I can see that the 2.4GHz channels all have unique HWaddr values. However the 5GHz channels have an identical HWaddr value - which is the same as the eth0 / eth1 / vlan1 interfaces.
Using
nvram show | grep hwaddr | grep -E "wl0|wl1"
I can see that the hwaddr values for the wl0 nvram entries match the wl0 interfaces. However the hwaddr values for the wl1 nvram entries do not match the vlan400X interfaces.
Using tcpdump I also dont get any traffic on the vlan400X interfaces, it all seems to appear on the eth0/eth1/vlan1 interfaces instead - and this seems to be the issue with using dnsmasq.
Just to clarify - the guest networks all appear to work correctly from a mobile device perspective. However because the traffic is not coming through the vlan400X interfaces I can't get the dnsmasq assignments to correctly work.
Is there a possibility that the vlan400X interfaces are not being created correctly in this version of firmware? Are there instead supposed to be wl1/wl1.1/wl1.2/wl1.3 interfaces?
Any assistance / suggestions greatly appreciated.
i have a startup script that works for the 2.4GHz channels (virtual interfaces wl0.1, wl0.2 and wl0.3). However it does not work for the 5GHz channels (virtual interfaces vlan4000, vlan4001 and vlan4002).
Using ifconfig I can see that the 2.4GHz channels all have unique HWaddr values. However the 5GHz channels have an identical HWaddr value - which is the same as the eth0 / eth1 / vlan1 interfaces.
Using
nvram show | grep hwaddr | grep -E "wl0|wl1"
I can see that the hwaddr values for the wl0 nvram entries match the wl0 interfaces. However the hwaddr values for the wl1 nvram entries do not match the vlan400X interfaces.
Using tcpdump I also dont get any traffic on the vlan400X interfaces, it all seems to appear on the eth0/eth1/vlan1 interfaces instead - and this seems to be the issue with using dnsmasq.
Just to clarify - the guest networks all appear to work correctly from a mobile device perspective. However because the traffic is not coming through the vlan400X interfaces I can't get the dnsmasq assignments to correctly work.
Is there a possibility that the vlan400X interfaces are not being created correctly in this version of firmware? Are there instead supposed to be wl1/wl1.1/wl1.2/wl1.3 interfaces?
Any assistance / suggestions greatly appreciated.