Share this
CONFIGURATION GUIDE: Routing Between VLANs
by OneCall TAC on Dec 10, 2019 10:51:30 AM
We can configure this routing between VLANs in almost every Cisco layer 2 and 3 switches, Like 2960, 3560 etc. Catalyst 6500 and 6000 Series that also run Cisco IOS support basic Inter VLAN routing features in all their supported IOS versions. Before you attempt this configuration on a 3550 series switch, ensure that you meet these prerequisites:
Inter-VLAN routing on the Catalyst 3550 has certain software requirements in order to support Inter-VLAN routing on the switch. See this table in order to determine whether your switch can support inter VLAN routing.
Image Type & Version |
Inter VLAN Routing Capability? |
Enhanced Multilayer Image (EMI) - All Versions | YES |
Standard Multilayer Image (SMI) - Earlier than Cisco IOS 12.1(11)EA1 | NO |
Standard Multilayer Image (SMI) - Cisco IOS 12.1(11)EA1 & Later | YES |
Let's look at the following example of Inter VLAN routing:
Each VLAN is its own subnet and broadcast domain, which means frames that broadcast onto the network are only switched between the ports within the same VLAN. For Inter-VLAN communication, a layer 3 device (usually a router) is needed. This layer 3 device needs to have an IP address in each subnet (VLAN) and have a connected route to each of those subnets. The hosts in each subnet can use the router's IP addresses as their default gateway.
Three options are available for routing between VLANs:
- Use a router, with one router LAN interface connected to the switch for each and every VLAN. Since you need one Ethernet interface on your router to connect to each VLAN, this option is not really scale-able and rarely used today.
- Use one router interface with trunking enabled. This option is called router on a stick (ROAS) and allows all VLANs to communicate through a single interface.
- Use a Layer3 switch, a device that performs both the switching and routing operations.
Download the guide and refer back to it at any time!
Cisco recommends to use SVI for Inter-VLAN routing. Let's take an example of how we can configure SVI for Inter-VLAN routing.
As shown in the diagram, we have three PC's connected with the switch. PC1 is in VLAN 10, PC2 is in VLAN 20 and PC3 is in VLAN 30.
Before we get started with the specific configurations, ask yourself a couple of questions:
- Do I have the time to handle configurations?
- Do I have the bandwidth to configure my devices?
If you answered "No" to these questions, consider PivIT's SmartHands through EXTEND. Hire an engineer to take on these basic configurations and more. Click below to learn more about SmartHands.
Configuration Example
Task:
Establish Inter-VLAN Routing.
Scenario:
VLAN 10: IT
VLAN 20: Sales
VLAN 30: Accounts
Step 1: Create VLANs On Your Switch
As shown in the example, we have created VLANs on the switch and host name is PivIT-Global-Switch.
Step 2: Interface VLAN IP Addresses for VLAN Communication
As shown in the example, we have just assigned IPs to all three VLANs. We are now done with Inter-VLAN routing.
Step 3: Verification
Verify that we can ping all the VLANs by taking any one PC1 for verification:
PC1 is in VLAN 10 and it can ping 10.0.10.1 which is VLAN 10 SVI. Next, ping 10.0.20.1 which is VLAN 20 SVI.
As shown above, you'll can see that VLAN 10 PC can ping 10.0.20.1 indicating Inter-VLAN routing is established.
Now we can verify the ping 10.0.30.1 SVI which is VLAN 30 SVI.
We can also ping 10.0.30.1 from VLAN 10 PC-1. Now we can configure the Inter-VLAN routing in the network.
If we want to check switches' VLAN IP address we can verify by 'show IP interface brief' command:
Questions, comments, concerns? Reach out and start a conversation by leaving a comment below and don't forget to subscribe to Tech Corner Updates!
Share this
- Configuration Guides (47)
- Cisco Routers (29)
- Switches (27)
- Network Security (23)
- Cisco Switches (21)
- Routing Protocols (21)
- Routers (20)
- Cisco (19)
- Product Comparisons (19)
- Firewall (18)
- Cisco Security (17)
- Cisco Technical Information (17)
- IT Hardware Solutions (17)
- Network Protocols (17)
- Wireless (17)
- Security (15)
- OneCall (13)
- Servers (12)
- cisco asa (12)
- Cisco Wireless (11)
- Router Protocols (11)
- Cisco Catalyst (9)
- Cisco UCS (9)
- Upgrading Network (9)
- Cisco Servers (8)
- Product Highlight (8)
- Access Control Lists (7)
- Fortinet (7)
- Server Comparisons (7)
- Access Points (6)
- Arista Networks (6)
- OSPF (6)
- Wireless APs (6)
- Cisco ASR (5)
- Cloud Solutions (5)
- HPE-Aruba Wireless (5)
- Juniper Mist (5)
- Network Management (5)
- SD-WAN (5)
- Storage (5)
- Switch Comparison (5)
- Back To Basics (4)
- Cybersecurity (4)
- EIGRP (4)
- Firewall Architecture (4)
- HSRP (4)
- Juniper Networks (4)
- Network Automation (4)
- Network Servers (4)
- OEM Comparison (4)
- Aruba Central (3)
- Cisco Telephony (3)
- DHCP (3)
- DHCP Snooping (3)
- Dell EMC PowerEdge (3)
- Internet (3)
- Maintenance (3)
- Maintenance Renewal (3)
- Network Accessories (3)
- TPM (3)
- Telephony (3)
- aruba (3)
- Cisco NX-OS (2)
- Cisco Nexus (2)
- Dell Servers (2)
- Fortinet NGFWs (2)
- IT Trends (2)
- LAN Networks (2)
- Network Time Protocol (2)
- Palo Alto NGFWs (2)
- Rapid PVST+ (2)
- Remote Configuration (2)
- Software Defined Networking (2)
- WLAN (2)
- Ways to Save (2)
- fortigate (2)
- Asset Management (1)
- CPU Usage (1)
- Cisco AIR-CT (1)
- Cisco Aironet (1)
- Cisco DNA (1)
- Cisco ISR (1)
- Cisco Supervisor Engines (1)
- Cisco UCS Manager (1)
- Cognitive Campus (1)
- Cost of Downtime (1)
- Dell EMC Data Domain (1)
- Edge Switches (1)
- Fabric Extenders (1)
- GRE Tunnel (1)
- HPE BL (1)
- Juniper SRX (1)
- Nexus Switches (1)
- Nutanix (1)
- Optics (1)
- PowerEdge R740xd (1)
- STP Extension (1)
- Sparing Integrity Program (1)
- Switched Virtual Interface (1)
- TCP (1)
- UCS Fabric Interconnects (1)
- hyperconverge (1)
- April 2024 (2)
- March 2024 (1)
- February 2024 (2)
- January 2024 (1)
- December 2023 (1)
- November 2023 (2)
- October 2023 (1)
- September 2023 (3)
- August 2023 (5)
- July 2023 (2)
- June 2023 (4)
- May 2023 (5)
- April 2023 (8)
- March 2023 (7)
- February 2023 (5)
- January 2023 (2)
- December 2022 (3)
- November 2022 (3)
- October 2022 (8)
- September 2022 (9)
- August 2022 (9)
- July 2022 (8)
- June 2022 (9)
- May 2022 (5)
- April 2022 (3)
- March 2022 (1)
- February 2022 (2)
- November 2021 (2)
- October 2021 (1)
- September 2021 (2)
- August 2021 (2)
- July 2021 (3)
- June 2021 (2)
- May 2021 (4)
- April 2021 (4)
- March 2021 (2)
- February 2021 (1)
- January 2021 (2)
- December 2020 (2)
- November 2020 (2)
- October 2020 (2)
- September 2020 (2)
- August 2020 (4)
- July 2020 (5)
- June 2020 (4)
- May 2020 (6)
- April 2020 (2)
- March 2020 (1)
- February 2020 (2)
- January 2020 (2)
- December 2019 (1)
- May 2019 (2)
- April 2019 (5)
- February 2019 (1)
- January 2019 (3)
- December 2018 (1)
Comments (6)