# Host rules for the DHCP server of the internal network (br0). Read by the
# bridge's dnsmasq via dhcp-hostsfile= in
# /etc/NetworkManager/dnsmasq-shared.d/br0.conf.
#
# Why this file exists (measured 14.09.2026, dnsmasq 2.90, NetworkManager
# 1.42.4): NetworkManager starts that dnsmasq with a range of its own on the
# command line, --dhcp-range=192.168.195.1,192.168.195.191,60m for the .200/24
# bridge, and there is no setting to drop it (ipv4.shared-dhcp-range does not
# exist in 1.42). The range in br0.conf (.50 to .199, 24 h) only comes on top.
# Result: every lease below .192 ran for one hour, and a device that asked for
# 192.168.195.20 got it, although .1 to .49 are meant for devices with a fixed
# address (handbook, chapter 4.2). Customer hm lost track of his cameras.
#
#  * The first rule matches every client and gives it 24 h. The lease time of a
#    matching host rule beats the lease time of the range.
#  * The other rules reserve .1 to .49 for a client id that no device sends.
#    dnsmasq never hands out an address that belongs to another host rule, so a
#    device that asks for one of them gets an address from .50 to .199.
#
# Changing this file needs a restart of the bridge; the package postinst does
# that when the file is newer than the running dnsmasq.
*:*:*:*:*:*,24h
id:trutzbox-pool-reserve-1,192.168.195.1
id:trutzbox-pool-reserve-2,192.168.195.2
id:trutzbox-pool-reserve-3,192.168.195.3
id:trutzbox-pool-reserve-4,192.168.195.4
id:trutzbox-pool-reserve-5,192.168.195.5
id:trutzbox-pool-reserve-6,192.168.195.6
id:trutzbox-pool-reserve-7,192.168.195.7
id:trutzbox-pool-reserve-8,192.168.195.8
id:trutzbox-pool-reserve-9,192.168.195.9
id:trutzbox-pool-reserve-10,192.168.195.10
id:trutzbox-pool-reserve-11,192.168.195.11
id:trutzbox-pool-reserve-12,192.168.195.12
id:trutzbox-pool-reserve-13,192.168.195.13
id:trutzbox-pool-reserve-14,192.168.195.14
id:trutzbox-pool-reserve-15,192.168.195.15
id:trutzbox-pool-reserve-16,192.168.195.16
id:trutzbox-pool-reserve-17,192.168.195.17
id:trutzbox-pool-reserve-18,192.168.195.18
id:trutzbox-pool-reserve-19,192.168.195.19
id:trutzbox-pool-reserve-20,192.168.195.20
id:trutzbox-pool-reserve-21,192.168.195.21
id:trutzbox-pool-reserve-22,192.168.195.22
id:trutzbox-pool-reserve-23,192.168.195.23
id:trutzbox-pool-reserve-24,192.168.195.24
id:trutzbox-pool-reserve-25,192.168.195.25
id:trutzbox-pool-reserve-26,192.168.195.26
id:trutzbox-pool-reserve-27,192.168.195.27
id:trutzbox-pool-reserve-28,192.168.195.28
id:trutzbox-pool-reserve-29,192.168.195.29
id:trutzbox-pool-reserve-30,192.168.195.30
id:trutzbox-pool-reserve-31,192.168.195.31
id:trutzbox-pool-reserve-32,192.168.195.32
id:trutzbox-pool-reserve-33,192.168.195.33
id:trutzbox-pool-reserve-34,192.168.195.34
id:trutzbox-pool-reserve-35,192.168.195.35
id:trutzbox-pool-reserve-36,192.168.195.36
id:trutzbox-pool-reserve-37,192.168.195.37
id:trutzbox-pool-reserve-38,192.168.195.38
id:trutzbox-pool-reserve-39,192.168.195.39
id:trutzbox-pool-reserve-40,192.168.195.40
id:trutzbox-pool-reserve-41,192.168.195.41
id:trutzbox-pool-reserve-42,192.168.195.42
id:trutzbox-pool-reserve-43,192.168.195.43
id:trutzbox-pool-reserve-44,192.168.195.44
id:trutzbox-pool-reserve-45,192.168.195.45
id:trutzbox-pool-reserve-46,192.168.195.46
id:trutzbox-pool-reserve-47,192.168.195.47
id:trutzbox-pool-reserve-48,192.168.195.48
id:trutzbox-pool-reserve-49,192.168.195.49
