Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the dhcpd command in Linux

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to use the dhcpd command in Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Linux common command dhcpd is mainly used to run DHCP server

Dhcpd runs DHCP server

Syntax dhcpd [options] [Network Interface] option-p specifies the port on which dhcpd listens-f runs dhcpd-d as a foreground process to enable debug mode-Q does not display copyright information at startup-t simply tests whether the syntax of the configuration file is correct However, no network operation will be attempted-T can be used to test the lease database file-4 run the DHCP server-6 run the DHCPv6 server-s specify the server to send the reply-cf specified configuration file-lf specified lease file-pf specified PID file-tf specified file records the entire startup status of the DHCP server example to troubleshoot the DHCP server.

[root@localhost] # dhcpd InternetSystems Consortium DHCP Server 4.1.1-P1 Copyright2004-2010 InternetSystems Consortium. All rightsreserved. For info,please visit https://www.isc.org/software/dhcp/ Not searchingLDAP since ldap-server, ldap-port and ldap-base-dn were not specified in theconfig file Wrote 0deleted host decls to leases file. Wrote 0 newdynamic host decls to leases file. Wrote 1leases to leases file. Listening onLPF/eth0/00:0c:29:fc:2f:e5/192.168.0.0/24 Sendingon LPF/eth0/00:0c:29:fc:2f:e5/192.168.0.0/24 Sendingon Socket/fallback/fallback-net [root@rhel~] # There's already a DHCP server running. This versionof ISC DHCP is based on the release available onftp.isc.org. Features have been addedand other changes have beenmade to the base software release in order to make it workbetter with this distribution. Exiting. The above is all the contents of the article "how to use dhcpd commands in Linux". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report