plzz.....help....

hitesh sharma engineerhitesh at gmail.com
Tue Feb 13 10:43:53 UTC 2007


1> actually , i want to know about the fixed leases which is declared in
client's .conf  file , let suppose when there is no dhcp server , then
client will assign the fixed leases which one is declared in leases
statement , but i want to know , that what i will have to do , that client
will automatically detect the server when server comes into lan ?
2> in client's .conf file , when i declared fixed leases , i.e. inside
leases statement , then there is three fields  renew , rebind , and
expiry ., so what is
     significance  of them .
3 >    we know that in client .conf  file , after  "timeout statement " ,
client will assign the fixed leases (when there is no valid leases in
.leases file ) , but i want to know , once fixed leases allocated to client
, then retry statement will execute ?
   i am also copying , my chclient.conf  file , plz take a look of this
.....................

send dhcp-lease-time 60;
request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, host-name;
require subnet-mask, domain-name-servers, routers;
timeout 20;
retry 30;   // i want to know about this statement
reboot 10;
select-timeout 5;
initial-interval 2;
script "/sbin/dhclient-script";
#media "-link0 -link1 -link2", "link0 link1";
#interface "eth0" {
#                reject 192.168.0.76;
#                send dhcp-lease-time 400;
#               send dhcp-client-identifier 00:0C:29:B1:A6:32;
#               }

#interface "eth1" {
#               send dhcp-client-identifier 00:0C:29:B1:A6:3C;
#                send dhcp-lease-time 600 ;
#               }

lease {
  interface "eth0";
  fixed-address 192.168.15.195;
  medium "link0 link1";
   option host-name "fixed add eth0";
  option subnet-mask 255.255.240.0;
  option broadcast-address 192.168.15.255;
  option routers 192.168.15.195;
  option domain-name-servers 192.168.15.195;
 # renew 0 2007/2/3 00:00:01;  // i also want to know @  these three
statement
 # rebind 0 2007/2/3 00:00:01;
  expire 0 2007/2/3 00:00:01;
}

lease {
       interface "eth1";
       fixed-address 192.168.15.197;
     option host-name "fixed add eth1";
       option subnet-mask 255.255.240.0;
       option broadcast-address 192.168.15.255;
       option routers 192.168.15.197;
       option domain-name-servers 192.168.15.197;
  #      renew 0 2007/2/3 00:00:01;
   #     rebind 0 2007/2/3 00:00:01;
         expire 0 2007/2/3 00:00:01;
      }





   thanks ............................
             waiting for ur reply......................................

Hitesh Sharma




More information about the dhcp-users mailing list