summaryrefslogtreecommitdiff
path: root/server/dhcpd.conf.5
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-09-29 18:21:09 +0000
committerTed Lemon <source@isc.org>2000-09-29 18:21:09 +0000
commit874031aa9d9875f6e197cc76b6ef8ece7b8aea3a (patch)
tree170e883d24bc85baf2afc120daa788a3ef6fd37a /server/dhcpd.conf.5
parent5612020366111103f9c20a1158bc81f85d2032ab (diff)
downloadisc-dhcp-874031aa9d9875f6e197cc76b6ef8ece7b8aea3a.tar.gz
Document change to support match with alongside match/spawn with.
Diffstat (limited to 'server/dhcpd.conf.5')
-rw-r--r--server/dhcpd.conf.525
1 files changed, 25 insertions, 0 deletions
diff --git a/server/dhcpd.conf.5 b/server/dhcpd.conf.5
index 88f8ca75..5bd393c0 100644
--- a/server/dhcpd.conf.5
+++ b/server/dhcpd.conf.5
@@ -763,6 +763,31 @@ limit of four leases.
The use of the subclass spawning mechanism is not restricted to relay
agent options - this particular example is given only because it is a
fairly straightforward one.
+.SH COMBINING MATCH, MATCH IF AND SPAWN WITH
+.PP
+In some cases, it may be useful to use one expression to assign a
+client to a particular class, and a second expression to put it into a
+subclass of that class. This can be done by combining the \fBmatch
+if\fR and \fBspawn with\fR statements, or the \fBmatch if\fR and
+\fBmatch\fR statements. For example:
+.PP
+.nf
+class "jr-cable-modems" {
+ match if option dhcp-vendor-identifier = "jrcm";
+ spawn with option agent.circuit-id;
+ lease limit 4;
+}
+
+class "dv-dsl-modems" {
+ match if opton dhcp-vendor-identifier = "dvdsl";
+ spawn with option agent.circuit-id;
+ lease limit 16;
+}
+.fi
+.PP
+This allows you to have two classes that both have the same \fBspawn
+with\fR expression without getting the clients in the two classes
+confused with each other.
.SH DYNAMIC DNS UPDATES
.PP
The DHCP server has the ability to dynamically update the Domain Name