Update of /cvsroot/dhcp-agent/dhcp-agent/conf/dhcp-server
In directory sc8-pr-cvs1:/tmp/cvs-serv21149/conf/dhcp-server
Modified Files:
lease.conf.example
Log Message:
update to theoretical server conf example
Index: lease.conf.example
===================================================================
RCS file: /cvsroot/dhcp-agent/dhcp-agent/conf/dhcp-server/lease.conf.example,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** lease.conf.example 5 Jul 2003 19:30:51 -0000 1.1
--- lease.conf.example 6 Jul 2003 05:36:35 -0000 1.2
***************
*** 8,30 ****
# a lease defined on a range of IPs
! #
! #
range-lease 10.0.0.40 10.0.0.50 {
! domain-name = "whitefang.com";
! domain-name-servers = 10.0.0.1, 10.0.0.5;
! routers = 10.0.0.1;
! ip-address-lease-time = 86400;
};
! hostname-lease rage {
! domain-name "whitefang.com";
! domain-name-servers = 10.0.0.1, 10.0.0.5;
! routers = 10.0.0.1;
! ip-address-lease-time = 86400;
};
--- 8,51 ----
+ # setup default percents for renew/rebind
+
+ set default-renew-percent = 75;
+ set default-rebind-percent = 90;
+
# 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 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;
+ };
+
+
+ # order is try hostname leases before mac-lease
+
+ set lease-order = hostname, mac-lease;
|