1
0
mirror of https://github.com/containers/netavark.git synced 2026-02-05 15:45:47 +01:00
Files
netavark/docs/netavark-dhcp-proxy.md
Brent Baude 8dc8c96793 Merge nv-dhcp-proxy into nv
The proxy is nearing completion and having them in separate repos has
become problematic geiven that they both "use" each other.

Signed-off-by: Brent Baude <bbaude@redhat.com>
2023-03-06 15:35:17 +01:00

1.2 KiB

% netavark-dhcp-proxy(1)

NAME

netavark-dhcp-proxy - a proxy for DHCP interactions with containers

SYNOPSIS

netavark-dhcp-proxy [options] command

DESCRIPTION

When using DHCP with MacVLAN and containers, you need the container to either have an init system with DHCP clients or some sort of proxy server that can act on behalf of the container. The netavark-dhcp-proxy is the latter and should be used in combination with Podman and Netavark when setting up containers that wish to use DHCP and MacVLAN networking.

netavark-dhcp-proxy [GLOBAL OPTIONS]

GLOBAL OPTIONS

--activity-timeout, -a

Time in seconds when the proxy should exit if it has no leases. The default time is 300 seconds. A value of 0 disables the activity timeout.

--dir=path

The directory option is a path to store the lease backup files. The default is /run/podman/. The lease name is nv-proxy.leases.

--uds

Set the unix domain socket directory instead of using the default. The default is /run/podman. The socket name is nv-proxy.sock.

--help, -h

Print usage statement

--version, -v

Print the version

HISTORY

Sep 2022, Originally compiled by Brent Baudebaude@redhat.com