:_mod-docs-content-type: ASSEMBLY
[id="virt-connecting-vm-to-default-pod-network"]
= Connecting a virtual machine to the default pod network
include::_attributes/common-attributes.adoc[]
:context: virt-connecting-vm-to-default-pod-network

toc::[]

[role="_abstract"]
You can connect a virtual machine to the default internal pod network by configuring its network interface to use the `masquerade` binding mode.

[NOTE]
====
Traffic passing through network interfaces to the default pod network is interrupted during live migration.
====

include::modules/virt-configuring-masquerade-mode-cli.adoc[leveloffset=+1]

// Masquerade mode with IPv4/IPv6 dual-stack is not documented for OpenShift Dedicated
ifndef::openshift-dedicated[]
include::modules/virt-configuring-masquerade-mode-dual-stack.adoc[leveloffset=+1]
endif::openshift-dedicated[]

// TO DO: This should be moved to an optimization section
include::modules/virt-jumbo-frames-vm-pod-nw.adoc[leveloffset=+1]

// Hiding from ROSA/OSD as not supported
ifndef::openshift-rosa,openshift-dedicated,openshift-rosa-hcp[]
[role="_additional-resources"]
[id="additional-resources_{context}"]
== Additional resources
* xref:../../networking/advanced_networking/changing-cluster-network-mtu.adoc#changing-cluster-network-mtu[Changing the MTU for the cluster network]
* xref:../../scalability_and_performance/optimization/optimizing-networking.adoc#optimizing-mtu_optimizing-networking[Optimizing the MTU for your network]
endif::openshift-rosa,openshift-dedicated,openshift-rosa-hcp[]