wok annotate busybox/stuff/udhcpd.conf @ rev 3599
iFax: amsn WGET_URL
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Jun 28 21:33:29 2009 +0200 (2009-06-28) |
parents | |
children | f48f653c6d0c |
rev | line source |
---|---|
pascal@514 | 1 # /etc/udhcpd.conf: SliTaz DHCP server configuration. |
pascal@514 | 2 # |
pascal@514 | 3 |
pascal@514 | 4 # The start and end of the IP lease block |
pascal@514 | 5 start 192.168.0.20 #default: 192.168.0.20 |
pascal@514 | 6 end 192.168.0.254 #default: 192.168.0.254 |
pascal@514 | 7 |
pascal@514 | 8 # The interface that udhcpd will use |
pascal@514 | 9 interface eth0 #default: eth0 |
pascal@514 | 10 |
pascal@514 | 11 # The maximum number of leases (includes addressesd reserved |
pascal@514 | 12 # by OFFER's, DECLINE's, and ARP conficts |
pascal@514 | 13 #max_leases 254 #default: 254 |
pascal@514 | 14 |
pascal@514 | 15 # The amount of time that an IP will be reserved (leased) for if a |
pascal@514 | 16 # DHCP decline message is received (seconds). |
pascal@514 | 17 #decline_time 3600 #default: 3600 (1 hour) |
pascal@514 | 18 |
pascal@514 | 19 # The amount of time that an IP will be reserved (leased) for if an |
pascal@514 | 20 # ARP conflct occurs. (seconds |
pascal@514 | 21 #conflict_time 3600 #default: 3600 (1 hour) |
pascal@514 | 22 |
pascal@514 | 23 # How long an offered address is reserved (leased) in seconds |
pascal@514 | 24 #offer_time 60 #default: 60 (1 minute) |
pascal@514 | 25 |
pascal@514 | 26 # If a lease to be given is below this value, the full lease time is |
pascal@514 | 27 # instead used (seconds). |
pascal@514 | 28 #min_lease 60 #defult: 60 |
pascal@514 | 29 |
pascal@514 | 30 # The location of the leases file |
pascal@514 | 31 lease_file /var/lib/udhcpd.leases #default: /var/lib/misc/udhcpd.leases |
pascal@514 | 32 |
pascal@514 | 33 # The location of the pid file |
pascal@514 | 34 pidfile /var/run/udhcpd.pid #default: /var/run/udhcpd.pid |
pascal@514 | 35 |
pascal@514 | 36 # The remainer of options are DHCP options and can be specifed with the |
pascal@514 | 37 # keyword 'opt' or 'option'. If an option can take multiple items, such |
pascal@514 | 38 # as the dns option, they can be listed on the same line, or multiple |
pascal@514 | 39 # lines. The only option with a default is 'lease'. |
pascal@514 | 40 |
pascal@514 | 41 #Examples |
pascal@514 | 42 #opt dns 192.168.10.2 192.168.10.10 |
pascal@514 | 43 option subnet 255.255.255.0 |
pascal@514 | 44 #option dns 129.219.13.81 # appened to above DNS servers for a total of 3 |
pascal@514 | 45 option lease 864000 # 10 days of seconds |
pascal@514 | 46 |
pascal@514 | 47 # Currently supported options |
pascal@514 | 48 #opt subnet |
pascal@514 | 49 #opt timezone |
pascal@514 | 50 #opt router |
pascal@514 | 51 #opt timesrv |
pascal@514 | 52 #opt namesrv |
pascal@514 | 53 #opt dns |
pascal@514 | 54 #opt logsrv |
pascal@514 | 55 #opt cookiesrv |
pascal@514 | 56 #opt lprsrv |
pascal@514 | 57 #opt bootsize |
pascal@514 | 58 #opt domain |
pascal@514 | 59 #opt swapsrv |
pascal@514 | 60 #opt rootpath |
pascal@514 | 61 #opt ipttl |
pascal@514 | 62 #opt mtu |
pascal@514 | 63 #opt broadcast |
pascal@514 | 64 #opt wins |
pascal@514 | 65 #opt lease |
pascal@514 | 66 #opt ntpsrv |
pascal@514 | 67 #opt tftp |
pascal@514 | 68 #opt bootfile |