Article Overview

An access switch without a VLAN IP cannot route or communicate within that VLAN; configuring a Switch Virtual Interface (SVI) with an IP address is required for Layer 3 connectivity.

Understanding the Issue

When a VLAN on a switch does not have an IP address assigned, devices in that VLAN cannot communicate beyond the local broadcast domain, and DHCP requests may fail if the switch is expected to route traffic to a DHCP server . This is common on Layer 2 switches where VLANs exist but no SVI is configured.

Configuring a VLAN IP

To assign an IP to a VLAN on a Cisco switch:

  1. Enter global configuration mode:

Switch> enableSwitch# configure terminal

  1. Create or select the VLAN interface:

Switch(config)# interface vlan 10

  1. Assign an IP address and subnet mask:

Switch(config-if)# ip address 192.168.10.1 255.255.255.0

  1. Enable the interface:

Switch(config-if)# no shutdown

  1. Verify the configuration:

Switch# show ip interface brief

This ensures the VLAN interface is active and reachable .

Common Troubleshooting Steps

  • Check VLAN existence: Ensure the VLAN is created on the switch and ports are assigned correctly using show vlan brief .
  • Switchport mode: Access ports must be set to the correct VLAN:

Switch(config)# interface gig1/0/1Switch(config-if)# switchport mode accessSwitch(config-if)# switchport access vlan 10

  • DHCP relay: If the DHCP server is on a different VLAN, configure ip helper-address on the VLAN interface to forward DHCP requests .
  • Trunk ports: Ensure trunk ports allow the VLAN if connecting to other switches or routers:

Switch(config)# interface gig1/0/24Switch(config-if)# switchport mode trunkSwitch(config-if)# switchport trunk allowed vlan 10

  • Connectivity testing: Ping the VLAN IP from a host in the same VLAN to confirm reachability and check the MAC address table with show mac address-table vlan 10 .

Additional Considerations

  • On Layer 2 switches, the VLAN IP is only for management or routing via a router-on-a-stick setup; it does not provide Layer 3 routing by itself .
  • Ensure no IP conflicts exist and that the subnet mask matches the network design.
  • For multi-vendor environments (e.g., TP-Link or Omada), verify that VLAN tagging and PVID settings match the router or DHCP server configuration . By properly configuring the VLAN interface with an IP and ensuring correct port assignments, the access switch will support inter-VLAN communication and DHCP functionality.

VLAN Configuration Guide

If you plan to configure many VLANs on the device and to not enable routing, you can set the Switch Database

VLAN Configuration Commands Step by Step Explained

This tutorial explains VLAN configuration commands. Learn how to configure, test, and verify VLANs on Cisco switches.

router

The routers do not support VLAN tagging or subinterfaces. Its LAN IP is 192.168.1.1 (assigned manually) and is

Access switch remotely from different VLAN

I have set up a trunk that carries all traffic from all VLANs between my switches and set up a router with subinterfaces

Assign an Interface VLAN as an Access or Trunk Port on a Switch

This ensures that packets for both data types are isolated from each other, maximizing the utilization of the switch.

Assign an Interface VLAN as an Access or Trunk Port on a Cisco

A port configured in this mode is known as an access port. Trunk - The interface is an untagged member of at most

How to Configure Management VLAN on TP-Link Smart and

This article introduces how to configure management VLAN on TP-Link smart and managed switches.

Configure VLAN Interface IPv4 Address on an Sx350 or

This article provides instructions on how to configure VLAN interface IPv4 address on the

vlans not able to accessing internet

Dear All, We have cisco 3550 switch i have configured 3 vlans in this switch vlans are not able to accessing internet

VLAN doesn''t not assign any ip address on a Host

I have got a bit of a strange issue when I am trying to add another vlan to one of our 6500 switches on another floor to

Assigning IP Addresses to VLANs on Cisco Switch

Learn how to assign IP addresses to VLANs on a Cisco switch to enable inter-VLAN communication and improve

Configuring VLANs

If you plan to configure many VLANs on the device and to not enable routing, you can set the Switch Database Management (SDM)

Wireless VLANs

The access port is normally assigned to the native VLAN of the access point, which is not necessarily VLAN 1, which

How To Configure VLANs On the Catalyst Switches

Introduction VLAN stands for Virtual Local Area Network.In one physical cisco switch; you can create multiple VLANs

Why interface VLAN doesn''t come up if there is no access port

Hello Experts, I have noticed that interface VLAN doesn''t come up till the time I configure one of the switch port as

Configure Port to VLAN Interface Settings on a Switch through

This article provides instructions on how to configure an interface VLAN as an access or trunk port on your switch

Can no longer access switch interface once VLANs are in play

With this configuration, if I plug a PC into port 4 of the switch I get an Internet connection and I''m able to access the

VLANS not configured on the switches?

I started a new job last month and the first thing I did was map out the network. I had seen that our internal router had

Configure internet access on VLAN

Hello, I''m new Cisco user. I have on Cisco 350 Switch. I created three VLAN (10, 20, 30). On VLAN 10 I entered IP

Common Problems with Inter-VLAN Routing and How to Fix Them

Learn to diagnose and fix issues like VLAN misconfigurations, trunk port errors, incorrect IP addresses, missing

Troubleshooting Common Issues with Switchport Mode Access

Switchport mode access is essential for configuring network devices in environments where end devices (e.g.,

VLAN Configuration without inter-vlan routing but with Internet access

The routers do not support VLAN tagging or subinterfaces. Its LAN IP is 192.168.1.1 (assigned manually) and is

Inter VLAN routing working, but VLANs can''t access Internet

The common problem is VLAN 1 can access internet but other VLANs can''t access internet, in this case if you apply EIGRP routing

Workaround for VLAN Management IP Address Assignment

When the switch is configured with an IP address on any VLAN, the ''fallback'' IP address on VLAN1 (192.168.1.254) will

Cisco Switchport Mode Access vs Switchport Access VLAN

If we do not configure VLAN for a port in ''access'' mode the interface will carry traffic for default VLAN (VLAN 1). We can

Fix VLAN Misconfiguration: Step-by-Step Guide

Incorrect VLAN settings can cause traffic disruptions, unauthorized access, and inefficient network performance. This guide will help

VLAN Configuration without inter-vlan routing but with Internet access

Problem: Devices in each VLAN can communicate within their VLAN but they cannot access the internet. I suspect

Can''t access internet on any vlan except vlan 1

I believe I need to create some static routes in the cisco switch. We can stick to just getting internet working on vlan 10

Lost access to Switch after configuring VLANS

Hello all, I have acquired a Netgear GS108Ev3 Managed Switch, and after researching about VLANS, I was able to

Related Resources

Ready to Optimize Your Cable Infrastructure?

Request a free quote for fiber optic cable trays, grid runways, U-steel troughs, aluminum bridges, or complete overhead trunking systems. EU‑owned German factory – reliable, compliant, and cost‑effective solutions for Africa.