cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
545
Views
1
Helpful
6
Replies

Layer 3 switch routing between vlans [Packet tracer][noob]

mblackshore
Beginner
Beginner

Hello folks.
I'm trying to allow end devices to communicate between vlans.

I I'm using a Multilayer Switch 3560 24 port. And 4 computers. 2 per vlan.

Skärmavbild 09-24-23 at 07.00 AM.PNG

NAME VLAN IP
PC10_1 10 10.100.10.50 /24
PC10_2 10 10.100.10.51 /24
PC20_1 20 10.100.20.50 /24
PC20_2 20 10.100.20.51 /24

GW: 10.100.X.1

 

I have created a Virtual Switch INTERFACE, one for each VLAN.

interface Vlan10 - ip address 10.100.10.1 /24
interface Vlan20 ip address 10.100.20.1 /24

Devices can ping eachother and the virtual gateways, but not between vlan.
I assume there is a encapsulation dot1Q needed.
Which interfaces should have this?

Download Running config

 
 

 

 

2 Accepted Solutions

Accepted Solutions

Hello.

Could you please post the 3560

show run?

Communication with the GW is possible, so maybe the

ip routing

command is just missing.

View solution in original post

@cja56910tf 

I linked it at the bottom.

But I figured out what was missing.
I needed to type in the follwing in global config mode

ip routing

 

View solution in original post

6 Replies 6

Hello.

Could you please post the 3560

show run?

Communication with the GW is possible, so maybe the

ip routing

command is just missing.

@cja56910tf 

I linked it at the bottom.

But I figured out what was missing.
I needed to type in the follwing in global config mode

ip routing

 

BTW, some Cisco L3 switches have IP routing disabled by default, others Cisco L3 switches have it enabled by default.

ip routing

- missing here ?

still not working -

 show vlan, show ip routing

Also check end device have any FW ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

M02@rt37
Advocate
Advocate

Hello @mblackshore,

No need of dot1Q here.

Active routing between VLAN with

ip routing

command in switch configuration mode. 

 

Best regards
******* If This Helps, Please Rate *******
Ben

Gopinath_Pigili
Participant
Participant

Check for

ip routing

command....in Global configuration mode....

MLS(config)# ip routing

You no need to give

encapsulation dot1q vlanX

  command.....This command is required when we are doing

 inter-vlan routing

by using Router....on router each sub-interface you will be needed give that command... not for multilayer switch with SVI.

I hope the above information is useful...

Thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: