Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
b13b6c9e
Commit
b13b6c9e
authored
Mar 20, 2015
by
Stephen Morris
Browse files
[3772] Corrections to some examples in the DHCPv4 pools documentation
parent
ee47aff0
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/guide/dhcp4-srv.xml
View file @
b13b6c9e
...
...
@@ -567,9 +567,11 @@ temporarily override a list of interface names and listen on all interfaces.
<screen>
"Dhcp4": {
"subnet4": [
"subnet": "192.0.2.0/24",
<userinput>
"id": 1024
</userinput>
,
...
{
"subnet": "192.0.2.0/24",
<userinput>
"id": 1024
</userinput>
,
...
}
]
}
</screen>
...
...
@@ -594,22 +596,22 @@ temporarily override a list of interface names and listen on all interfaces.
<screen>
"Dhcp4": {
<userinput>
"subnet4": [
"subnet": "192.0.2.0/24",
"pools": [
{
"pool": "192.0.2.10 - 192.0.2.20"
}
]
</userinput>
,
...
]
{
"subnet": "192.0.2.0/24",
"pools": [
{
"pool": "192.0.2.10 - 192.0.2.20"
}
],
...
}
]
</userinput>
}
</screen>
Note that subnet is defined as a simple string, but the
'pools'
parameter is
actually a list of pools: for this reason, the pool definition is enclosed
Note that subnet is defined as a simple string, but the
<command>
pools
</command>
parameter is
actually a list of pools: for this reason, the pool
s
definition is enclosed
in square brackets, even though only one range of addresses is
specified in this example.
</para>
<para>
Each
<command>
pool
</command>
is a structure that contains the parameters
<para>
Each
pool
is a structure that contains the parameters
that describe a single pool. Currently there is only one parameter,
<command>
pool
</command>
, which gives the range of addresses
in the pool. Additional parameters will be added in future
...
...
@@ -624,11 +626,14 @@ temporarily override a list of interface names and listen on all interfaces.
<screen>
"Dhcp4": {
"subnet4": [
<userinput>
"pools": [
{ "pool": "192.0.2.10-192.0.2.20" },
{ "pool": "192.0.2.64/26" }
]
</userinput>
,
...
{
"subnet": "192.0.2.0/24",
<userinput>
"pools": [
{ "pool": "192.0.2.10-192.0.2.20" },
{ "pool": "192.0.2.64/26" }
]
</userinput>
,
...
}
],
...
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment