Skip to content

Instantly share code, notes, and snippets.

@KA2107
Created June 14, 2021 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KA2107/cd1f7a2b35a1c8a8f6740beb24b39b7c to your computer and use it in GitHub Desktop.
Save KA2107/cd1f7a2b35a1c8a8f6740beb24b39b7c to your computer and use it in GitHub Desktop.
TP-Link Archer A7 v5 - OpenWRT 21.02.0-rc2 - /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option localservice '1'
option confdir '/tmp/dnsmasq.d'
option nohosts '1'
option noresolv '1'
option cachesize '0'
option cachelocal '0'
option port '0'
option quietdhcp '1'
option allservers '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config dhcp 'lan_1'
option interface 'lan_1'
option leasetime '4h'
option start '101'
option limit '20'
option force '1'
list dhcp_option '6,192.168.123.1'
option ra 'server'
option dhcpv6 'server'
option ndp 'disabled'
option ra_management '0'
list dns 'fd00:aaaa:aaaa:aaa1::1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config dhcp 'wan6'
option interface 'wan6'
option ignore '1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment