# Allow OpenShift VMs to share the default network
This feature became available in OpenShift 4.14. The current documentation is at https://docs.openshift.com/container-platform/4.15/virt/vm_networking/virt-connecting-vm-to-ovn-secondary-network.html#virt-creating-nad-localnet-console_virt-connecting-vm-to-ovn-secondary-network
:::info
The `physnet` mapping exists by default and maps to the default / primary OpenShift network interface.
:::
```yaml
# This is a SPECIAL NetworkAttachmentDefinition because it shares the "primary" OpenShift NIC
# You must make three changes to this file
# 1 - choose a name
# 2 - identify the namespace
# 3 - update the "netAttachDefName" line to be namespace/name (e.g. vms/openshift-network)
---
apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: openshift-network
namespace: johns-namespace
spec:
config: |2
{
"name": "physnet",
"topology":"localnet",
"netAttachDefName": "johns-namespace/openshift-network",
"type": "ovn-k8s-cni-overlay",
"cniVersion": "0.4.0"
}
```