diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-17 10:45:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-17 10:45:18 -0400 |
commit | 08e1bb54c3cb390b1f2821222961805bb689df99 (patch) | |
tree | 2cfcb2298a83ad24430dc961acd2a1cd44f371ad /docs/source | |
parent | 9a5987cf6a7729f9d03a663dd361a37ca473da59 (diff) | |
parent | aee0ab98cd3e3b552ac6eb0e7534a9f548b3109f (diff) | |
download | podman-08e1bb54c3cb390b1f2821222961805bb689df99.tar.gz podman-08e1bb54c3cb390b1f2821222961805bb689df99.tar.bz2 podman-08e1bb54c3cb390b1f2821222961805bb689df99.zip |
Merge pull request #11607 from Luap99/ipvlan
CNI: add ipvlan driver support and macvlan modes
Diffstat (limited to 'docs/source')
-rw-r--r-- | docs/source/markdown/podman-network-create.1.md | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/source/markdown/podman-network-create.1.md b/docs/source/markdown/podman-network-create.1.md index 816dd53ea..d48509581 100644 --- a/docs/source/markdown/podman-network-create.1.md +++ b/docs/source/markdown/podman-network-create.1.md @@ -25,16 +25,23 @@ resolution. #### **--driver**, **-d** -Driver to manage the network. Currently `bridge` and `macvlan` is supported. Defaults to `bridge`. -As rootless the `macvlan` driver has no access to the host network interfaces because rootless networking requires a separate network namespace. +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. #### **--opt**=*option*, **-o** Set driver specific options. -For the `bridge` driver the following options are supported: `mtu` and `vlan`. -The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value. -The `vlan` option assign VLAN tag and enables vlan\_filtering. Defaults to none. +All drivers accept the `mtu` option. The `mtu` option sets the Maximum Transmission Unit (MTU) and takes an integer value. + +Additionally the `bridge` driver supports the following option: +- `vlan`: This option assign VLAN tag and enables vlan\_filtering. Defaults to none. + +The `macvlan` and `ipvlan` driver support the following options: +- `parent`: The host device which should be used for the macvlan interface. Defaults to the default route interface. +- `mode`: This options sets the specified ip/macvlan mode on the interface. + - Supported values for `macvlan` are `bridge`, `private`, `vepa`, `passthru`. Defaults to `bridge`. + - Supported values for `ipvlan` are `l2`, `l3`, `l3s`. Defaults to `l2`. #### **--gateway** |