-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.toml
45 lines (34 loc) · 1.09 KB
/
Config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[dhcp_config]
conf = "/etc/dnsmasq.conf"
port = 0 #disable dns in dnsmasq
# ==========================
# dnsmasq Configuration File
# ==========================
# Define the network interfaces to be managed by dnsmasq
[[interfaces]]
# Name of the network interface (e.g., eth0)
name = "raspberry"
# Whether to bind dnsmasq explicitly to the interface
bind_interfaces = true
# DHCP range in the format: start_ip, end_ip, lease_time
dhcp_range = "192.168.50.50,192.168.50.150,12h"
# List of static DHCP leases based on MAC addresses
[[interfaces.static_leases]]
# MAC address of the device
mac = "92:01:c8:a9:b2:c0"
# Reserved IP address for the device
ip = "192.168.50.100"
#[[interfaces.static_leases]]
#mac = "11:22:33:44:55:66"
#ip = "192.168.50.101"
# ==========================
# Additional Interfaces (Optional)
# ==========================
# To manage multiple interfaces, replicate the [[interfaces]] table.
# [[interfaces]]
# name = "eth1"
# bind_interfaces = true
# dhcp_range = "192.168.51.10,192.168.51.100,12h"
# [[interfaces.static_leases]]
# mac = "CC:DD:EE:FF:00:11"
# ip = "192.168.51.50"