Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnsmasq component of fruit-config #6

Open
herry13 opened this issue Apr 30, 2018 · 1 comment
Open

dnsmasq component of fruit-config #6

herry13 opened this issue Apr 30, 2018 · 1 comment
Assignees

Comments

@herry13
Copy link
Contributor

herry13 commented Apr 30, 2018

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)
@herry13 herry13 self-assigned this Apr 30, 2018
@herry13
Copy link
Contributor Author

herry13 commented Jun 25, 2018

Commit 9d5d959 implemented dnsmasq component that accepts /dnsmasq/interface parameter, but not /dnsmasq/dhcp-range.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant