diff options
Diffstat (limited to 'examples/udhcp')
-rw-r--r-- | examples/udhcp/udhcpd.conf | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/examples/udhcp/udhcpd.conf b/examples/udhcp/udhcpd.conf index 7fc37ab..0ad982b 100644 --- a/examples/udhcp/udhcpd.conf +++ b/examples/udhcp/udhcpd.conf @@ -20,18 +20,18 @@ interface eth0 #auto_time 7200 # The amount of time that an IP will be reserved (leased to nobody) -# if a DHCP decline message is received (seconds). +# if a DHCP decline message is received (seconds) #decline_time 3600 # The amount of time that an IP will be reserved -# if an ARP conflict occurs (seconds). +# if an ARP conflict occurs (seconds) #conflict_time 3600 -# How long an offered address is reserved (seconds). +# How long an offered address is reserved (seconds) #offer_time 60 # If client asks for lease below this value, it will be rounded up -# to this value (seconds). +# to this value (seconds) #min_lease 60 # The location of the leases file @@ -40,15 +40,19 @@ interface eth0 # The location of the pid file #pidfile /var/run/udhcpd.pid -# Every time udhcpd writes a leases file, the below script will be called. +# Every time udhcpd writes a leases file, the below script will be called #notify_file # default: no script #notify_file dumpleases # useful for debugging -# The following are bootp specific options, settable by udhcpd. +# The following are bootp specific options #siaddr 192.168.0.22 #default: 0.0.0.0 #sname zorak #default: none #boot_file /var/nfs_root #default: none +# Static leases map +#static_lease 00:60:08:11:CE:4E 192.168.0.54 +#static_lease 00:60:08:11:CE:3E 192.168.0.44 + # The remainder of options are DHCP options and can be specified with the # keyword 'opt' or 'option'. If an option can take multiple items, such # as the dns option, they can be listed on the same line, or multiple @@ -60,7 +64,7 @@ opt router 192.168.10.2 opt wins 192.168.10.10 option dns 129.219.13.81 # appended to above DNS servers for a total of 3 option domain local -option lease 864000 # 10 days of seconds +option lease 864000 # 10 days # Currently supported options (for more info, see options.c): #opt lease NUM @@ -92,7 +96,3 @@ option lease 864000 # 10 days of seconds #opt swapsrv IP #opt timesrv IP_LIST #opt ntpsrv IP_LIST - -# Static leases map -#static_lease 00:60:08:11:CE:4E 192.168.0.54 -#static_lease 00:60:08:11:CE:3E 192.168.0.44 |