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

Bastian Bittorf bittorf at bluebottle.com
Tue Oct 14 07:07:59 EDT 2014

* John Crispin <blogic at openwrt.org> [14.10.2014 12:36]:
> try this
> config dhcp 'roaming'
>   option interface 'voyager'
>   option netmask ''
>   option start 1
>   option limit 253

it does not work. this is my interface:

14: eth0.1 at eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc
noqueue state UP group default 
    link/ether fa:1a:67:00:02:74 brd ff:ff:ff:ff:ff:ff
    inet brd scope global eth0.1
       valid_lft forever preferred_lft forever
    inet6 fe80::f81a:67ff:fe00:274/64 scope link 
       valid_lft forever preferred_lft forever

so a - if i fire the above config, the script translates it to:
dnsmasq-dhcp[11598]: DHCP, IP range --, lease time 12h

this is not what i want.
i want, that the clients on router 8 gets e.g. a

192.168.8.x/24 and on router 44

this means we have a non-overlapping decentral but globally valid dhcp-service.
A laptop with a lease from router 8, can work on router 44 - because
every node has the some magic IP-address = gateway on wifi:

option dhcp_option="option:router,$router_ip,$dns_ip"

i know no way for now how to achieve this without the patch.

bye, bastian
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list