📄 udhcpd.conf.5
字号:
.TH UDHCPD.CONF 5 2001-09-26 GNU/Linux "GNU/Linux Administrator's Manual".SH NAMEudhcpd.conf \- udhcp server configuration file.SH DESCRIPTIONThe file.I /etc/udhcpd.confcontains configuration information specific to the udhcp server.It should contain one configuration keyword per line, followed byappropriate configuration information..SH OPTIONS.TP.BI start\ ADDRESSThe starting address of the IP lease block is.IR ADDRESS .The default is.BR 192.168.0.20 ..TP.BI end\ ADDRESSThe ending address of the IP lease block is.IR ADDRESS .The default is.BR 192.168.0.254 ..TP.BI interface\ INTERFACEThe udhcp server should listen on.IR INTERFACE .The default is.BR eth0 ..TP.BI max_leases\ LEASESOffer at most.I LEASESleases (including those reserved by OFFERs, DECLINEs, and ARPconflicts). The default is.BR 254 ..TP .BI remaining\ REMAININGIf.I REMAININGis.BR yes ,store the time remaining for each lease. If it is.BR no ,store the expiration time for each lease. The default is.BR yes ..TP.BI auto_time\ SECONDSWrite the lease information to a file every.I SECONDSseconds. The default is.BR 7200 ..TP.BI decline_time\ SECONDSReserve an IP for.I SECONDSseconds if a DHCP decline message is received. The default is.BR 3600 ..TP.BI conflict_time\ SECONDSReserve an IP for.I SECONDSseconds if an ARP conflict occurs. The default is.BR 3600 ..TP.BI offer_time\ SECONDSReserve an IP for.I SECONDSseconds if it is offered. The default is.BR 60 ..TP.BI min_lease\ SECONDSReserve an IP for the full lease time if the lease to be given is less than.I SECONDSseconds. The default is.BR 60 ..TP.BI lease_file\ FILEWrite the lease information to.IR FILE .The default is.BR /var/lib/misc/udhcpd.leases ..TP.BI pidfile\ FILEWrite the process ID to.IR FILE .The default is.BR /var/run/udhcpd.pid ..TP.BI notify_file\ FILEExecute.I FILEafter the lease information is written. By default, no file is executed..TP.BI siaddr\ ADDRESSBOOTP specific option. The default is.BR 0.0.0.0 ..TP.BI sname\ NAMEBOOTP specific option. There is no default..TP.BI boot_file\ FILEBOOTP specific option. There is no default..TP.BI option\ OPTIONDHCP specific option..RS.TP.BI subnet\ ADDRESS.TP.BI timezone\ OFFSET.TP.BI router\ ADDRESS....TP.BI timesvr\ ADDRESS....TP.BI namesvr\ ADDRESS....TP.BI dns\ ADDRESS....TP.BI logsvr\ ADDRESS....TP.BI cookiesvr\ ADDRESS....TP.BI lprsvr\ ADDRESS....TP.BI hostname\ HOSTNAME.TP.BI bootsize\ SIZE.TP.BI domain\ DOMAIN.TP.BI swapsvr\ ADDRESS.TP.BI rootpath\ PATH.TP.BI ipttl\ TTL.TP.BI mtu\ MTU.TP.BI broadcast\ ADDRESS.TP.BI ntpsrv\ ADDRESS....TP.BI wins\ ADDRESS....TP.BI requestip\ ADDRESS.TP.BI lease\ SECONDS.TP.BI dhcptype\ TYPE.TP.BI serverid\ ADDRESS.TP.BI tftp\ FILE.TP.BI bootfile\ FILEThe default for.B leaseis.BR 864000 .There are no defaults for the other options..RE.SH SEE ALSO.BR udhcpd (8).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -