/[mdap]/etc/udhcpd.conf
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /etc/udhcpd.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 42 by dpavlin, Fri Nov 16 13:04:56 2007 UTC revision 62 by dpavlin, Sat Nov 17 00:12:12 2007 UTC
# Line 2  Line 2 
2    
3  # The start and end of the IP lease block  # The start and end of the IP lease block
4    
5  start           10.0.0.2        #default: 192.168.0.20  start           10.0.1.1        #default: 192.168.0.20
6  end             10.0.0.254      #default: 192.168.0.254  end             10.0.1.254      #default: 192.168.0.254
7    
8    
9  # The interface that udhcpd will use  # The interface that udhcpd will use
# Line 14  interface      eth1            #default: eth0 Line 14  interface      eth1            #default: eth0
14  # The maximim number of leases (includes addressesd reserved  # The maximim number of leases (includes addressesd reserved
15  # by OFFER's, DECLINE's, and ARP conficts  # by OFFER's, DECLINE's, and ARP conficts
16    
17  max_leases      10              #default: 254  max_leases      254             #default: 254
18    
19    
20  # If remaining is true (default), udhcpd will store the time  # If remaining is true (default), udhcpd will store the time
# Line 23  max_leases     10              #default: 254 Line 23  max_leases     10              #default: 254
23  # If you set remaining to no, the absolute time that the lease  # If you set remaining to no, the absolute time that the lease
24  # expires at will be stored in the dhcpd.leases file.  # expires at will be stored in the dhcpd.leases file.
25    
26  #remaining      yes             #default: yes  remaining       yes             #default: yes
27    
28    
29  # The time period at which udhcpd will write out a dhcpd.leases  # The time period at which udhcpd will write out a dhcpd.leases
30  # file. If this is 0, udhcpd will never automatically write a  # file. If this is 0, udhcpd will never automatically write a
31  # lease file. (specified in seconds)  # lease file. (specified in seconds)
32    
33  #auto_time      7200            #default: 7200 (2 hours)  auto_time       60              #default: 7200 (2 hours)
34    
35    
36  # The amount of time that an IP will be reserved (leased) for if a  # The amount of time that an IP will be reserved (leased) for if a
# Line 67  pidfile                etc/udhcpd.pid          #default: /var/ Line 67  pidfile                etc/udhcpd.pid          #default: /var/
67    
68  #notify_file                            #default: (no script)  #notify_file                            #default: (no script)
69    
70  notify_file     dumpleases      # <--- usefull for debugging  #notify_file    dumpleases      # <--- usefull for debugging
71    
72  # The following are bootp specific options, setable by udhcpd.  # The following are bootp specific options, setable by udhcpd.
73    
74  #siaddr         192.168.0.22            #default: 0.0.0.0  #siaddr         10.0.0.100              #default: 0.0.0.0
75    
76  #sname          zorak                   #default: (none)  #sname          zorak                   #default: (none)
77    
# Line 84  notify_file    dumpleases      # <--- usefull f Line 84  notify_file    dumpleases      # <--- usefull f
84    
85  #Examles  #Examles
86  #opt    dns     192.168.10.2 192.168.10.10  #opt    dns     192.168.10.2 192.168.10.10
87  #option subnet  255.0.0.0  option  subnet  255.0.0.0
88  opt     router  10.0.0.1  opt     router  10.0.0.100
89  #opt    wins    192.168.10.10  #opt    wins    192.168.10.10
90  #option dns     129.219.13.81   # appened to above DNS servers for a total of 3  #option dns     129.219.13.81   # appened to above DNS servers for a total of 3
91  option  domain  local  #option domain  local
92  #option lease   864000          # 10 days of seconds  #option lease   864000          # 10 days of seconds
93  option  lease   90  #option lease   90
94    
95    
96  # Currently supported options, for more info, see options.c  # Currently supported options, for more info, see options.c
# Line 113  option lease   90 Line 113  option lease   90
113  #opt wins  #opt wins
114  #opt lease  #opt lease
115  #opt ntpsrv  #opt ntpsrv
116  #opt tftp  opt tftp        foobar
117  #opt bootfile  #opt bootfile
118  #opt wpad  #opt wpad

Legend:
Removed from v.42  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.26