[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 interface has 192.168.0.1/16 so the smart
autodetect
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 wrote:
> [dnsmasq] support enforced start-IP, end-IP, netmask
>
> there are corner cases wher
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 underl
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
* John Crispin [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:
14: eth0.1@eth0: mtu 1500 qdisc
noqueue state UP group default
link/eth
On 10/14/14 7:07 AM, Bastian Bittorf wrote:
> * John Crispin [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: 192.168.0.0
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
START=19
* Jo-Philipp Wich [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.
bye, bast