黄色片网站免费观看-黄色片网站观看-黄色片网站大全-黄色片视频网-色偷偷网址-色偷偷网站

dhcpd

運行DHCP服務器

語法

dhcpd [選項] [網絡接口]

選項

-p <端口> 指定dhcpd監聽的端口
-f 作為前臺進程運行dhcpd
-d 啟用調試模式
-q 在啟動時不顯示版權信息
-t 簡單地測試配置文件的語法是否正確的,但不會嘗試執行任何網絡操作
-T 可以用來測試租約數據庫文件
-4 運行DHCP服務器
-6 運行DHCPv6服務器
-s <服務器> 指定發送回復的服務器
-cf <配置文件> 指定配置文件
-lf <租約文件> 指定租約文件
-pf <PID文件> 指定PID文件
-tf <跟蹤輸出文件> 指定文件記錄DHCP服務器的整個啟動狀態

例子

對DHCP服務器進行排錯。

[root@localhost ~]# dhcpd
InternetSystems Consortium DHCP Server 4.1.1-P1
Copyright2004-2010 Internet Systems 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.