Configure several IPs for the core switch

Article Overview

To configure multiple IP addresses on a core switch, assign each IP to a separate VLAN interface (SVI) or Layer 3 interface, enabling routing between subnets.

Step 1: Ensure Layer 3 Capability

Core switches must support Layer 3 functionality. By default, most switch ports operate at Layer 2. To assign IP addresses, you need to configure Switched Virtual Interfaces (SVIs) or convert physical interfaces to Layer 3 interfaces .

Step 2: Create VLANs

Each IP address typically corresponds to a separate subnet, so you need a VLAN for each subnet:

CodeCopySwitch> enableSwitch# configure terminalSwitch(config)# vlan 10Switch(config-vlan)# name SalesSwitch(config-vlan)# exitSwitch(config)# vlan 20Switch(config-vlan)# name MarketingSwitch(config-vlan)# exit

Assign physical ports to the VLANs as access ports or configure trunk ports for inter-switch connections .

Step 3: Configure IP Addresses on VLAN Interfaces

Once VLANs are created, assign IP addresses to each VLAN interface:

CodeCopySwitch(config)# interface vlan 10Switch(config-if)# ip address 192.168.10.1 255.255.255.0Switch(config-if)# no shutdownSwitch(config-if)# exitSwitch(config)# interface vlan 20Switch(config-if)# ip address 192.168.20.1 255.255.255.0Switch(config-if)# no shutdownSwitch(config-if)# exit

Each VLAN interface now acts as a gateway for its subnet .

Step 4: Enable Routing Between VLANs

If the switch supports IP routing, enable it to allow communication between VLANs:

CodeCopySwitch(config)# ip routing

This allows devices in different VLANs to communicate through the core switch.

Step 5: Configure DHCP (Optional)

If the switch will provide DHCP for multiple VLANs, create DHCP pools for each subnet:

CodeCopySwitch(config)# ip dhcp pool SalesSwitch(dhcp-config)# network 192.168.10.0 255.255.255.0Switch(dhcp-config)# default-router 192.168.10.1Switch(dhcp-config)# exitSwitch(config)# ip dhcp pool MarketingSwitch(dhcp-config)# network 192.168.20.0 255.255.255.0Switch(dhcp-config)# default-router 192.168.20.1Switch(dhcp-config)# exit

This ensures devices in each VLAN receive the correct IP configuration .

Step 6: Verify Configuration

Use the following commands to confirm IP assignments and VLAN status:

CodeCopySwitch# show vlan briefSwitch# show ip interface briefSwitch# ping 192.168.10.1Switch# ping 192.168.20.1

This verifies that each VLAN interface is up and reachable. By following these steps, you can configure multiple IP addresses on a core switch, enabling it to route traffic between multiple subnets and manage different network segments efficiently .

Configure an IP address on a switch

This article describes how to configure an IP address on a Cisco switch in order to connect over the network for management.

Can Someone Explain to me how plugging in multiple ISP lines

Any switch that has multiple IP addresses is almost definitely a layer 3 switch. That allows it to both switch traffic at layer 2 and route

How to Configure a Cisco Switch in 10 Steps

This guide will walk you through the essential tasks needed to configure a Cisco switch, from initial setup to more

cisco

IP Helper (in configuration mode: ip helper-address) is functioning on network layer, because it forwards dhcp clients

Guide to Basic Switch Configuration | Auvik

Switch configuration on your own can seem like a daunting task. Use this handy guide to get your network switch up

Multiprotocol Label Switching

Multiprotocol Label Switching Multiprotocol Label Switching (MPLS) is a routing technique in telecommunications networks that

Quora

Hier sollte eine Beschreibung angezeigt werden, diese Seite lässt dies jedoch nicht zu.

Configuring the Core Switch

Configuring the Core Switch Context In this scenario, IP addresses of the interfaces connecting the core switch to the

Configuring the Core Switch

In this scenario, IP addresses of the interfaces connecting the core switch to the BRASs and firewalls and OSPF need

SME Network Solution Typical Configuration Examples

Support Documentation Enterprise Network Solution Horizontal Solutions CloudCampus SME Configuration & Commissioning

Configure DHCP Server for multiple VLANs on the Switch

This tutorial explains how to configure and run the DHCP service on a Cisco switch to support multiple VLANs.

