1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/networking/multiple_networks/configuring-macvlan-basic.adoc
2020-08-27 00:08:38 +00:00

27 lines
1.1 KiB
Plaintext

[id="configuring-macvlan-basic"]
= Configuring a macvlan network with basic customizations
include::modules/common-attributes.adoc[]
:context: configuring-macvlan-basic
toc::[]
As a cluster administrator, you can configure an additional network for your cluster using the macvlan Container Network Interface (CNI) plug-in.
When a Pod is attached to the network, the plug-in creates a sub-interface from the parent interface on the host.
A unique hardware mac address is generated for each sub-device.
[IMPORTANT]
====
The unique MAC addresses this plug-in generates for sub-interfaces might not be
compatible with the security polices of your cloud provider.
====
You specify a basic configuration directly in YAML. This approach offers fewer configuration options than by specifying a macvlan configuration by using a CNI object directly in JSON.
include::modules/nw-multus-create-network.adoc[leveloffset=+1]
include::modules/nw-multus-macvlan-object.adoc[leveloffset=+2]
include::modules/nw-multus-ipam-object.adoc[leveloffset=+2]
== Next steps
* xref:../../networking/multiple_networks/attaching-pod.adoc#attaching-pod[Attach a Pod to an additional network].