Commit c5d4418f authored by Simone Piccardi's avatar Simone Piccardi
Browse files

Adding splitting of the coova-chilli net in to a dynamic range and a

static range. This is done only when the chilli_range_split variable
is defined (still undefined by default, for the moment must manually
defined by the admin in /etc/fuss-server/fuss-server-defaults.yaml).

The coova-chilli net is just split in a half, computing the subnets
from the value saved in the hotspot_network variable (saved in
/etc/fuss-server/fuss-server.yaml) that's configured the first time
fuss-server cp is run.
parent 18f25d81
......@@ -23,6 +23,13 @@ HS_UAMUIPORT=4990 # HotSpot UAM "UI" Port (on subscriber network, for e
{% if chilli_range_split is defined %}
# added from fuss-server 10.0.34 when chilly_range_split is defined
HS_DYNIP={{hotspot_network|ipsubnet(hotspot_network|ipaddr('prefix')|int + 1,0)|ipaddr('network')}}
HS_DYNIP_MASK={{hotspot_network|ipsubnet(hotspot_network|ipaddr('prefix')|int + 1,0)|ipaddr('netmask')}}
HS_STATIP={{hotspot_network|ipsubnet(hotspot_network|ipaddr('prefix')|int + 1,1)|ipaddr('network')}}
HS_STATIP_MASK={{hotspot_network|ipsubnet(hotspot_network|ipaddr('prefix')|int + 1,1)|ipaddr('netmask')}}
{% endif %}
# OpenDNS Servers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment