padding before end of DHCPOFFER packet?

Christian Kratzer ck-lists at
Fri Sep 5 21:35:51 UTC 2014


On Thu, 4 Sep 2014, Joseph Bernard wrote:
> Is it valid to have padding (0) before the end (255) of a DHCPOFFER packet?  I have a Cisco switch doing this, but I’m not sure if it valid.  I have some old HP Jetdirect boxes that will not take a packet constructed like this.  I just want to be sure if the padding is valid or not so I don’t mistakingly accuse Cisco of having bad code.

I saw this when a customer upgraded their Cisco4500 from Sup6 with IOS to Sup7 with IOS XE.

The padding was from the cisco removing option82 information before passing the packet back to the client. IOS squeezed the space out of the packet. IOS XE poked padding over the deleted regions.

Zyxel MES2110 switches choked on this but Zyxel provided an updated firmare.


Christian Kratzer                   CK Software GmbH
Email:   ck at               Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0       D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9       HRB 245288, Amtsgericht Stuttgart
Mobile:  +49 171 1947 843           Geschaeftsfuehrer: Christian Kratzer

More information about the dhcp-users mailing list