Fixing dnsmasq dhcp configuration
This commit is contained in:
parent
6f60f1087c
commit
ded27e3d5e
@ -19,6 +19,8 @@ node_default_network_interface: eth0
|
|||||||
ipv4_subnet_mask: 255.255.255.0
|
ipv4_subnet_mask: 255.255.255.0
|
||||||
ipv4_gateway: 192.168.1.1
|
ipv4_gateway: 192.168.1.1
|
||||||
ipv4_nameserver: 8.8.8.8
|
ipv4_nameserver: 8.8.8.8
|
||||||
|
dhcp_pool_start: 192.168.1.200
|
||||||
|
dhcp_pool_end: 192.168.1.250
|
||||||
# ipmi_bridging: Default undefined. Valid values: "no", "single", and "dual"
|
# ipmi_bridging: Default undefined. Valid values: "no", "single", and "dual"
|
||||||
# See http://docs.openstack.org/developer/ironic/_modules/ironic/drivers/modules/ipmitool.html
|
# See http://docs.openstack.org/developer/ironic/_modules/ironic/drivers/modules/ipmitool.html
|
||||||
#ipmi_bridging: no
|
#ipmi_bridging: no
|
||||||
|
@ -109,7 +109,7 @@ interface={{ network_interface }}
|
|||||||
# want dnsmasq to really bind only the interfaces it is listening on,
|
# want dnsmasq to really bind only the interfaces it is listening on,
|
||||||
# uncomment this option. About the only time you may need this is when
|
# uncomment this option. About the only time you may need this is when
|
||||||
# running another nameserver on the same machine.
|
# running another nameserver on the same machine.
|
||||||
#bind-interfaces
|
bind-interfaces
|
||||||
|
|
||||||
# If you don't want dnsmasq to read /etc/hosts, uncomment the
|
# If you don't want dnsmasq to read /etc/hosts, uncomment the
|
||||||
# following line.
|
# following line.
|
||||||
@ -142,7 +142,7 @@ interface={{ network_interface }}
|
|||||||
# a lease time. If you have more than one network, you will need to
|
# a lease time. If you have more than one network, you will need to
|
||||||
# repeat this for each network on which you want to supply DHCP
|
# repeat this for each network on which you want to supply DHCP
|
||||||
# service.
|
# service.
|
||||||
#dhcp-range=192.168.0.50,192.168.0.150,12h
|
dhcp-range={{dhcp_pool_start}},{{dhcp_pool_end}},12h
|
||||||
|
|
||||||
# This is an example of a DHCP range where the netmask is given. This
|
# This is an example of a DHCP range where the netmask is given. This
|
||||||
# is needed for networks we reach the dnsmasq DHCP server via a relay
|
# is needed for networks we reach the dnsmasq DHCP server via a relay
|
||||||
|
Loading…
x
Reference in New Issue
Block a user