# Virtual Device Context (/docs/netbox/v4.3/models/dcim/virtualdevicecontext)



A virtual device context (VDC) represents a logical partition within a physical device, to which interfaces from the parent device can be allocated. Each VDC effectively provides an isolated control plane, but relies on shared resources of the parent device. A VDC is somewhat similar to a virtual machine in that it effects isolation between various components, but stops short of delivering a fully virtualized environment.

Each VDC must be assigned to a device upon creation, after which interfaces belonging to that device can be assigned to one or more of its VDCs. A VDC can have any number of interfaces assigned to it, and an interface can belong to any number of VDCs.

<Callout type="info" title="A VDC by Any Other Name">
  Network vendors use differing names for this concept. Cisco uses the term VDC, whereas Juniper refers to it as a *Virtual Routing Instance*, and Fortinet uses *Virtual Domain*, for instance. While there may be some nuance among the vendors' unique implementations, the general concept remains the same for each.
</Callout>

## Fields [#fields]

### Device [#device]

The device to which this VDC belongs.

### Name [#name]

The VDC's configured name. Must be unique to the assigned device.

### Status [#status]

The operational status of the VDC.

### Identifier [#identifier]

A vendor-prescribed unique identifier for the VDC (optional). Must be unique to the assigned device if defined.

### Primary IPv4 & IPv6 Addresses [#primary-ipv4--ipv6-addresses]

Each VDC may designate one primary IPv4 address and/or one primary IPv6 address for management purposes.

<Callout type="info">
  NetBox will prefer IPv6 addresses over IPv4 addresses by default. This can be changed by setting the `PREFER_IPV4` configuration parameter.
</Callout>
