Advertisement
Guest User

Untitled

a guest
May 20th, 2019
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. root@OpenWrt:~# cat /etc/config/dhcp
  2.  
  3. config dnsmasq
  4. option domainneeded '1'
  5. option localise_queries '1'
  6. option rebind_protection '1'
  7. option rebind_localhost '1'
  8. option local '/lan/'
  9. option domain 'lan'
  10. option expandhosts '1'
  11. option authoritative '1'
  12. option readethers '1'
  13. option leasefile '/tmp/dhcp.leases'
  14. option resolvfile '/tmp/resolv.conf.auto'
  15. option nonwildcard '1'
  16. option localservice '1'
  17. option logqueries '1'
  18.  
  19. config dhcp 'lan'
  20. option interface 'lan'
  21. option start '100'
  22. option limit '150'
  23. option leasetime '12h'
  24.  
  25. config dhcp 'wan'
  26. option interface 'wan'
  27. option ignore '1'
  28.  
  29. config odhcpd 'odhcpd'
  30. option maindhcp '0'
  31. option leasefile '/tmp/hosts/odhcpd'
  32. option leasetrigger '/usr/sbin/odhcpd-update'
  33. option loglevel '4'
  34.  
  35. root@poolhouse02019:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement