<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Folks,<div class=""><br class=""></div><div class="">I was able to fix the problem by removing the following code:</div><div class=""><br class=""></div><div class="">lines 1107-1108 in rfc2131.c:</div><div class=""><br class=""></div><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> if (option_addr(opt).s_addr != override.s_addr)</div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span> return 0;</div><div class=""><br class=""></div><div class="">Once I commented out this if statement the client was able to obtain the correct IP address via DHCP Relay. The return 0 was causing the dnsmasq process to just silently ignore the DHCP Request packet.</div><div class=""><br class=""></div><div class="">I do not understand what the above code is checking for and why it is returning 0. Maybe someone can help me the context a bit better?</div><div class=""><br class=""></div><div class="">Take Care</div><div class="">Jason</div><div class=""><br class=""></div><div><blockquote type="cite" class=""><div class="">On Sep 25, 2017, at 4:11 PM, Jason Kary <<a href="mailto:jkary_98@yahoo.com" class="">jkary_98@yahoo.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Chris,<br class=""><br class="">I cloned the GIT repository and tested with version 2.78test2-gb697fbb <br class=""><br class="">I’m still seeing the server fail to respond to the request message:<br class=""><br class="">Frame 40189 (388 bytes on wire, 388 bytes captured)<br class=""> Arrival Time: Sep 25, 2017 20:59:01.142813000<br class=""> [Time delta from previous captured frame: 0.000646000 seconds]<br class=""> [Time delta from previous displayed frame: 0.000646000 seconds]<br class=""> [Time since reference or first frame: 149.170698000 seconds]<br class=""> Frame Number: 40189<br class=""> Frame Length: 388 bytes<br class=""> Capture Length: 388 bytes<br class=""> [Frame is marked: False]<br class=""> [Protocols in frame: eth:ip:udp:bootp]<br class="">Ethernet II, Src: 58:ac:78:b1:38:e1 (58:ac:78:b1:38:e1), Dst: 00:0c:29:cf:10:0b (00:0c:29:cf:10:0b)<br class=""> Destination: 00:0c:29:cf:10:0b (00:0c:29:cf:10:0b)<br class=""> Address: 00:0c:29:cf:10:0b (00:0c:29:cf:10:0b)<br class=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)<br class=""> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)<br class=""> Source: 58:ac:78:b1:38:e1 (58:ac:78:b1:38:e1)<br class=""> Address: 58:ac:78:b1:38:e1 (58:ac:78:b1:38:e1)<br class=""> .... ...0 .... .... .... .... = IG bit: Individual address (unicast)<br class=""> .... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)<br class=""> Type: IP (0x0800)<br class="">Internet Protocol, Src: 33.33.33.33 (33.33.33.33), Dst: 10.168.101.20 (10.168.101.20)<br class=""> Version: 4<br class=""> Header length: 20 bytes<br class=""> Differentiated Services Field: 0x10 (DSCP 0x04: Unknown DSCP; ECN: 0x00)<br class=""> 0001 00.. = Differentiated Services Codepoint: Unknown (0x04)<br class=""> .... ..0. = ECN-Capable Transport (ECT): 0<br class=""> .... ...0 = ECN-CE: 0<br class=""> Total Length: 374<br class=""> Identification: 0xbd9b (48539)<br class=""> Flags: 0x00<br class=""> 0.. = Reserved bit: Not Set<br class=""> .0. = Don't fragment: Not Set<br class=""> ..0 = More fragments: Not Set<br class=""> Fragment offset: 0<br class=""> Time to live: 255<br class=""> Protocol: UDP (0x11)<br class=""> Header checksum: 0x4acd [correct]<br class=""> [Good: True]<br class=""> [Bad : False]<br class=""> Source: 33.33.33.33 (33.33.33.33)<br class=""> Destination: 10.168.101.20 (10.168.101.20)<br class="">User Datagram Protocol, Src Port: bootps (67), Dst Port: bootps (67)<br class=""> Source port: bootps (67)<br class=""> Destination port: bootps (67)<br class=""> Length: 354<br class=""> Checksum: 0x95d3 [validation disabled]<br class=""> [Good Checksum: False]<br class=""> [Bad Checksum: False]<br class="">Bootstrap Protocol<br class=""> Message type: Boot Request (1)<br class=""> Hardware type: Ethernet<br class=""> Hardware address length: 6<br class=""> Hops: 1<br class=""> Transaction ID: 0x21696b65<br class=""> Seconds elapsed: 0<br class=""> Bootp flags: 0x0000 (Unicast)<br class=""> 0... .... .... .... = Broadcast flag: Unicast<br class=""> .000 0000 0000 0000 = Reserved flags: 0x0000<br class=""> Client IP address: 0.0.0.0 (0.0.0.0)<br class=""> Your (client) IP address: 0.0.0.0 (0.0.0.0)<br class=""> Next server IP address: 0.0.0.0 (0.0.0.0)<br class=""> Relay agent IP address: 33.33.33.33 (33.33.33.33)<br class=""> Client MAC address: 00:0c:29:65:e0:ea (00:0c:29:65:e0:ea)<br class=""> Client hardware address padding: 00000000000000000000<br class=""> Server host name not given<br class=""> Boot file name not given<br class=""> Magic cookie: (OK)<br class=""> Option: (t=53,l=1) DHCP Message Type = DHCP Request<br class=""> Option: (53) DHCP Message Type<br class=""> Length: 1<br class=""> Value: 03<br class=""> Option: (t=54,l=4) DHCP Server Identifier = 10.168.101.20<br class=""> Option: (54) DHCP Server Identifier<br class=""> Length: 4<br class=""> Value: 0AA86514<br class=""> Option: (t=50,l=4) Requested IP Address = 10.168.102.128<br class=""> Option: (50) Requested IP Address<br class=""> Length: 4<br class=""> Value: 0AA86680<br class=""> Option: (t=55,l=18) Parameter Request List<br class=""> Option: (55) Parameter Request List<br class=""> Length: 18<br class=""> Value: 011C02790F060C28292A1A770379F921FC2A<br class=""> 1 = Subnet Mask<br class=""> 28 = Broadcast Address<br class=""> 2 = Time Offset<br class=""> 121 = Classless Static Route<br class=""> 15 = Domain Name<br class=""> 6 = Domain Name Server<br class=""> 12 = Host Name<br class=""> 40 = Network Information Service Domain<br class=""> 41 = Network Information Service Servers<br class=""> 42 = Network Time Protocol Servers<br class=""> 26 = Interface MTU<br class=""> 119 = Domain Search [TODO]<br class=""> 3 = Router<br class=""> 121 = Classless Static Route<br class=""> 249 = Private/Classless Static Route (Microsoft)<br class=""> 33 = Static Route<br class=""> 252 = Private/Proxy autodiscovery<br class=""> 42 = Network Time Protocol Servers<br class=""> Option: (t=82,l=44) Agent Information Option<br class=""> Option: (82) Agent Information Option<br class=""> Length: 44<br class=""> Value: 010A01080006004C4F2A002F020658AC78B138E1970A0062...<br class=""> Agent Circuit ID: 01080006004C4F2A002F<br class=""> Agent Remote ID: 58AC78B138E1<br class=""> DHCPv4 Virtual Subnet Selection: 006262742D76786C616E<br class=""> Server Identifier Override: 0AA86601<br class=""> Link selection: 10.168.102.0<br class=""> End Option<br class=""> Padding<br class=""><br class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Pls find my dnsmasq.conf as follows:</div><div class=""><br class=""></div><div class=""><span id="cid:940FC98F-2696-408A-9753-7AADEB7A48EF@cisco.com"><PastedGraphic-1.tiff></span></div><div class=""><br class=""></div><div class="">Take Care</div><div class="">Jason</div><div class=""><br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 25, 2017, at 4:10 PM, Jason Kary (jkary) <<a href="mailto:jkary@cisco.com" class="">jkary@cisco.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">Pls find my dnsmasq.conf as follows:</div><div class=""><br class=""></div><div class=""><span id="cid:940FC98F-2696-408A-9753-7AADEB7A48EF@cisco.com" class=""><PastedGraphic-1.tiff></span></div><div class=""><br class=""></div><div class="">Take Care</div><div class="">Jason</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Sep 22, 2017, at 5:10 PM, Chris Novakovic <<a href="mailto:chris@chrisn.me.uk" class="">chris@chrisn.me.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 22/09/2017 19:24, Jason Kary (jkary) wrote:<br class=""><blockquote type="cite" class="">Thank you for the update. We are running version 2.66<br class=""></blockquote><br class="">2.66 is four and a half years old now, and those parts of the codebase<br class="">have been overhauled quite a lot since then --- is there any way you can<br class="">test your setup with 2.77 plus the patch in [2] from my initial reply<br class="">(or, better still, master/HEAD in the git repository)? Also, it'd be<br class="">helpful if you could post your full dnsmasq configuration.<br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>