W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗(yàn)值獎勵
運(yùn)行DHCP服務(wù)器
dhcpd [選項(xiàng)] [網(wǎng)絡(luò)接口]
-p <端口> 指定dhcpd監(jiān)聽的端口
-f 作為前臺進(jìn)程運(yùn)行dhcpd
-d 啟用調(diào)試模式
-q 在啟動時不顯示版權(quán)信息
-t 簡單地測試配置文件的語法是否正確的,但不會嘗試執(zhí)行任何網(wǎng)絡(luò)操作
-T 可以用來測試租約數(shù)據(jù)庫文件
-4 運(yùn)行DHCP服務(wù)器
-6 運(yùn)行DHCPv6服務(wù)器
-s <服務(wù)器> 指定發(fā)送回復(fù)的服務(wù)器
-cf <配置文件> 指定配置文件
-lf <租約文件> 指定租約文件
-pf <PID文件> 指定PID文件
-tf <跟蹤輸出文件> 指定文件記錄DHCP服務(wù)器的整個啟動狀態(tài)
對DHCP服務(wù)器進(jìn)行排錯。
[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.
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: