Skip to content

Commit

Permalink
Merge pull request containers#13520 from craftyguy/doc_net_macvlan
Browse files Browse the repository at this point in the history
[CI:DOCS]: Mention netavark limitations for macvlan/ipvlan drivers
  • Loading branch information
openshift-merge-robot authored Mar 16, 2022
2 parents bbae81a + 29f24ff commit fa33f35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/source/markdown/podman-network-create.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ resolution.
Driver to manage the network. Currently `bridge`, `macvlan` and `ipvlan` are supported. Defaults to `bridge`.
As rootless the `macvlan` and `ipvlan` driver have no access to the host network interfaces because rootless networking requires a separate network namespace.

Special considerations for the *netavark* backend:
- The `macvlan` driver requires the `--subnet` option, DHCP is currently not supported.
- The `ipvlan` driver is not currently supported.

#### **--opt**=*option*, **-o**

Set driver specific options.
Expand Down Expand Up @@ -114,7 +118,7 @@ podman4

Create a Macvlan based network using the host interface eth0. Macvlan networks can only be used as root.
```
# podman network create -d macvlan -o parent=eth0 newnet
# podman network create -d macvlan -o parent=eth0 --subnet 192.5.0.0/16 newnet
newnet
```

Expand Down

0 comments on commit fa33f35

Please sign in to comment.