---
title: "Assigning VLANs to a Network"
canonical: "https://docs.infoblox.com/space/nios85/35481082/Assigning%20VLANs%20to%20a%20Network"
format: markdown
---
<span style="color: #000000">You can assign a VLAN object to different networks. You can also assign multiple VLAN objects to a single network. You can also assign multiple networks to a s</span><span style="color: #000000">ingle VLAN. Once a</span><span style="color: #000000"> VLAN object is assigned to a network, the status of VLAN object changes from Unassigned or Reserved to </span>**<span style="color: #000000">Assigned</span>**<span style="color: #000000">. For information about the types of VLAN status, see </span><span style="color: #0000ff">[*Configuring VLANs*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35481101)</span><span style="color: #000000">.</span>

<span style="color: #000000">Assigning a VLAN object enables you to </span><span style="color: #000000">compare an assigned VLAN object with the VLAN objects discovered by Network Insight. You can then generate inventory and conflict reports based on this data. </span>

<span style="color: #000000">You can also create </span><span style="color: #0000ff">[*smart folders*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35749949)</span><span style="color: #000000"> and obtain </span><span style="color: #000000">a list of networks by the assigned VLAN ID or name. </span><span style="color: #000000"> </span>

> ⚠️ **Note**
> ⚠️ 
> ⚠️ - <span style="color: #333333">You can assign VLAN objects only to IPv4 or IPv6 networks.</span>
> ⚠️ - <span style="color: #333333">You cannot assign VLAN objects to a network container.</span>
> ⚠️ - <span style="color: #333333">If a VLAN object is assigned to a network, you cannot convert that network into a network container.</span>
> ⚠️ - You cannot split or join a network that has VLAN objects assigned to it.


# Viewing VLAN Objects Assigned to a Network

You can view the <span style="color: #555555">VLAN objects assigned to a network</span> on the **IPAM** tab or the **DHCP** tab. The** Assigned VLAN ID** and **Assigned VLAN Name** columns display the VLAN ID and name of the assigned object. <span style="color: #000000">If multiple VLANs are assigned to a network, </span>**<span style="color: #000000">Multiple</span>**<span style="color: #000000"> is displayed in the </span>**<span style="color: #000000">Assigned VLAN ID</span>**<span style="color: #000000"> and </span>**<span style="color: #000000">Assigned VLAN Name</span>**<span style="color: #000000"> columns. </span>You can then compare it to the data in the **Discovered VLAN ID** and **Discovered VLAN Name** columns and view conflicts if any.

# Adding VLAN Objects to a Network

To add or assign a VLAN object to a network, perform the following steps:

1. From the **Data Management** tab, select the **IPAM** tab or **DHCP** tab -> *network* checkbox of the network to which you want to assign the VLAN object.
2. Select the Action icon and then click **Edit**.
3. Click **VLAN Assignment**. A list of all the VLAN objects associated with the network is displayed.
4. Click the Add icon.
5. From the **VLAN Parent Type** drop-down list, select the parent type of the VLAN object that you want to add. The parent type can either be a VLAN view or a VLAN range. For more information, see <span style="color: #0000ff">[*Configuring VLANs*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35481101)</span><span style="color: #000000">.</span>
6. <span style="color: #333333">From the </span>**<span style="color: #000000">VLAN Parent</span>**<span style="color: #000000"> field, select the VLAN view or VLAN range that the VLAN object belongs to.</span>
7. <span style="color: #333333">From the </span>**<span style="color: #000000">VLAN Name </span>**<span style="color: #000000">field, select the VLAN object. Alternatively, click </span>**<span style="color: #000000">Next Available VLAN</span>**<span style="color: #000000"> if you want NIOS to assign a VLAN object. NIOS </span><span style="color: #000000">searches for a VLAN object with the lowest ID in the specified VLAN view or range. VLAN objects whose status is </span>**<span style="color: #000000">Assigned</span>**<span style="color: #000000"> or </span>**<span style="color: #000000">Reserved</span>**<span style="color: #000000"> are ignored. However, you can still select a reserved or assigned VLAN object by clicking the </span>**<span style="color: #000000">VLAN Name </span>**<span style="color: #000000">field</span><span style="color: #000000"> and selecting the VLAN object. The </span>**<span style="color: #000000">VLAN ID</span>**<span style="color: #000000"> field is populated with the ID of the selected VLAN object.</span>
8. <span style="color: #000000">Click </span>**<span style="color: #000000">Add</span>**<span style="color: #000000"> to add the VLAN objects The table is populated with the VLAN object details.</span>
9. <span style="color: #000000">You can click the Add icon to add more VLAN objects.</span>
10. <span style="color: #000000">Click </span>**<span style="color: #000000">Save & Close</span>**<span style="color: #000000">.</span>

You can also assign a VLAN object when creating an IPv4 or IPv6 network. For more information, see <span style="color: #0000ff">[*Configuring IPv4 Networks*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35914359)</span> and <span style="color: #0000ff">[*Managing IPv6 Networks*](https://infoblox-docs.atlassian.net/wiki/spaces/nios85/pages/35418404)</span>.

# <span style="color: #555555">Editing Assigned VLAN Objects </span>

To edit a VLAN object that is already assigned, perform the following steps:

1. From the **Data Management** tab, select the **IPAM** tab <span style="color: #333333">or </span>**DHCP**<span style="color: #333333"> tab</span> -> *network* checkbox of the network that you want to edit.
2. Select the Action icon and then click **Edit**.
3. Click the **VLAN Assignment** tab.
4. Select the VLAN object that you want to edit and click the Edit icon. Details of the VLAN object are displayed. You can edit and select another VLAN object in another VLAN view for example.
5. <span style="color: #000000">Click </span>**Save & Close**<span style="color: #000000">.</span>

# <span style="color: #555555">Deleting </span><span style="color: #555555">Assigned </span><span style="color: #555555">VLAN Objects</span>

You cannot delete a VLAN object that is assigned to a network. You must first unassign the VLAN object and then delete it. Deleting an unassigned VLAN object from the list of VLAN objects that are assigned to a network does not delete it from NIOS. <span style="color: #000000">Also, you cannot delete a network, network view, or a parent network container that have VLAN objects assigned to them.</span>

To unassign a <span style="color: #333333">VLAN object, perform the</span> following steps:

1. From the **Data Management** tab, select the **IPAM** tab <span style="color: #333333">or </span>**DHCP**<span style="color: #333333"> tab</span> -> *network* checkbox of the network that you want to edit.
2. Select the Action icon and then click **Delete**.
3. Click the **VLAN Assignment** tab.
4. Select the VLAN object that you want to edit and click the Delete icon. The VLAN object is deleted from the assignment.
5. <span style="color: #000000">Click </span>**Save & Close**<span style="color: #000000">.</span>