File: netplan-ip.md

package info (click to toggle)
netplan.io 1.1.2-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,440 kB
  • sloc: python: 34,441; ansic: 13,683; xml: 4,989; javascript: 2,165; sh: 419; makefile: 118
file content (42 lines) | stat: -rw-r--r-- 810 bytes parent folder | download | duplicates (3)
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)