<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=""><div class="">One note:  DHCP renews, as you mentioned, are unicast, so the communication path is between the client and server.  No relay would be in use here.  The fact that syslog shows “via usb1” proves it’s not trying to send it via the relay, but out the “usb1” interface, as a unicast to the client.</div><div class=""><br class=""></div><div class="">Since the DHCP server must be able to communicate with all the clients directly, my first guess is that you have a firewall/router access-list in the way so that the UDP/DHCP packets can’t make it from the DHCP server to the client?  Have you verified your access-lists?  Have you traced the packet to see what it does get to?  Does your router forward it, or drop it?</div><div class=""><br class=""></div><div class="">Michael Lanski</div><div class="">Director of Educational Services</div><div class="">DeepDive Networking, Inc</div><div class=""><a href="http://www.deepdivenetworking.com" class="">www.deepdivenetworking.com</a></div>


<br class=""><div><blockquote type="cite" class=""><div class="">On Aug 2, 2017, at 7:59 PM, Klemen Sladic <<a href="mailto:gosturnca@gmail.com" class="">gosturnca@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><span style="font-family:monospace,monospace" class="">Hi.<br class=""><br class=""></span></div><span style="font-family:monospace,monospace" class="">I am trying to relay DHCP requests. When the client broadcasts<br class="">DISCOVER everything looks ok.</span><span style="font-family:monospace,monospace" class=""> It gets the IP etc.</span><br class=""><span style="font-family:monospace,monospace" class=""></span></div></div><span style="font-family:monospace,monospace" class="">But on RENEW, when unicast DISCOVER is sent, it is received by the<br class="">server, the server replies with ACK, but the ACK does not get back<br class="">to the client, it get dropped by the relay.<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">I have tried lots of different interface switches with no success.<br class=""><br class=""></span></div></div><span style="font-family:monospace,monospace" class="">My setup:</span><span style="font-family:monospace,monospace" class=""> ISC DHCP 4.3.5 on Linux.<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">Network looks like:<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class=""><Machine1>---wireless---<Machine2>---Eth---<DHCP server><br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class=""></span></div><span style="font-family:monospace,monospace" class=""><br class=""></span></div><span style="font-family:monospace,monospace" class=""></span></div><span style="font-family:monospace,monospace" class="">eth0 192.168.1.12 - DHCP obtained IP<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">| Machine1<br class="">|DHCP client unit - it has a direct route to the DHCP server!<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">| running: dhcrelay -U eth0 -iu mdl0 192.168.0.27<br class=""></span></div><span style="font-family:monospace,monospace" class="">mdl0 192.168.192.2 - wireless interface<br class="">|<br class="">...<br class=""></span></div><span style="font-family:monospace,monospace" class="">wireless connection<br class="">...<br class="">|<br class=""></span></div><span style="font-family:monospace,monospace" class="">mdl0 192.168.192.1 - wireless interface<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">| Machine2<br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">| Unit just routing the traffic - NO RELAY here.<br class=""></span></div><span style="font-family:monospace,monospace" class="">eth0 192.168.0.1<br class="">|<br class=""></span></div><span style="font-family:monospace,monospace" class="">Eth cable connection to DHCP server<br class="">|<br class=""></span></div><span style="font-family:monospace,monospace" class="">eth0 192.168.0.27 DHCP server<br class=""><br class=""><br class=""></span></div><span style="font-family:monospace,monospace" class="">On RENEW I see:<br class=""><br class=""></span></div><span style="font-family:monospace,monospace" class="">CLIENT (NOTHING IS HAPPENING ON UNICAST REQUESTS!):<br class="">dhclient: DHCPREQUEST on eth0 to 192.168.0.27 port 67<br class="">dhclient: DHCPREQUEST on eth0 to 192.168.0.27 port 67<br class="">dhclient: DHCPREQUEST on eth0 to 192.168.0.27 port 67<br class="">dhclient: DHCPREQUEST on eth0 to 255.255.255.255 port 67<br class="">dhclient: DHCPACK from 192.168.1.12<br class="">dhclient: bound to 192.168.1.12 -- renewal in 17 seconds.<br class=""><br class=""></span></div><span style="font-family:monospace,monospace" class="">SERVER:<br class="">dhcpd[3853]: DHCPREQUEST for 192.168.1.12 from 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPACK on 192.168.1.12 to 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPREQUEST for 192.168.1.12 from 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPACK on 192.168.1.12 to 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPREQUEST for 192.168.1.12 from 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPACK on 192.168.1.12 to 6c:ec:eb:b5:87:cd via usb1<br class="">dhcpd[3853]: DHCPDISCOVER from 6c:ec:eb:b5:87:cd via 192.168.1.12<br class="">dhcpd[3853]: DHCPOFFER on 192.168.1.12 to 6c:ec:eb:b5:87:cd via 192.168.1.12<br class="">dhcpd[3853]: DHCPREQUEST for 192.168.1.12 (192.168.0.27) from 6c:ec:eb:b5:87:cd via 192.168.1.12<br class="">dhcpd[3853]: DHCPACK on 192.168.1.12 to 6c:ec:eb:b5:87:cd via 192.168.1.12<br class=""><br class=""></span><div class=""><div class=""><div class=""><span style="font-family:monospace,monospace" class="">Does anyone has any idea why this is happening?<br class=""><br class=""></span></div><div class=""><span style="font-family:monospace,monospace" class="">RegK<br class=""></span></div></div></div></div>
_______________________________________________<br class="">dhcp-users mailing list<br class=""><a href="mailto:dhcp-users@lists.isc.org" class="">dhcp-users@lists.isc.org</a><br class="">https://lists.isc.org/mailman/listinfo/dhcp-users</div></blockquote></div><br class=""></body></html>