Skip to content

Commit 56e4a44

Browse files
authored
dnsmasq: Add value of DHCP option, add common RA mode values (opnsense#729)
* dnsmasq: Add value of DHCP option, add common RA mode values
1 parent 14e2d3f commit 56e4a44

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

source/manual/dnsmasq.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,17 @@ DHCP Settings
278278
**Description** You may enter a description here for your reference (not parsed).
279279
========================================= ====================================================================================
280280

281+
.. Note::
282+
283+
Most common `RA Mode` options:
284+
285+
- ``ra-only``: Advertise IPv6 default route
286+
- ``ra-names``: Advertise IPv6 default route, derive hostname from IPv4 lease and register it if possible. Can be combined with ra-stateless and slaac.
287+
- ``ra-stateless``: (O + A bits) Advertise IPv6 default route, use SLAAC for IPv6 address, use stateless DHCPv6 for additional options
288+
- ``slaac``: (A bit) Advertise IPv6 default route, use SLAAC for IPv6 address, use DHCPv6 for additional IPv6 address and options
289+
290+
For the less common options refer to the official dnsmasq man page.
291+
281292
.. tab:: DHCP options
282293

283294
========================================= ====================================================================================
@@ -293,11 +304,13 @@ DHCP Settings
293304
The special address 0.0.0.0 or [::] is taken to mean "the address of the machine running dnsmasq".
294305
When using "Match", leave empty to match on the option only.
295306
**Tag [set]** Tag to set for requests matching this range which can be used to selectively match dhcp options.
307+
**Value** Value (or values) to send to the client. The special address 0.0.0.0 or [::] is taken to mean "the address of the machine running dnsmasq".
308+
When using "Match", leave empty to match on the option only.
309+
Send multiple values as a comma-separated list. E.g., ``192.168.1.1,192.168.1.2``.
296310
**Force** Always send the option, even when the client does not ask for it in the parameter request list.
297311
**Description** You may enter a description here for your reference (not parsed).
298312
========================================= ====================================================================================
299313

300-
301314
.. tab:: DHCP tags
302315

303316
========================================= ====================================================================================

0 commit comments

Comments
 (0)