Skip to content

Commit

Permalink
Clarify what an empty netmask field does (Settings -> DHCP page) (#2946)
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER authored Feb 4, 2024
2 parents 1dcf90b + 64679c5 commit 4b83c7f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions settings-dhcp.lp
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,19 @@ mg.include('scripts/pi-hole/lua/settings_header.lp','r')
</div>
</div>
<div class="col-xs-12 col-sm-6 col-md-12 col-lg-6">
<label>Netmask (<code>0.0.0.0</code> = auto)</label>
<label>Netmask</label>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon">Netmask</div>
<input type="text" class="form-control DHCPgroup" id="dhcp.netmask" data-key="dhcp.netmask"
autocomplete="off" spellcheck="false" autocapitalize="none"
autocorrect="off" value="">
autocorrect="off" value="" placeholder="automatic">
</div>
</div>
</div>
<div class="col-md-12">
<p>Leave the netmask field empty to have Pi-hole infer it from the configured IP address of your device. If you want to specify a netmask, you can use the format <code>255.255.255.0</code>.</p>
</div>
<div class="col-md-12">
<div><input type="checkbox" id="dhcp.ipv6" data-key="dhcp.ipv6" class="DHCPgroup">&nbsp;<label for="dhcp.ipv6"><strong>Enable additional IPv6 support (SLAAC + RA)</strong></label></div>
<p>Enable this option to enable IPv6 support for the Pi-hole DHCP server. This will allow the Pi-hole to hand out IPv6 addresses to clients and also provide IPv6 router advertisements (RA) to clients. This option is only useful if the Pi-hole is configured with an IPv6 address.</p>
Expand Down

0 comments on commit 4b83c7f

Please sign in to comment.