I hit the same issue at this old reddit post. Not sure if it started recently after upgrading from JunOS version 14.1 to 18.1 or not....
https://www.reddit.com/r/Juniper/comments/7hrkfa/dhcp_relay_bindings_on_ex4300/
We have windows 10 clients that are sending DHCP request packets for 20-60 seconds before they send their initial DHCP-discover packet between switching floors (and therefore vlans/networks). While running a pcap on both the client and DHCP server (with my QFX 5100 acting as a DHCP relay server in-between). The request packets never make it to the DHCP server, but the second they send a DHCP discover packet the switch forwards the packet and the DHCP server responds.
Microsoft explanation of the behavior here (first two paragraphs after "more info"): https://support.microsoft.com/en-us/help/167014/dhcp-client-may-fail-to-obtain-a-dhcp-assigned-ip-address
It states here that the relay server should be forwarding the DHCP request messages?: https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/dhcp-subscriber-access-dhcp-local-server-inform-processing.html
Basically what I think needs to happen is either the DHCP relay forwarding the DHCP request packets to the DHCP server or the DHCP relay NAK-ing any and all request packets. Thoughts?
DHCP relay config:
set forwarding-options dhcp-relay overrides delete-binding-on-renegotiation set forwarding-options dhcp-relay server-group Production [DHCP Server] set forwarding-options dhcp-relay group Production active-server-group Production set forwarding-options dhcp-relay group Production interface irb.216 set forwarding-options dhcp-relay group Production interface irb.218
Below is a "show dhcp relay binding" output every 1 second after swapping client vlans via different switchports.
> show dhcp relay binding XX:XX:XX:XX:XX:XX | refresh 1 ---(refreshed at 2020-01-06 09:02:03 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690240 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:04 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690239 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:05 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690238 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:06 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690237 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:07 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690236 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:08 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690235 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:09 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690234 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:10 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690233 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:11 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690232 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:12 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690231 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:13 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690230 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:14 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690229 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:15 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690228 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:16 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690227 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:17 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690226 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:18 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690225 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:19 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690224 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:20 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690223 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:21 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690222 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:22 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690221 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:23 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690220 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:24 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690219 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:25 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690218 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:26 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690217 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:27 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690216 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:28 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690215 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:29 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690214 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:30 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690213 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:31 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690212 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:32 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690211 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:33 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690210 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:34 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690209 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:35 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690208 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:36 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690207 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:37 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690206 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:38 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690205 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:39 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690203 BOUND irb.216 10.1.1.14 3913 XX:XX:XX:XX:XX:XX 0 RELEASE irb.218 // Not sure what this means, I manually deleted the // binding to irb.218 before i started thos this test ---(refreshed at 2020-01-06 09:02:41 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690202 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:42 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690201 BOUND irb.216 10.1.1.14 3914 XX:XX:XX:XX:XX:XX 0 RELEASE irb.218 //This either.... ---(refreshed at 2020-01-06 09:02:43 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690200 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:44 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690199 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:45 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690198 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:46 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690197 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:47 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690196 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:48 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690195 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:49 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690194 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:50 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690193 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:51 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690192 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:52 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690191 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:53 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690190 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:54 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690189 BOUND irb.216 ---(refreshed at 2020-01-06 09:02:55 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690188 BOUND irb.216 10.1.2.39 3915 XX:XX:XX:XX:XX:XX 0 REQUESTING irb.218 ---(refreshed at 2020-01-06 09:02:56 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690187 BOUND irb.216 10.1.2.39 3915 XX:XX:XX:XX:XX:XX 691199 BOUND irb.218 ---(refreshed at 2020-01-06 09:02:57 EST)--- IP address Session Id Hardware address Expires State Interface 10.1.1.14 3905 XX:XX:XX:XX:XX:XX 690186 BOUND irb.216 10.1.2.39 3915 XX:XX:XX:XX:XX:XX 691198 BOUND irb.218
No comments:
Post a Comment