---
name: "netplan-ip"
section: "8"
platform: "linux"
package: "netplan"
version: "1.2.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/netplan-ip"
---

# netplan-ip(8)

retrieve IP information (like DHCP leases) from the system

## NAME

`netplan-ip` - retrieve IP information (like DHCP leases) from the system

## SYNOPSIS

**netplan** \[*--debug*\] **ip** **-h**\|**--help**

**netplan** \[*--debug*\] **ip** *COMMAND* \[*--root-dir=ROOT\_DIR*\] *ARGUMENTS*

## DESCRIPTION

**netplan ip** retrieves IP information (like DHCP leases) from the system.

## DHCP COMMANDS

- **leases** `INTERFACE`

  Displays DHCP IP leases

  Example: `netplan ip leases enp5s0`

## OPTIONS

- `-h`, `--help`

  Print basic help.

- `--debug`

  Print debugging output during the process.

- `--root-dir`

  Read YAML files from this root instead of `/`.

## SEE ALSO

[**netplan**(5)](/netplan/5.md), [**netplan-get**(8)](/netplan-get/8.md), [**netplan-status**(8)](/netplan-status/8.md)

## AUTHORS

Danilo Egea Gondolfo (danilo.egea.gondolfo@canonical.com).
