Skip to content

dnsmasq component of fruit-config #6

@herry13

Description

@herry13

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 /network of file fruit.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 where dnsmasq will listen to (see field /dnsmasq/interface)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions