lease.conf.example

来自「this is sample about DHCP-agent」· EXAMPLE 代码 · 共 52 行

EXAMPLE
52
字号
# $Header: /cvsroot/dhcp-agent/dhcp-agent/conf/dhcp-server/lease.conf.example,v 1.5 2003/07/15 10:56:34 actmodern Exp $## Example lease configuration file.## You probably don't want to use this verbatim.## Thamer Alharbash <tmh@whitefang.com># setup default percents for renew/rebindset default-renew-percent = 75;set default-rebind-percent = 90;set poll-timeout = 5;# order is try hostname leases before mac-lease# set lease-order = hostname, mac-lease;# a lease defined on a range of IPs # this is passed to everyone who does not# match a hostname or mac lease.range-lease 10.0.0.40 10.0.0.50 {        option domain-name = "whitefang.com";        option domain-name-servers = 10.0.0.1, 10.0.0.5;        option routers = 10.0.0.1;        option ip-address-lease-time = 86400;};# a lease passed to a hostnamehostname-lease "rage" 10.0.0.2 {        option domain-name = "whitefang.com";        option domain-name-servers = 10.0.0.1, 10.0.0.5;        option routers = 10.0.0.1;        option ip-address-lease-time = 86400;};# lease locked down on macmac-lease "00:ca:fe:ba:be:00" 10.0.0.51 {        option domain-name = "whitefang.com";        option domain-name-servers = 10.0.0.1, 10.0.0.5;        option routers = 10.0.0.1;        option ip-address-lease-time = 86400;};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?