---
title: "Adding Vendor-ID in DHCP options"
url: "https://maker.wiznet.io/forum/14704"
markdown_url: "https://maker.wiznet.io/forum/14704/md"
type: "Forum topic"
category: "Serial-to-Ethernet & ConfigTool"
author: "kbenyous"
created: "2022-11-12T11:36:12+09:00"
last_activity: "2022-11-12T11:36:12+09:00"
language: "en"
views: 311
replies: 0
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# Adding Vendor-ID in DHCP options

## Question

Asked by kbenyous on 2022-11-12 in Serial-to-Ethernet & ConfigTool.

Hello,

I have patched the DHCP client of the ioLibrary to add a small new feature.

The Vendor Class Identifier is a constant string that identifies the kind of hardware that asks the DHCP server for a IP address. The ID is passed via the option 60 of the DHCP messages.
From a DHCP server point of view, this ID is useful for giving specific configuration for Wiznet modules : IP address from different address pool, different gateway, longer lease, etc.

In my patch, the ID is set to “WIZnetSE” constant.

Reference documentation :

![](https://maker.wiznet.io/forum_uploads/wiznet/original/2X/a/a36eaf5ce9c4569f08c317d6e9adb3a1684222ae.png) [datatracker.ietf.org](https://datatracker.ietf.org/doc/html/rfc2132#section-9.13)

### [RFC 2132 - DHCP Options and BOOTP Vendor Extensions](https://datatracker.ietf.org/doc/html/rfc2132#section-9.13)

DHCP Options and BOOTP Vendor Extensions (RFC 2132)

I have made two pull requests :

1. on the ioLibrary project
   [Added Vendor Class Identifier in DHCP offers and requests. by kbenyous · Pull Request #118 · Wiznet/ioLibrary_Driver · GitHub](https://github.com/Wiznet/ioLibrary_Driver/pull/118)

2. on the Wiz750SR project
   [Added Vendor Class Identifier in DHCP offers and requests. by kbenyous · Pull Request #22 · Wiznet/WIZ750SR · GitHub](https://github.com/Wiznet/WIZ750SR/pull/22)

Are you interested in merging this feature?

Thank you.
Kind regards,
Karim

---

Source: https://maker.wiznet.io/forum/14704
