[dhcp-agent-commits] dhcp-agent/conf/dhcp-server lease.conf.example,1.5,1.6
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2003-07-26 23:47:46
|
Update of /cvsroot/dhcp-agent/dhcp-agent/conf/dhcp-server In directory sc8-pr-cvs1:/tmp/cvs-serv5142/conf/dhcp-server Modified Files: lease.conf.example Log Message: example configuration file updated Index: lease.conf.example =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/conf/dhcp-server/lease.conf.example,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** lease.conf.example 15 Jul 2003 10:56:34 -0000 1.5 --- lease.conf.example 26 Jul 2003 23:47:43 -0000 1.6 *************** *** 14,17 **** --- 14,21 ---- set poll-timeout = 5; + # configure a local subnet. + + local-subnet 10.0.0.0 255.255.255.0; + # order is try hostname leases before mac-lease *************** *** 22,51 **** # 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 hostname ! hostname-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 mac ! mac-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; }; --- 26,58 ---- # match a hostname or mac lease. ! subnet 10.0.0.0 255.255.255.0 { ! 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 hostname ! hostname-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 mac ! mac-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; ! }; }; |