Désactiver DHCP
This commit is contained in:
parent
0045274e08
commit
e194aa7750
2 changed files with 37 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,7 +12,6 @@
|
|||
/logs
|
||||
/feeds
|
||||
/feeds.conf
|
||||
/files
|
||||
/package/feeds
|
||||
/package/openwrt-packages
|
||||
*.orig
|
||||
|
|
37
files/etc/config/dhcp
Normal file
37
files/etc/config/dhcp
Normal file
|
@ -0,0 +1,37 @@
|
|||
config dnsmasq
|
||||
option domainneeded '1'
|
||||
option boguspriv '1'
|
||||
option filterwin2k '0'
|
||||
option localise_queries '1'
|
||||
option rebind_protection '1'
|
||||
option rebind_localhost '1'
|
||||
option local '/lan/'
|
||||
option domain 'lan'
|
||||
option expandhosts '1'
|
||||
option nonegcache '0'
|
||||
option authoritative '1'
|
||||
option readethers '1'
|
||||
option leasefile '/tmp/dhcp.leases'
|
||||
option resolvfile '/tmp/resolv.conf.auto'
|
||||
|
||||
config dhcp 'lan'
|
||||
option interface 'lan'
|
||||
option start '100'
|
||||
option limit '150'
|
||||
option leasetime '12h'
|
||||
option dhcpv6 'server'
|
||||
option ra 'server'
|
||||
|
||||
config dhcp 'wan'
|
||||
option interface 'wan'
|
||||
option ignore '1'
|
||||
|
||||
config odhcpd 'odhcpd'
|
||||
option maindhcp '0'
|
||||
option leasefile '/tmp/hosts/odhcpd'
|
||||
option leasetrigger '/usr/sbin/odhcpd-update'
|
||||
|
||||
# Crans modification pour désactiver le DHCP
|
||||
config dhcp 'vlan3'
|
||||
option interface vlan3
|
||||
option ignore 1
|
Loading…
Add table
Add a link
Reference in a new issue