Wednesday, February 21, 2018

DHCP-relay on a QFX3500 completely lost

Hello,

I have a QFX3500 that is the router for all my l3 vlans (irbs on this device) and I'm trying to setup dhcp-relay to work with our PXE server. I have this exact config on a QFX5100 working without isssue. However on this device it just doesn't seem to work. The original setup was

 

3500 config

set forwarding-options storm-control-profiles default all set forwarding-options helpers traceoptions file dhcp_helper set forwarding-options helpers traceoptions level all set forwarding-options helpers traceoptions flag bootp set forwarding-options helpers traceoptions flag all set forwarding-options dhcp-relay server-group dhcpserver 185.221.134.35 set forwarding-options dhcp-relay group dhcprelay interface irb.217 set forwarding-options dhcp-relay group dhcprelay interface irb.219 

Heres how it was originally laid out

QFX3500 <===trunk===>EX4200<===trunk===>Cisco 3560 

Then both the PXE server ( also handles DHCP, via noc-ps) and the client wer connected to this. To eliminate the issue of the cisco switch I connected them direclty to the Ex4200 so now the setup looks like this.

 

QFX3500 <===trunk===>EX4200 <== both clients connected directly to EX4200 

This made some improvements as now instead of seeing no DHCP offrers received I'm getting this message on the client.

https://i.imgur.com/UTtsmdy.png

 

irb.219 = client / ge-0/0/43

irb.215 = pxe/dhcp server - ge-0/0/45

 

All vlans are trunked correctly, I've verified reachability between the 2 devices.

 

I've attached monitor traffic logs for both the IRB interfaces and the physical interfaces they are attached to. Aso the traceoptions all file for the QFX3500

 

Another note to add, I had an issue like this before on a EX4200 and the solution was adding firewall rules to allow the traffic through because the traffic passes through the loopback. I have the exact rules from the working QFX5100 on the 3500, and for testing purposes I've also removed the ACL completely from the loopback.

 

logs

EX4200 Ge-0/0/45 https://pastebin.com/BEZKdkmt

EX4200 Ge-0/0/45 https://pastebin.com/M3Xbw1zU

3500 irb.219 https://pastebin.com/auYyzgnt

3500 irb.215 https://pastebin.com/TvCs17rg

Traceoptions all https://pastebin.com/HttKeFpV



No comments:

Post a Comment