Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-17 Thread Bastian Bittorf
* Jo-Philipp Wich j...@openwrt.org [15.10.2014 08:59]: So this should work: config dhcp 'roaming' option interface 'voyager' option start 192.168.8.1 option limit 252 wow, this works! thank you - this ipcalc.sh beast really needs some documentation 8-) John: the patch can be dropped.

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread John Crispin
On 09/10/2014 17:07, Bastian Bittorf wrote: [dnsmasq] support enforced start-IP, end-IP, netmask there are corner cases where the simple setup via start/end/limit option does not fit, in our case we need to hand out 192.168.2.1 ... 192.168.2.254 with a netmask of /24 but the underlying

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread John Crispin
try this config dhcp 'roaming' option interface 'voyager' option netmask '255.255.255.0' option start 1 option limit 253 On 14/10/2014 12:25, John Crispin wrote: On 09/10/2014 17:07, Bastian Bittorf wrote: [dnsmasq] support enforced start-IP, end-IP, netmask there are corner cases

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread Justin Vallon
On 10/14/14 7:07 AM, Bastian Bittorf wrote: * John Crispin blo...@openwrt.org [14.10.2014 12:36]: try this config dhcp 'roaming' option interface 'voyager' option netmask '255.255.255.0' option start 1 option limit 253 it does not work. this is my interface: Do you know:

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-14 Thread Jo-Philipp Wich
Hi. it does not work. this is my interface: [...] Actually it should work just fine even without option netmask if you specify the start as ipaddr: # ipcalc.sh 192.168.0.1 16 192.168.8.1 252 IP=192.168.0.1 NETMASK=255.255.0.0 BROADCAST=192.168.255.255 NETWORK=192.168.0.0 PREFIX=16

Re: [OpenWrt-Devel] [PATCH] [dnsmasq] support enforced start-IP, end-IP, netmask

2014-10-10 Thread Thomas Hühn
Hi Basti, I support your changes to dnsmaq init, as this addresses a real use-case to enhance wireless roaming in our Freifunk mesh as well. Greetings Thomas On 09.10.2014, at 17:07, Bastian Bittorf bitt...@bluebottle.com wrote: [dnsmasq] support enforced start-IP, end-IP, netmask there