What listen-address should dnsmasq use?
Looking at the code it appears that nova uses the network's gateway address as the 'listen-address' for dnsmasq. It get's this gateway address from the database.
In my setup the network is 192.168.42.0/24. This results in nova starting dnsmasq with the listen-address 192.168.42.1.
The dnsmasq processes look like this,
dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
Using this setup I can see DHCP requests coming in (using tcpdump) but there's no response going out. I'm not sure why dnsmasq doesn't see these packets but as an experiment I changed the 'gateway' in the database to the IP addres of the machine running dnsmasq, i.e. '192.168.110.10'.
After killing all the dnsmasq processes and restarting nova-network here's what dnsmasq looks like,
dnsmasq --strict-order --bind-interfaces --conf-file= --domain=novalocal --pid-file=
Using this setup dnsmasq does return an ip address. Ot at least it appears to. Here's the output of 'tcpdump -i br100 port 67 or 68',
16:28:22.971744 IP 0.0.0.0.bootpc > 255.255.
16:28:22.972356 IP 192.168.42.1.bootps > 192.168.
The problem is the compute node, and hence the VM, isn't receiving this response. I'm not sure is this is due to my messing about with dnsmasq or (more likely) a network issue. In either case I'm stumped.
Any ideas?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Vish Ishaya
- Solved:
- Last query:
- Last reply: