---
title: DHCPv4 type | Wartiva GraphQL API
description: Dynamic Host Configuration Protocol (DHCP) service. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/dhcpv4.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `DHCPv4` type

Dynamic Host Configuration Protocol (DHCP) service.

## Fields

| Field Name | Description |
|---|---|
| `packet` - [`DHCPv4Packet`](https://wartiva.com/api-docs/types/dhcpv4-packet.html) | The decoded DHCP packet. |
| `rawPacket` - [`Binary!`](https://wartiva.com/api-docs/types/binary.html) | DHCP raw frame. See: [RFC 3456 — Dynamic Host Configuration Protocol over ATM (DHCP/ATM)](https://www.rfc-editor.org/rfc/rfc3456.html) section 4.1. The first octet of the frame is DHCP4 op code. |
| `returnAddr` - [`IpAddress!`](https://wartiva.com/api-docs/types/ip-address.html) | The return IP address on the received DHCP packet. |

## Used by

- [`ServiceReport`](https://wartiva.com/api-docs/types/service-report.html) union: The service specific data structure describing details of the specific type of service.

## Example

### Example

```json
{
  "packet": DHCPv4Packet,
  "rawPacket": Binary,
  "returnAddr": IpAddress
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
