This commit is contained in:
TED A. ⭕ 2025-08-07 11:58:40 +00:00
parent 7207ac4a5b
commit 80db7ef5a4
1 changed files with 45 additions and 0 deletions

45
dhcp Normal file
View File

@ -0,0 +1,45 @@
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 cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'server'
option ra 'server'
list ra_flags 'managed-config'
list ra_flags 'other-config'
config dhcp 'wan'
option interface 'wan'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
config host
option name 'raspberrypi'
option ip '192.168.1.225'
option mac 'D8:3A:DD:E7:A6:03'
config host
option name 'raspberrypi'
option ip '192.168.1.226'
option mac '2C:CF:67:27:0E:46'