summaryrefslogtreecommitdiffstats
path: root/content/posts/openbsd-dhcp-server/index.org
diff options
context:
space:
mode:
Diffstat (limited to 'content/posts/openbsd-dhcp-server/index.org')
-rw-r--r--content/posts/openbsd-dhcp-server/index.org11
1 files changed, 7 insertions, 4 deletions
diff --git a/content/posts/openbsd-dhcp-server/index.org b/content/posts/openbsd-dhcp-server/index.org
index 8e9a8cd..eb0d4bf 100644
--- a/content/posts/openbsd-dhcp-server/index.org
+++ b/content/posts/openbsd-dhcp-server/index.org
@@ -140,7 +140,7 @@ max-lease-time 2592000;
Finally I have an example static client configuration. Here the client
with the MAC address =22:33:44:55:66:77= will all ways be given the IP
=192.168.0.201=. This is useful when you want to assign a specific IP
-to a certain client without having to manually configure the IP.
+to a certain client without having to manually configure the interface.
#+BEGIN_SRC
host example-static-client {
@@ -149,14 +149,17 @@ host example-static-client {
}
#+END_SRC
-To run the DHCP server, I first enable, then start it using =rcctl=.
+Now that I'm done with the configuration file, it's time to start
+the DHCP server. To do this, I first enable, then start it using
+=rcctl=.
#+BEGIN_SRC
doas rcctl enable dhcpd
doas rcctl start dhcpd
#+END_SRC
-To see the leases the =dhcpd= is currently holding, you can check
-=/var/db/dhcpd.leases=.
+With the server running, to see the leases the =dhcpd= is currently
+holding, you can check =/var/db/dhcpd.leases=. Entries will be added
+to this file as clients make DHCP requests.
If you followed along these steps, you not have a running DHCP sever!