---
title: "W6100 How to set DHCP IPV4"
url: "https://maker.wiznet.io/forum/15028"
markdown_url: "https://maker.wiznet.io/forum/15028/md"
type: "Forum topic"
category: "Ethernet Chips"
author: "Rahulgate"
created: "2023-09-22T07:00:48+09:00"
last_activity: "2023-10-04T05:41:12+09:00"
language: "en"
views: 213
replies: 1
source: "WIZnet Makers forum (https://maker.wiznet.io/forum/)"
---

# W6100 How to set DHCP IPV4

## Question

Asked by Rahulgate on 2023-09-22 in Ethernet Chips.

I am using W6100 with STM32. I am able to execute loopback example on TCP socket server and client with static IP . Now, I want to enable DHCP IPV4. Please provide sample code to test the same.

## Replies

### Reply 1 by Matthew, 2023-10-04

You can use the DHCP-related files in the io6Library.
[io6Library/Internet/DHCP4 at master · Wiznet/io6Library · GitHub](https://github.com/Wiznet/io6Library/tree/master/Internet/DHCP4)

---

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