:_mod-docs-content-type: ASSEMBLY
[id="virt-connecting-vm-to-linux-bridge"]
= Connecting a virtual machine to a Linux bridge network

include::_attributes/common-attributes.adoc[]
:context: virt-connecting-vm-to-linux-bridge

toc::[]

[role="_abstract"]
By default, {VirtProductName} is installed with a single, internal pod network. You can connect a virtual machine (VM) to the physical network by using a Linux bridge.

To create a Linux bridge network and attach a VM to the network, perform the following steps:

. Prepare the node network by creating a Linux bridge node network configuration policy (NNCP).
. Define the secondary Linux bridge network by creating a network attachment definition (NAD).
. Attach the VM to the Linux bridge network.

[NOTE]
====
{VirtProductName} does not support Linux bridge bonding modes 0, 5, and 6. For more information, see "Additional resources".
====

include::modules/virt-creating-linux-bridge-nncp.adoc[leveloffset=+1]

// Creating a Linux bridge NAD by using the web console
include::modules/virt-creating-linux-bridge-nad-web.adoc[leveloffset=+1]

// Creating a Linux bridge NAD by using the command line
include::modules/virt-creating-linux-bridge-nad-cli.adoc[leveloffset=+1]

// Enabling port isolation for a Linux bridge NAD
include::modules/virt-linux-bridge-nad-port-isolation.adoc[leveloffset=+2]

include::modules/virt-vm-creating-nic-web.adoc[leveloffset=+1]

include::modules/virt-networking-wizard-fields-web.adoc[leveloffset=+2]

include::modules/virt-attaching-vm-secondary-network-cli.adoc[leveloffset=+1]

[role="_additional-resources"]
[id="additional-resources_{context}"]
== Additional resources
* xref:../../virt/vm_networking/virt-configuring-viewing-ips-for-vms.adoc#virt-configuring-viewing-ips-for-vms[Configuring IP addresses for virtual machines]
* link:https://access.redhat.com/solutions/67546[Which bonding modes work when used with a bridge that virtual machine guests or containers connect to?]
