diff options
author | Dante Catalfamo | 2020-07-11 12:27:03 -0400 |
---|---|---|
committer | Dante Catalfamo | 2020-07-11 12:27:03 -0400 |
commit | dc4fe62bc89e4a3124cbe7325c27788a68fd09ce (patch) | |
tree | e1a271bacf8a93f9d60f53ce2bd4b11012f4eb3f /content/posts | |
parent | 38c66ec684e8a5435b1ea3c70a20cfb3246b9787 (diff) | |
download | blog-dc4fe62bc89e4a3124cbe7325c27788a68fd09ce.tar.gz blog-dc4fe62bc89e4a3124cbe7325c27788a68fd09ce.tar.bz2 blog-dc4fe62bc89e4a3124cbe7325c27788a68fd09ce.zip |
Fluff to dhcp article
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/openbsd-dhcp-server/index.org | 11 |
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! |