<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal">What do you think?<span lang="HE" dir="RTL" style="font-family:"Arial",sans-serif"></span></p><p class="MsoNormal">Is there a way to make the perfdhcp, behave differently? </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> Ahiya Zadok <<a href="mailto:ahiya@younity.io">ahiya@younity.io</a>> <br><b>Sent:</b> Monday, October 26, 2020 2:46 PM<br><b>To:</b> '<a href="mailto:andrei@isc.org">andrei@isc.org</a>' <<a href="mailto:andrei@isc.org">andrei@isc.org</a>>; '<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>' <<a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a>><br><b>Subject:</b> RE: [Kea-users] address not being allocated with perfdhcp</p></div></div><p class="MsoNormal"> </p><p class="MsoNormal">Hi Andri</p><p class="MsoNormal"> </p><p class="MsoNormal">Thanks for responding.</p><p class="MsoNormal">On the perfdhcp I see all packets were dropped.</p><p class="MsoNormal"> </p><p class="MsoNormal">Regarding my setup:</p><p class="MsoNormal">I'm using FortiGate as the DHCP relay.</p><p class="MsoNormal">My DHCP server holds one interface with multiple pools.</p><p class="MsoNormal">All DHCP relay agents redirect requests to the DHCP server IP.</p><p class="MsoNormal">My traffic generator is a ubuntu 18.04 VM (ESXi) with one physical interface and multiple VLAN interfaces, configured via netplan.</p><p class="MsoNormal"> </p><p class="MsoNormal">Regarding packet capture:</p><p class="MsoNormal">I can see the request (broadcast) gets to the DHCP server.</p><p class="MsoNormal">I can see the offer send out of the DHCP server</p><p class="MsoNormal">But nothing comes out of the DHCP relay(fw)</p><p class="MsoNormal"> </p><p class="MsoNormal">On the other hand when I'm not using perfdhcp, but configuring DHCP client on the actual VLAN interface it works.</p><p class="MsoNormal"> </p><p class="MsoNormal">The big difference is when I'm using perfdhcp the relay agent IP on the request packets is the IP of the perfdhcp server.</p><p class="MsoNormal">When using standard dhcp-client the relay agent ip on the request packets is the ip of the fw (the real dhcp relay).</p><p class="MsoNormal"> </p><p class="MsoNormal">ahiya</p><p class="MsoNormal"> </p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b>From:</b> <a href="mailto:andrei@isc.org">andrei@isc.org</a> <<a href="mailto:andrei@isc.org">andrei@isc.org</a>> <br><b>Sent:</b> Monday, October 26, 2020 12:17 PM<br><b>To:</b> <a href="mailto:ahiya@younity.io">ahiya@younity.io</a>; <a href="mailto:kea-users@lists.isc.org">kea-users@lists.isc.org</a><br><b>Subject:</b> Re: [Kea-users] address not being allocated with perfdhcp</p></div><p class="MsoNormal"> </p><div><div><p class="MsoNormal">Hi,</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">DHCP4_LEASE_ADVERT is usually a good sign. Log shows that an address has been allocated.</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">What do you mean by allocation not occuring or accruing? Does the perfdhcp report the packet as dropped? Does the packet reach perfdhcp's interface if you do a capture?</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Moreover, how is this VLAN set up? Are both VLAN interfaces on the same machine? Why do you need to use VLANs if the VLAN-free setup works?</p></div></div><div><p class="MsoNormal"> </p><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0"><tr><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal" style="margin-bottom:3.0pt"><img border="0" width="24" height="24" style="width:.25in;height:.25in" id="_x0000_i1027" src="https://res.spikenow.com/c/?id=2wrozubjbvijte7n&s=48&m=c&_ts=qsblq"></p></td><td width="4" nowrap style="width:3.0pt;padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal" style="margin-bottom:3.0pt"> </p></td><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal" style="margin-bottom:3.0pt"><a href="https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=qsblq"><b><span style="color:#0084ff;text-decoration:none">Andrei Pavel</span></b><span style="color:#999999;text-decoration:none"> - Chat @ Spike</span></a></p></td><td style="padding:.75pt .75pt .75pt .75pt"><p class="MsoNormal" style="margin-bottom:3.0pt"><img border="0" width="10" height="10" style="width:.1041in;height:.1041in" id="_x0000_i1026" src="https://spikenow.com/t/" alt="qsblq"></p></td></tr></table></div><div><p class="MsoNormal"><span style="color:white"><br>On October 26, 2020 at 7:47 GMT, Ahiya Zadok <</span><a href="mailto:ahiya@younity.io">ahiya@younity.io</a>> wrote:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:1.2pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><p class="MsoNormal"> </p></div><div><div><div><p class="MsoPlainText">hi All</p><p class="MsoPlainText">I’m using perfdhcp to test my kea-DHCP, while trying to produce DHCP requests via VLAN interfaces, the address allocation process doesn't end <a href="http://successfully.in">successfully.in</a> the DHCP log I see all sessions end with "DHCP4_LEASE_ADVERT" message and no allocation accurse.</p><p class="MsoPlainText">while using perfdhcp without VLAN the allocation accrues successfully.</p><p class="MsoPlainText">while using the VLAN interface with a single DHCP client (netplan not prefdhcp) allocation to the VLAN interface is successful.</p><p class="MsoPlainText">so it seems like when using the VLAN interface with prefdhcp the client doesn't claim the offered address. </p><p class="MsoPlainText">basically, I'm a bit lost here, so if someone has any idea what is happing here, it will be awesome. </p><p class="MsoPlainText">i hope I'm just missing an option in my perfdhcp command and not a limitation.</p><p class="MsoPlainText">attached debug log of the fail transaction.</p><p class="MsoPlainText"> </p><p class="MsoPlainText">Thanks </p><p class="MsoPlainText"> </p></div></div></div><div><p class="MsoNormal"> </p></div></blockquote></div><div><p class="MsoNormal"><img border="0" width="33" height="1" style="width:.3437in;height:.0104in" id="_x0000_i1025" src="https://bolt.im/t/?1MwFF593vsULLQgGs9hSqwUNXDTdGy4-iiaVsGxrGctu1XVnDJcHbDR3texP1aKWojFO2b8edGKkAfW7fYU7Qw"></p></div></div></body></html>