<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Rob there are no namespaces, the culprit was in fact ubuntu
12.04, which installs dnsmasq with a LISTEN on ALL network
connections<br>
by default.<br>
<br>
I just disabled its auto start and it is nor starting cleanly on the
network node when a job is scheduled.<br>
<div class="moz-cite-prefix"><br>
<br>
Of course the VM's still doesn't get an IP address.<br>
<br>
This is what i see.<br>
<br>
I launch an instance.<br>
the <b>compute</b> node creates a TAP interface <br>
it plumbs vnet0 <b>under</b> this<br>
<br>
At the same time the <b>network</b> node spawns TWO instances of
dnsmasq and <br>
has the correct range of IPs for the subnet so declared and it
binds both of these (seems odd)<br>
to the tap interface.<br>
<br>
if I tcpdump for broadcasts I see INCOMING bootp requests from the
correct MAC address of the vnet0 interface on the compute node<br>
<br>
if I tail -f the var/log/sysog file I see dnsmasq offering the
first free lease IP t the the correct MAC address of the vnet0 NIC<br>
i.e. I see a DHCPDISCOVER/DHCPOFFER<br>
<br>
<b>HOWEVER</b><b><br>
</b>vnet0 doesnt get its offered IP address and in fact I do NOT
see the offer being made from the network node BACK to the vnet0
on the compute node.<br>
<br>
<b>RESULT</b><b><br>
</b>No NIC on the VM.<br>
<br>
It seems like the boroadcast from compute node NIC to the network
node and DNSmasq is OK, but the offered IP address is not sent
back.<br>
<br>
<br>
<br>
Any ideas welcome.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On 01/20/2013 01:49 PM, Robert Collins wrote:<br>
</div>
<blockquote
cite="mid:CAJ3HoZ2q3rvENX9oRZhd-daxMFowxTZZYUHmuHpxpf9ZkxBnvA@mail.gmail.com"
type="cite">
<pre wrap="">On 19 January 2013 19:17, Ivan <a class="moz-txt-link-rfc2396E" href="mailto:isb@forscotland.com"><isb@forscotland.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi all,
I've hit a brick wall trying to get the dnsmasq process to bind
correctly and get itself ready to answer bootp/dhcp broadcasts.
</pre>
</blockquote>
<pre wrap="">
do you have net namespaces in use?
(ip netns list)
If not, I suspect your dhcp lease relay and dhcp-agent are binding to
the same port and will conflict, as you see.
-Rob
</pre>
</blockquote>
<br>
<br>
<br>
<br>
</body>
</html>