Skip to content

Commit

Permalink
lime-proto-anygw: set dhcp.(anygw).force=1 to ensure dnsmasq never ba…
Browse files Browse the repository at this point in the history
…ils out in presence of another DHCP server

Signed-off-by: Gui Iribarren <gui@altermundi.net>
  • Loading branch information
altergui committed Mar 27, 2017
1 parent 1ea2ddc commit 917c4df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/lime-proto-anygw/src/anygw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function anygw.configure(args)
uci:set("dhcp", owrtInterfaceName.."_dhcp", "start", "2")
uci:set("dhcp", owrtInterfaceName.."_dhcp", "limit", (2 ^ (32 - anygw_ipv4:prefix()))) -- use whole network
uci:set("dhcp", owrtInterfaceName.."_dhcp", "leasetime", "1h")
uci:set("dhcp", owrtInterfaceName.."_dhcp", "force", "1")

uci:set("dhcp", owrtInterfaceName, "tag")
uci:set("dhcp", owrtInterfaceName, "dhcp_option", { "option:mtu,1350" } )
Expand Down

0 comments on commit 917c4df

Please sign in to comment.