1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
---
title: NETPLAN-IP
section: 8
author:
- Danilo Egea Gondolfo (danilo.egea.gondolfo@canonical.com)
...
## 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-get`**(8), **`netplan-status`**(8)
|