Fixing dnsmasq dhcp configuration

This commit is contained in:
Julia Kreger 2015-03-03 19:14:40 -05:00
parent 6f60f1087c
commit ded27e3d5e
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,8 @@ node_default_network_interface: eth0
ipv4_subnet_mask: 255.255.255.0
ipv4_gateway: 192.168.1.1
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"
# See http://docs.openstack.org/developer/ironic/_modules/ironic/drivers/modules/ipmitool.html
#ipmi_bridging: no

View File

@ -109,7 +109,7 @@ interface={{ network_interface }}
# 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
# running another nameserver on the same machine.
#bind-interfaces
bind-interfaces
# If you don't want dnsmasq to read /etc/hosts, uncomment the
# following line.
@ -142,7 +142,7 @@ interface={{ network_interface }}
# 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
# 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
# is needed for networks we reach the dnsmasq DHCP server via a relay