Linux系统中启动dhcpd命令,dhcpd命令--Linux命令应用大词典729个命令解读

内容来源于人民邮电出版社《Linux命令应用大词典》

讲述729个命令,1935个例子

学习Linux系统的参考书、案头书,遇到不懂的命令或命令选项一查即可

争取每天都发布内容

本文出自 “airfish2000” 博客,更多命令查看博客:

dhcpd命令

使用dhcpd命令可以运行DHCP服务器。

命令语法:

dhcpd [选项] [网络接口]

命令中各选项的含义如表所示。

表dhcpd命令选项含义选项含义

-p 指定dhcpd监听的端口

-f作为前台进程运行dhcpd

-d启用调试模式

-q在启动时不显示版权信息

-t简单地测试配置文件的语法是否正确的,但不会尝试执行任何网络操作

-T可以用来测试租约数据库文件

-4运行DHCP服务器

-6运行DHCPv6服务器

-s 指定发送回复的服务器

-cf 指定配置文件

-lf 指定租约文件

-pf 指定PID文件

-tf 指定文件记录DHCP服务器的整个启动状态

例:对DHCP服务器进行排错。

[root@rhel~]# 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.

Please reportfor this software via the Red Hat Bugzilla site:

http://bugzilla.redhat.com

exiting.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值