Virtual machine interfaces behave similarly to device interfaces: They can be assigned to VRFs, may have IP addresses, VLANs, and services attached to them, and so on. However, given their virtual nature, they lack properties pertaining to physical attributes. For example, VM interfaces do not have a physical type and cannot have cables attached to them.
The virtual machine to which this interface is assigned.
The interface's name. Must be unique to the assigned VM.
Identifies the parent interface of a subinterface (e.g. used to employ encapsulation).
!!! note
An interface with one or more child interfaces assigned cannot be deleted until all its child interfaces have been deleted or reassigned.
An interface on the same VM with which this interface is bridged.
If not selected, this interface will be treated as disabled/inoperative.
The MAC address assigned to this interface which is designated as its primary.
!!! note "Changed in NetBox v4.2"
The MAC address of an interface (formerly a concrete database field) is available as a property, `mac_address`, which reflects the value of the primary linked [MAC address](../dcim/macaddress.md) object.
The interface's configured maximum transmissible unit (MTU).
For switched Ethernet interfaces, this identifies the 802.1Q encapsulation strategy in effect. Options include:
This field must be left blank for routed interfaces which do employ 802.1Q encapsulation.
The "native" (untagged) VLAN for the interface. Valid only when one of the above 802.1Q mode is selected.
The tagged VLANs which are configured to be carried by this interface. Valid only for the "tagged" 802.1Q mode above.
!!! info "This field was introduced in NetBox v4.2."
The assigned service VLAN (for Q-in-Q/802.1ad interfaces).
The virtual routing and forwarding instance to which this interface is assigned.
!!! info "This field was introduced in NetBox v4.2."
The VLAN translation policy that applies to this interface (optional).