<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<a class="moz-txt-link-abbreviated" href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a> wrote:
<blockquote
cite="mid:2e59e6970810032029p2b35c7bcye67211163aef8195@mail.gmail.com"
type="cite">
<blockquote type="cite">
<pre wrap="">Nope, seems dhcpcd is not requesting a renew of the lease at 1/2 time as
it should (IIRC). <a class="moz-txt-link-freetext" href="http://wiki.neuralbs.com/~kyron/DHCP_reqs_tb17">http://wiki.neuralbs.com/~kyron/DHCP_reqs_tb17</a> contains
a grep of the DHCP activity from the disappearing nodes int
/var/log/messages.
</pre>
</blockquote>
<pre wrap=""><!---->
Can you get a client-side log, or even better packet capture?
DISCOVER and RENEW requests may look different enough to match
firewall rules differently. For example, DISCOVER sent to broadcast
address and RENEW sent unicast.
</pre>
</blockquote>
Oct 7 11:50:52 thinkbig16 dhcpcd[29651]: eth0: sending signal 14 to
pid 21865<br>
Oct 7 11:50:52 thinkbig16 dhcpcd[21865]: eth0: received SIGALRM,
renewing lease<br>
Oct 7 11:50:52 thinkbig16 dhcpcd[21865]: eth0: renewing lease of
10.0.1.136<br>
Oct 7 11:50:52 thinkbig16 dhcpcd[21865]: eth0: NAK: lease not found
from 10.0.1.129<br>
Oct 7 11:50:52 thinkbig16 dhcpcd[29652]: eth0:
/lib/dhcpcd/dhcpcd-run-hooks: Network is unreachable<br>
Oct 7 11:50:53 thinkbig16 dhcpcd[21865]: eth0: broadcasting for a lease<br>
Oct 7 11:50:53 thinkbig16 dhcpcd[21865]: eth0: offered 10.0.1.136 from
10.0.1.136 `boothost'<br>
Oct 7 11:50:53 thinkbig16 dhcpcd[21865]: eth0: ignoring offer of
10.0.1.136 from 10.0.1.136 `boothost'<br>
Oct 7 11:50:53 thinkbig16 dhcpcd[21865]: eth0: acknowledged 10.0.1.136
from 10.0.1.136 `boothost'<br>
Oct 7 11:50:53 thinkbig16 dhcpcd[21865]: eth0: checking 10.0.1.136 is
available on attached networks<br>
Oct 7 11:50:59 thinkbig16 dhcpcd[21865]: eth0: leased 10.0.1.136 for
43200 seconds<br>
<br>
So the lease time is explicitly received as being 12h (which is
correct) but the " eth0: offered 10.0.1.136 from 10.0.1.136 `boothost'
" has got me frowning... (note that `boothost' is defined in the config
pasted below)<br>
<br>
The tcpdump file is available at:
<a class="moz-txt-link-freetext" href="http://wiki.neuralbs.com/~kyron/dhcpout_tb16">http://wiki.neuralbs.com/~kyron/dhcpout_tb16</a> sorry for the net chatter
but you get it all there ;)<br>
<blockquote
cite="mid:2e59e6970810032029p2b35c7bcye67211163aef8195@mail.gmail.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">What does your network topology look like? Are you using DHCP relays
and/or a not-fully-routed IP network? It's possiblr for hosts to be able
to get a network, but not renew it under some circumstances.
</pre>
</blockquote>
</blockquote>
</blockquote>
Ok at the risk of being flamed about network topology, I have a hacked
up setup but it shouldn't impact DHCP IMHO (I'm emulating NIC bonding
through IP masking).<br>
<br>
Here is the setup:<br>
<br>
<a class="moz-txt-link-freetext" href="http://wiki.neuralbs.com/~kyron/HyperTransport/ClusterNetDiagram.png">http://wiki.neuralbs.com/~kyron/HyperTransport/ClusterNetDiagram.png</a><br>
<br>
Here is the config file (sourced by dnsmasq.conf)<br>
eric@headless ~/1_Files/1_ETS/1_Maitrise/Code/pvq $ cat
/etc/dnsmasq.AthlonXP_All.conf<br>
# On force le broadcast à 10.0.1.255<br>
dhcp-option=28,10.0.1.255<br>
<br>
#The group name,address range and lease time:<br>
dhcp-range=AthlonXP_1,10.0.1.10,10.0.1.126,255.255.255.0,12h<br>
# The GROUP_NAME's,option 3:default Gateway (if you really need this,
nodes shouldn't require routed access):<br>
dhcp-option=AthlonXP,3,10.0.1.1<br>
# The GROUP_NAME's, option 42:time server address:<br>
dhcp-option=AthlonXP_1,42,10.0.1.1<br>
# This is required for PXE booting<br>
dhcp-boot=<a class="moz-txt-link-freetext" href="net:AthlonXP_1,/pxelinux.0,boothost,10.0.1.1">net:AthlonXP_1,/pxelinux.0,boothost,10.0.1.1</a><br>
# As can be seen in the dnsmasq.conf, this option is not guaranteed to
work (DN search order)<br>
dhcp-option=AthlonXP_1,119,cluster.local<br>
# Domain DNS name<br>
dhcp-option=15,cluster.local<br>
# NIS domain<br>
dhcp-option=40,cluster.local<br>
<br>
# Now for the host listing, format is:<br>
# dhcp-host=MACADDRESS,<a class="moz-txt-link-freetext" href="net:GROUP_NAME,NODE_NAME,IP_ADDRESS">net:GROUP_NAME,NODE_NAME,IP_ADDRESS</a><br>
dhcp-host=00:01:03:df:ca:44,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig1,10.0.1.11">net:AthlonXP_1,thinkbig1,10.0.1.11</a><br>
dhcp-host=00:01:03:DF:C6:38,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig2,10.0.1.12">net:AthlonXP_1,thinkbig2,10.0.1.12</a><br>
dhcp-host=00:01:03:DF:D3:30,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig3,10.0.1.13">net:AthlonXP_1,thinkbig3,10.0.1.13</a><br>
dhcp-host=00:01:03:DF:D3:08,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig4,10.0.1.14">net:AthlonXP_1,thinkbig4,10.0.1.14</a><br>
dhcp-host=00:01:03:DF:D3:01,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig5,10.0.1.15">net:AthlonXP_1,thinkbig5,10.0.1.15</a><br>
dhcp-host=00:01:03:DF:CA:3B,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig6,10.0.1.16">net:AthlonXP_1,thinkbig6,10.0.1.16</a><br>
dhcp-host=00:04:75:C2:21:14,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig7,10.0.1.17">net:AthlonXP_1,thinkbig7,10.0.1.17</a><br>
dhcp-host=00:01:03:DF:CA:46,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig8,10.0.1.18">net:AthlonXP_1,thinkbig8,10.0.1.18</a><br>
dhcp-host=00:01:03:de:5f:2e,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig9,10.0.1.19">net:AthlonXP_1,thinkbig9,10.0.1.19</a><br>
<br>
#<br>
# The group name,address range and lease time:<br>
dhcp-range=AthlonXP_2,10.0.1.130,10.0.1.254,255.255.255.0,12h<br>
# The GROUP_NAME's,option 3:default Gateway (if you really need this,
nodes shouldn't require routed access):<br>
dhcp-option=AthlonXP_2,3,10.0.1.129<br>
# The GROUP_NAME's, option 42:time server address:<br>
dhcp-option=AthlonXP_2,42,10.0.1.129<br>
# This is required for PXE booting<br>
dhcp-boot=<a class="moz-txt-link-freetext" href="net:AthlonXP_2,/pxelinux.0,boothost,10.0.1.129">net:AthlonXP_2,/pxelinux.0,boothost,10.0.1.129</a><br>
# As can be seen in the dnsmasq.conf, this option is not guaranteed to
work (DN search order)<br>
#dhcp-option=AthlonXP_2,119,cluster.local<br>
# Now for the host listing, format is:<br>
# dhcp-host=MACADDRESS,<a class="moz-txt-link-freetext" href="net:GROUP_NAME,NODE_NAME,IP_ADDRESS">net:GROUP_NAME,NODE_NAME,IP_ADDRESS</a><br>
<br>
dhcp-host=00:01:03:DE:B5:C3,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig10,10.0.1.130">net:AthlonXP_1,thinkbig10,10.0.1.130</a><br>
dhcp-host=00:01:03:DE:B6:AE,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig11,10.0.1.131">net:AthlonXP_1,thinkbig11,10.0.1.131</a><br>
dhcp-host=00:04:75:AA:36:5B,<a class="moz-txt-link-freetext" href="net:AthlonXP_1,thinkbig12,10.0.1.132">net:AthlonXP_1,thinkbig12,10.0.1.132</a><br>
dhcp-host=00:01:03:DF:CA:42,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig13,10.0.1.133">net:AthlonXP_2,thinkbig13,10.0.1.133</a><br>
dhcp-host=00:01:03:DE:B5:C2,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig14,10.0.1.134">net:AthlonXP_2,thinkbig14,10.0.1.134</a><br>
dhcp-host=00:01:03:24:E9:3B,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig15,10.0.1.135">net:AthlonXP_2,thinkbig15,10.0.1.135</a><br>
dhcp-host=00:04:75:EC:33:47,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig16,10.0.1.136">net:AthlonXP_2,thinkbig16,10.0.1.136</a><br>
dhcp-host=00:04:75:EC:4E:F2,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig17,10.0.1.137">net:AthlonXP_2,thinkbig17,10.0.1.137</a><br>
#dhcp-host=00:04:75:EC:4E:CF,<a class="moz-txt-link-freetext" href="net:AthlonXP_2,thinkbig18,10.0.1.138">net:AthlonXP_2,thinkbig18,10.0.1.138</a><br>
<br>
</body>
</html>