summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-10-07 19:57:56 +0200
committerChristian Poessinger <christian@poessinger.com>2018-10-07 19:57:56 +0200
commitadd69f21238111be10e2fbc92ac48f86f831ec9a (patch)
tree81de5bea2bff6e675135db7a05c99f1f019a7e2b
parenta39773e63ca79e1e1f9b168e4fd4ae0d098bc349 (diff)
downloadvyos-documentation-add69f21238111be10e2fbc92ac48f86f831ec9a.tar.gz
vyos-documentation-add69f21238111be10e2fbc92ac48f86f831ec9a.zip
DHCP: bullet list format fixup in command explanation
-rw-r--r--docs/services.rst57
1 files changed, 32 insertions, 25 deletions
diff --git a/docs/services.rst b/docs/services.rst
index ff3f4249..cbbe6314 100644
--- a/docs/services.rst
+++ b/docs/services.rst
@@ -80,31 +80,38 @@ Static mappings MAC/IP
Explanation
^^^^^^^^^^^
-:code:`set service dhcp-server shared-network-name dhcpexample authoritative`
-This says that this device is the only DHCP server for this network. If other
-devices are trying to offer DHCP leases, this machine will send 'DHCPNAK' to
-any device trying to request an IP address that is not valid for this network.
-
-:code:`set service dhcp-server shared-network-name dhcpexample subnet
-172.16.17.0/24 default-router 172.16.17.1` This is a configuration parameter
-for the subnet, saying that as part of the response, tell the client that I am
-the default router for this network
-
-:code:`set service dhcp-server shared-network-name dhcpexample subnet
-172.16.17.0/24 dns-server 172.16.17.1` This is a configuration parameter for
-the subnet, saying that as part of the response, tell the client that I am the
-DNS server for this network. If you do not want to run a DNS server, you could
-also provide one of the public DNS servers, such as google's. You can add
-multiple entries by repeating the line.
-
-:code:`set service dhcp-server shared-network-name dhcpexample subnet
-172.16.17.0/24 lease 86400` Assign the IP address to this machine for 24
-hours. It is unlikely you'd need to shorten this period, unless you are running
-a network with lots of devices appearing and disappearing.
-
-:code:`set service dhcp-server shared-network-name dhcpexample subnet
-172.16.17.0/24 start 172.16.17.100 stop 172.16.17.199` Make the IP Addresses
-between .100 and .199 available for clients.
+* :code:`set service dhcp-server shared-network-name dhcpexample authoritative`
+
+ This says that this device is the only DHCP server for this network. If other
+ devices are trying to offer DHCP leases, this machine will send 'DHCPNAK' to
+ any device trying to request an IP address that is not valid for this network.
+
+* :code:`set service dhcp-server shared-network-name dhcpexample subnet
+ 172.16.17.0/24 default-router 172.16.17.1`
+
+ This is a configuration parameter for the subnet, saying that as part of the
+ response, tell the client that I am the default router for this network
+
+* :code:`set service dhcp-server shared-network-name dhcpexample subnet
+ 172.16.17.0/24 dns-server 172.16.17.1`
+
+ This is a configuration parameter for the subnet, saying that as part of the
+ response, tell the client that I am the DNS server for this network. If you
+ do not want to run a DNS server, you could also provide one of the public
+ DNS servers, such as google's. You can add multiple entries by repeating the
+ line.
+
+* :code:`set service dhcp-server shared-network-name dhcpexample subnet
+ 172.16.17.0/24 lease 86400`
+
+ Assign the IP address to this machine for 24 hours. It is unlikely you'd need
+ to shorten this period, unless you are running a network with lots of devices
+ appearing and disappearing.
+
+* :code:`set service dhcp-server shared-network-name dhcpexample subnet
+ 172.16.17.0/24 start 172.16.17.100 stop 172.16.17.199`
+
+ Make the IP Addresses between .100 and .199 available for clients.
DHCPv6 server
-------------