3
0

udhcpd.conf 740 B

12345678910111213141516171819202122232425262728
  1. # Directives with defaults:
  2. # start 192.168.0.20
  3. # end 192.168.0.254
  4. # interface eth0
  5. # max_leases 235
  6. # auto_time 7200
  7. # decline_time 3600
  8. # conflict_time 3600
  9. # offer_time 60
  10. # min_lease 60
  11. # lease_file /var/lib/misc/udhcpd.leases
  12. # pidfile /var/run/udhcpd.pid
  13. # siaddr 0.0.0.0
  14. #
  15. # Directives with no defaults (or with empty defaults):
  16. # option/opt NAME VALUE
  17. # notify_file /path/to/script_to_run_after_leasefile_is_written
  18. # (it is run with $1 = lease_file_name)
  19. # sname dhcp_packet_sname_field_contents
  20. # boot_file dhcp_packet_bootfile_field_contents
  21. # static_lease XX:XX:XX:XX:XX:XX IP.ADD.RE.SS
  22. interface if
  23. pidfile /dev/null
  24. lease_file udhcpd.leases
  25. option subnet 255.255.255.0
  26. option lease 3600
  27. #option router 192.168.0.1