Switch in front of router

Some of our application servers (A) need public IP addresses and hence the need for these many addresses. Those

Blog | Comprehensive Guide to Setting Up a Managed IP Switch

Setting up a managed IP switch Generally, using a managed IP switch allows you to configure a wide range of

How to Configure a Cisco Switch (step by step)

If you''re looking to configure a switch for the first time, this post is for you. Learn step-by-step configuration commands

Initial Switch Configuration

Whether the configuration deployment of a switch is completed all at once or done in phases, the basic switch settings must first be

Solved: Configure Core Switch | Experts Exchange

Assuming I have 4 Layer switches configure with several VLANs on each switch and each switch is configured with IP

Basic Cisco Switch Configuration Example in 10 Steps

Unlike other lower class switch vendors (which are plug-and-play), the Cisco switch needs some initial basic configuration in order to

Dual ISP''s into the core switch

Wouldn''t there still be approx. 24 hours where the DNS servers might send traffic at the old IP after it''s switched off

Core layer switches IP address for routing

For routing process I add a IP address of each Vlans subnet that active on each Access and Distribution switches

HSRP between 2 access switches and 2 core switches

Hi I am looking for running HSRP between 2 access switches and 2 core switches for client PC and Server network''s

Configuring Interconnection Interfaces and Routes for the Core Switch

In this example, Internet access traffic of users passes through the BRAS, and then reaches the egress network of the firewall

Configure Inter VLAN Routing with Multiple Switches

With multiple switches generally you still set one switch (your core or distribution) switch as the switch operating at

Cisco CLI Switch Command Cheat Sheet for 2025

Here''s the Cisco CLI Switch Command cheat sheet you need for configuring and managing Cisco switches The Cisco

Configure Multiple Public IP Address on Cisco Switch

Switch 2960 doesn´t support NAT function. So it is not possible without device which know to perform nat - router for

setup dhcp on core switch and have access switch point to core for dhcp

If there are NO SVI''s on your access switches (I.E. if they''re layer 2 trunks), you shouldn''t even need to do that - your

Support

Configure the devices to meet the following requirements: · Configure the spanning tree feature on all the switches to prevent loops. ·

Creating a Base Configuration for a Cisco IOS Switch: A Step-by-Step

Learn how to set up a base configuration for network switches. Secure, optimize, and enable remote access with our step-by-step

Splitting a single ISP line through a core switch to 2

If you configure your firewalls in an active-passive config you''ll be fine with one IP. Just make sure to add a redundant connection

IP Multicast routing on Core switch over Multiple Vlans PIM Sparse

The Video server uses multicast I have implemented Multicast routing PIM-Sparse mode by making core switch 1 as

Assigning IP addresses to multiple switches

I am in need of help on IP assigning to 4 brand NEW Araknis switches that I am replacing with the current netgear/tp

Configure IP Address Settings on a Switch using the CLI

This article provides instructions on how to configure the IP address settings on the Sx350, SG350X, Sx500, Sx500X

Multiple IPs

Can I assign multiple IP addresses to the same interface? example _ I have about 5 /30 subnets that are plugged into

Multiple IPs in same subnet for a vlan?

I have a 9300 series switch configured with multiple Vlans, each of which has an IP address of x.x.x.254

Solved: Multiple Ip address in same Vlan

Hi Gents, Is it possible to have multiple IP''s in same Vlan? Like i have a network 192.168.2.0/25. I have Sales and

Do VLANS need different IPs on each switch?

Messing about with trunking and have a question about VLANs. I assigned IPs to the VLANs on a switch. Everything

Configure IP Address for Interface in Cisco Switches

To configure an IP Address on a switch interface, first, we must change the interface from a layer 2 interface to a layer

Two-Tier Core

Configure Two-Tier core switches as a VSX pair for Layer 2 aggregation of the data center access switches, IP data

Related Resources

Need Advanced Liquid Cooling for Your Data Center or AI Cluster?

Request a free quote for immersion tanks, cold plate systems, CDUs, liquid‑cooled racks, piping, or complete retrofit packages – all engineered for high‑density computing, energy efficiency, and sustainable thermal management. EU‑owned manufacturer with local support in South Africa – reliable, scalable, and field‑proven.