-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
dnsmasq should be configured by fruit-config to enable DHCP server for a local cluster.
An example of dnsmasq configs:
{
"dnsmasq": {
"interface": "eth0",
"dhcp-range": "10.5.0.10,10.5.0.100,24"
}
}interface- the network interface where dnsmasq should serve. Note that this interface should be configured with a static IP address (see field/networkof filefruit.json)dhcp-range- consists of 3 values separated by comma:<min-ip>,<max-ip>,<lease-period>. Note that an error will occur when the min-ip and max-ip have different network addresses. An error also occurs when these IPs have different network address comparing to the static address of the interface wherednsmasqwill listen to (see field/dnsmasq/interface)