<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Yes, this is the expected and normal behavior. Each server will reply with an address from its half of the pool. The machine that is receiving the offers will
take the first offer to arrive and ignore the other.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">We have deployed remote DHCP served by relay for 20 years, and this is how it functions.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The only annoyance with remote relay DHCP is that the NAK message is a local broadcast.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:#002060">Don Friesen</span></b><span lang="EN-US" style="font-size:10.0pt;color:#1F497D"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> dhcp-users-bounces@lists.isc.org [mailto:dhcp-users-bounces@lists.isc.org]
<b>On Behalf Of </b>Patrick Trapp<br>
<b>Sent:</b> Tuesday, June 16, 2015 6:17 AM<br>
<b>To:</b> Users of ISC DHCP<br>
<b>Subject:</b> RE: DHCP Relay agent not forwarding messages to the client<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">You'll want more experienced answers, I'm sure, but we are running a fair-sized network for our DHCP - I believe around 45000 devices
and roughly 70 subnets. All of those devices find the DHCP servers via relay agents and we are using failover.<br>
<br>
We do generally see two DHCP offers - one from each server - when a device requests an address. I expected that behavior and saw no reason to be concerned with it. I still don't - I am under the impression that this is how the system is designed to work.<br>
<br>
It has worked fine for us in this fashion for years. We deployed this particular solution in 2007, but I believe it was used for other devices prior to that, so we have used this through several iterations of ISC-DHCP.<br>
<br>
Patrick<o:p></o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="color:black">
<hr size="2" width="100%" align="center">
</span></div>
<div id="divRpF501387">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black">
<a href="mailto:dhcp-users-bounces@lists.isc.org">dhcp-users-bounces@lists.isc.org</a> [dhcp-users-bounces@lists.isc.org] on behalf of Gero Palacio [gero.palacio@gmail.com]<br>
<b>Sent:</b> Monday, June 15, 2015 5:17 PM<br>
<b>To:</b> Users of ISC DHCP<br>
<b>Subject:</b> Re: DHCP Relay agent not forwarding messages to the client</span><span style="color:black"><o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black">Hi Simon, <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">Thanks for the reply, I did not know if it was a bug or the correct behavior.<br>
<br>
If I may, let me ask you a follow up question. Does DHCP relay works well with a pair of DHCP servers in failover mode?<br>
<br>
I've configured the relay agent described in my previous email to forward the messages to the pair of DHCP servers. Now everytime the relay agent forwards a discovery message from the host, I receive 2 dhcp offers, one from each server. As I've configured split
to 128, only 1 server should reply with an offer.<br>
<br>
If I test the same configuration with hosts in the same subnet as the DHCP servers, the behavior is as expected. The DHCP servers
<u>responds or ignores</u> the discovery messages according to the result of the hash based on the MAC address of the hosts.<br>
<br>
Any idea what might be the problem? Is it even a good idea to run a relay agent and a pair of DHCP servers in failover?<br>
<br>
Thanks!<br>
Gerónimo.<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:black">On Mon, Jun 15, 2015 at 6:18 PM, Simon Hobson <<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>> wrote:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:black">Gero Palacio <<a href="mailto:gero.palacio@gmail.com" target="_blank">gero.palacio@gmail.com</a>> wrote:<br>
<br>
> CLIENT <---> [eth0] (relay agent) ROUTER-1 [eth1] <---> ROUTER-2 <---> DHCP Server<br>
><br>
> The relay agent runs ONLY on the interface that faces the client, which is eth0: "dhcrelay -4 -i eth0 10.0.1.10"<br>
...<br>
> Can anybody tell me if I'm doing something wrong? Is this a known bug?<br>
<br>
It's a known feature. You must also listen on eth1 in order to get the replies from the server - it's just the way the relay agent works.<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:black"><o:p> </o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>