Encoding and decoding Encapsulated DHCP options (RFC 2132)

Posted on Fri 19 October 2012 in Python • Tagged with decoding, dhcp, encapsulated options, encoding, python, rfc2132Leave a comment

Vendor specific DHCP options may be provided encapsulated in DHCP option 43.
With this little script you can encode and decode vendor encapsulated option according to RFC 2132.

For example with this command you can tunnel options 66 (TFTP Server), 67 (TFTP Path), 132 (VLAN ID) and 133 (VLAN QOS ...

Continue reading